When a new app is created in shell mode the databases folder is missing, which causes it to fail with the following:
web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2010 Version 1.89.1 (2010-11-12 15:14:36) Database drivers available: SQLite3 Traceback (most recent call last): File "C:\w2p\web2py_1.89.1_src\gluon\restricted.py", line 188, in restricted exec ccode in environment File "applications\test\models/db.py", line 15, in <module> db = DAL('sqlite://storage.sqlite') # if not, use SQLite or other DB File "C:\w2p\web2py_1.89.1_src\gluon\sql.py", line 4051, in DAL raise RuntimeError, "%s (tried 5 times)" % exception RuntimeError: unable to open database file (tried 5 times) As you can see this happens with the latest release (1.89.1) but it is not a problem with this release since it also fails in 1.88.2 or even 1.83.1 as reported by Bruno in http://groups.google.com/group/web2py/msg/df4e2ade0383f3f9 I am running from source in Windows XP but Bruno reported it using Ubuntu. Running it as web2py.py -P -S newapp as suggested by mr.freeze in http://groups.google.com/group/web2py/msg/8d369683e24001ee only masks the problem since the error does not occur but the databases folder is still missing, at least for me. Denes.