Hello, I'm using Django 1.2.4, with sqlite 3.7.4, and python 2.6.6.
I'm on Windows XP at work, and using cygwin for command line. My path
for Python is set through Windows' environment variables.
I'm getting this error everytime I do ./manage.py syncdb
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_manager(settings)
File "C:\devel\Python26\lib\site-packages\django\core\management
\__init__.py",
line 438, in execute_manager
utility.execute()
File "C:\devel\Python26\lib\site-packages\django\core\management
\__init__.py",
line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\devel\Python26\lib\site-packages\django\core\management
\base.py", lin
e 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "C:\devel\Python26\lib\site-packages\django\core\management
\base.py", lin
e 220, in execute
output = self.handle(*args, **options)
File "C:\devel\Python26\lib\site-packages\django\core\management
\base.py", lin
e 351, in handle
return self.handle_noargs(**options)
File "C:\devel\Python26\lib\site-packages\django\core\management
\commands\sync
db.py", line 52, in handle_noargs
cursor = connection.cursor()
File "C:\devel\Python26\lib\site-packages\django\db\backends
\__init__.py", lin
e 77, in cursor
cursor = self._cursor()
File "C:\devel\Python26\lib\site-packages\django\db\backends
\sqlite3\base.py",
line 195, in _cursor
self.connection = Database.connect(**kwargs)
sqlite3.OperationalError: unable to open database file
My current file path for the database file in local_settings.py is '/
data/ppoc.db' and at the moment i set that directory to allow full
access for all users and groups.
I honestly don't have any more clues why it's giving me this error.
And the only thing I can think of messing with is my paths for Python
and such. But I don't see how that would make any difference.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users