On Sun, Feb 20, 2011 at 12:00:42PM -0800, Felipe AP spake:
> None of my web2py apps are working anymore. I'm getting this error.
> What can I do about it? Please answer. Thanks!
>
> Traceback (most recent call last):
> File "/home/felipe/web2py/gluon/restricted.py", line 188, in
> restricted
> exec ccode in environment
> File "/home/felipe/web2py/applications/welcome/models/db.py", line
> 16, in <module>
> db = DAL('sqlite://storage.sqlite') # if not, use SQLite or
> other DB
> File "/home/felipe/web2py/gluon/dal.py", line 3357, in __init__
> raise RuntimeError, "Failure to connect, tried 5 times:\n%s" %
> error
> RuntimeError: Failure to connect, tried 5 times:
> global name 'sqlite3' is not defined
What operating system are you on?
what's the output of "which -a python"