I am following the tutorial on the DJango site, which I previsouly did using Windows XP and everything went fine, but on Windows 7 I get the following error:
sqlite3.OperationalError: unable to open database file
I use the following:
python manage.py sql Blog
Does any one have any ideas what might be wrong. The database file is located in C:\Software\Sqlite\Databases\Blog.db
And the relative settings.py or section of is simply:
DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = 'C:\Software\Sqlite\databases\blog.db' # Or path to database file if using sqlite3.
DATABASE_USER = '' # Not used with sqlite3.
DATABASE_PASSWORD = '' # Not used with sqlite3.
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
DATABASE_PORT = '' # Set to empty string for default. Not used with
I have also for testing purposes added everyone with full permissions.
But as I say I get the following error:
sqlite3.OperationalError: unable to open database file
Any help is appreciated,
Andrew