Re: cannot setup database

2010-11-01 Thread Robbington
Silly question, but are you setting the path to your database file or to the Sqlite3 executable? Just seems an odd name to use as your database file, if using sqlite3 I would normally create a database named closely to my project name. my_project.db or something. -- You received this message

Re: cannot setup database

2010-11-01 Thread Daniel Roseman
On Nov 1, 7:24 am, sami nathan wrote: > My setting file looks like this ... > DATABASES = { >     'default': { >         'ENGINE': 'django.db.backends.sqlite3', # Add > 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. >         'NAME': >

Re: cannot setup database

2010-11-01 Thread sami nathan
My setting file looks like this # Django settings for flyp project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_em...@domain.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2',

cannot setup database

2010-11-01 Thread sami nathan
When i run the command python manage.py syncdb i got the follwing error self.connection = Database.connect(**kwargs) sqlite3.OperationalError: unable to open database file Exception exceptions.AttributeError: '_shutdown' in ignoredDATABASES = { 'default': { 'ENGINE':