Hope this helps.
- Ostap
On Sat, Sep 10, 2011 at 6:15 PM, Ostap Cherkashin <os...@bandilab.org> wrote:
> It looks like on line 24 of data/tag.b there is a function declaration which takes more than 64 primitive parameters. You can increase this number in config.h (MAX_ATTRS), but don't forget to rerun the tests to see if everything works fine (./ctl pack && ./ctl test). As the source code is received over the network from transaction manager (it is the same approach for standalone and distributed mode), the error message says net:line.number:error.message, instead of the actual file name, which could be a bit confusing.
This is how I fixed it:
-fn related(_obj: string): Object {
- t1 := taggings select(obj == _obj);
+fn related(o: Object): Object {
+ t1 := taggings * o project(obj);
t2 := taggings - t1;
What I find weird is that it works in other machines, but not in that
particular one. The function received one primitive parameter, and now
I changed it to receive an object instead. My original reasoning was
that using a primitive parameter plus select would be better style.
are you using bandicoot built from a master branch? There is a bug which could cause this problem and it is fixed in another, in progress, branch called 'processor'. I'd appreciate if you could try to build bandicoot from the 'processor' branch and see whether the program with the primitive parameter works or not.
hi,
are you using bandicoot built from a master branch? There is a bug which could cause this problem and it is fixed in another, in progress, branch called 'processor'. I'd appreciate if you could try to build bandicoot from the 'processor' branch and see whether the program with the primitive parameter works or not.