The following errror when use occurs when DAL with Sqlite (no problems
with postgres):
Traceback (most recent call last):
File "/usr/home/jose/w2p/gluon/restricted.py", line 173, in
restricted
exec ccode in environment
File "/usr/home/jose/w2p/applications/prueba/views/appadmin.html",
line 90, in <module>
{{=T("record")}} {{=A('%s=%s'%request.vars.items()[0],_href=URL
(r=request,f='update',args=request.args[:2],vars=request.vars))}}
TypeError: 'NoneType' object is unsubscriptable
happens even though I have not defined anything in the model.
comment line
auth.define_tables()
it works, however, to define a table, occurs again.
this happens after you have upgraded W2P a few days ago.
Regards,
Jose
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.