Using 1.75.4, a newly created app fails to start in shell mode (-M -N -
S) with:
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2010
Version 1.75.4 (2010-02-18 14:55:03)
Database drivers available: pysqlite2, MSSQL/DB2
Traceback (most recent call last):
File "C:\web2py\hg\gluon\restricted.py", line 173, in restricted
exec ccode in environment
File "applications\test2\models/db.py", line 15, in <module>
db = DAL('sqlite://storage.sqlite') # if not, use SQLite or
other DB
File "C:\web2py\hg\gluon\sql.py", line 3769, in DAL
db_codec=db_codec, check_reserved=check_reserved)
File "C:\web2py\hg\gluon\sql.py", line 889, in __init__
self._pool_connection(lambda : sqlite3.Connection(dbpath,
File "C:\web2py\hg\gluon\sql.py", line 829, in _pool_connection
self._connection = f()
File "C:\web2py\hg\gluon\sql.py", line 890, in <lambda>
check_same_thread=False))
OperationalError: unable to open database file
until you use appadmin on it.
This did not happen in 1.75.1 AFAIK.
--
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.