I had a clean install of Ubuntu 11.04 + Python 2.7.1 running web2py and it was working fine. Then I installed Python 2.5.6 by source, tried visiting http://127.0.0.1:8000/ and I get the following errors via Terminal: DEBUG_c: Exception (<type 'exceptions.Exception'>, AttributeError("'NoneType' object has no attribute 'PARSE_DECLTYPES'",))
This is printed 5 times (I guess it tries the connect 5 times). In the admin interface through ticket system, I see the following: TRACEBACK: Traceback (most recent call last): File "/home/pyg/web2py/gluon/restricted.py", line 194, in restricted exec ccode in environment File "/home/pyg/web2py/applications/examples/models/db.py", line 18, in <module> db = DAL('sqlite://storage.sqlite') File "/home/pyg/web2py/gluon/dal.py", line 4156, in __init__ raise RuntimeError, "Failure to connect, tried %d times:\n%s" % (attempts, error) RuntimeError: Failure to connect, tried 5 times: 'NoneType' object has no attribute 'PARSE_DECLTYPES' In file: /home/pyg/web2py/applications/examples/models/db.py I'm completely new to web2py (and still a relative newbie to Linux), so I'm not exactly sure what the problem could be. Of course, I did a quick google, but turned up nothing useful. The only thing related to PARSE_DECLTYPES was another post in this exact usergroup, but it was a completely different issue. Thanks for any potential insight anyone can provide :)!