Hello,
I renamed the application folder and started web2py again
I can do admin ok, but CRUD examples stop to work :/
not sure if this is due to renaming..
http://127.0.0.1:8000/CodeByExample/default/data/tables
shows empty window :/
I recall it showed me nice tables some time earlier..
http://127.0.0.1:8000/CodeByExample/default/data/select/Examples
I get Error
Traceback (most recent call last):
File "/home/www/web2py/gluon/restricted.py", line 98, in restricted
exec ccode in environment
File "/home/www/web2py/applications/CodeByExample/controllers/
default.py", line 18, in <module>
File "/home/www/web2py/gluon/globals.py", line 75, in <lambda>
self._caller = lambda f: f()
File "/home/www/web2py/applications/CodeByExample/controllers/
default.py", line 13, in data
def data(): return dict(form=crud())
File "/home/www/web2py/gluon/tools.py", line 1341, in __call__
redirect (self.settings.auth.settings.on_failed_authorization)
File "/home/www/web2py/gluon/http.py", line 88, in redirect
location = location.replace('\r', '%0D').replace('\n', '%0A')
AttributeError: 'NoneType' object has no attribute 'replace'
after I surround the place of error with try/except print str(e), I
get error again
http://files.akl.lt/users/jurgis/etc/web2py-weirderror.html
You can find the app (this is just first steps) for download
http://files.akl.lt/users/jurgis/etc/web2py.app.CodeByExample.tar