Thanks for your reply.

cut down the code to the point it doesn't fire an exception and start from 
> there.
>

The problem did not exist before upgrading to web2py 2.7.4 and it was not 
the only problem I got after upgrading.

I did what you suggest before posting to the group, but since the same 
error propagated through my model files I 
thought I'd better ask the group then learning afterwards it had nothing to 
do with my code, but something that 
changed in web2py between versions.

As was the case with formstyle='bootstrap'.

I did not yet figure out why the LOAD helper no longer works, but for the 
time being web2py_component() solves this issue.

 

> ... whenever you post something you seem to miss that we can't know all 
> other table definitions (and variables) and for sure we can't do nothing to 
> help you with this level of "implicitness" :-P
>

In this case there was nothing more to add than the table definition, the 
validator definition and the traceback.

As for other posts, some time ago someone told me he could not be bothered 
reading my more explicit posts. Furthermore, explicitness
most of the time requires a better understanding of the problem, in which 
case I'd probably be able to solve it myself.

By the way, adding db. to the definition of def set_requirement(hero): 
hero.categoryID.requires=[] solved the issue: def set_requirement(hero): 
db.hero.categoryID.requires=[]


Kind regards,

Annet

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to