On windows in command prompt, running latest version of web2py
When on any directory other than web2py\applications\<appname>\databases,
this works fine:
db = gluon.DAL('sqlite://storage.sqlite') and creates a new database or
connects to an existing database.
When I go db =
gluon.DAL('sqlite://storage.sqlite',folder='c:\web2py\applications\<appname>\databases")
it is finding the SQLite database, but throwing:
OperationalError: unable to open database file which is suggesting to me it
does not have permission to read the file. I am an administrator on the pc
and can connect to the DB fine in web2py or SQLite browser.
Any suggestions?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.