Traceback (most recent call last):
  File "C:\Bin\web2py\gluon\restricted.py", line 188, in restricted
    exec ccode in environment
  File "C:/Bin/web2py/applications/eden/models/02_pr.py", line 316, in
<module>
    requires = IS_NULL_OR(IS_IN_DB(db, "pr_person.id",
shn_pr_person_represent)),
  File "C:\Bin\web2py\gluon\validators.py", line 383, in __init__
    fields =[str(f) for f in self.dbset._db[ktable]]
AttributeError: 'Set' object has no attribute '_db'

I know this isn't documented in the book:
http://web2py.com/book/default/chapter/07#Database-Validators

But it did work before & there is this branch in the code which now
fails...

Cheers,
Fran.

Reply via email to