Re: Newbie error: sqlite3.OperationalError: unable to open database file

2007-10-21 Thread Hugh Bien
For your DATABASE_NAME, try using an absolute path without the tilde (~) shortcut, that might solve it: DATABASE_NAME = '/home/ssk/Projects/mysites/mysite/mysite.db' On 10/21/07, SSK <[EMAIL PROTECTED]> wrote: > > > I'm trying to get started with Django, but I've hit a hurdle with > database. > >

Re: Newbie error: sqlite3.OperationalError: unable to open database file

2007-10-21 Thread James Bennett
On 10/21/07, SSK <[EMAIL PROTECTED]> wrote: > Hmm. Changing ~/... to /Users/Myname/... solved the problem. Django does not expand shell abbreviations or variables, like "~" or "$HOME", when opening files. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~-

Re: Newbie error: sqlite3.OperationalError: unable to open database file

2007-10-21 Thread SSK
Hmm. Changing ~/... to /Users/Myname/... solved the problem. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscrib

Newbie error: sqlite3.OperationalError: unable to open database file

2007-10-21 Thread SSK
I'm trying to get started with Django, but I've hit a hurdle with database. I have a very basic configuration: Python 2.5, Django (SVN), built-in server, SQLite3 db. My settings.py has this: DATABASE_ENGINE = 'sqlite3' DATABASE_NAME = '~/Projects/mysites/mysite/mysite.db' When I run syncdb, I g