Re: python manage.py syncdb error: sqlite3.OperationalError: unable to open database file

2009-10-20 Thread David Paccoud
Hi Selena, To avoid this problem and make your app relocable, you should not use hard coded paths. Here's what I use on my projects: from os import path rel = lambda *x: path.join(path.abspath(path.dirname(__file__)), *x) DATABASE_NAME = rel('dev.db') MEDIA_ROOT = rel('media') TEMPLATE_DIRS = (

Re: python manage.py syncdb error: sqlite3.OperationalError: unable to open database file

2009-10-19 Thread selena
hello everyone i apologize for being so quick on asking for help, before i double checked my paths and local settings - which i thought i did but i have just realized that i had the old computer's name SSAVIC in the database_name path - and that was the only reason this was not working! thank

Re: python manage.py syncdb error: sqlite3.OperationalError: unable to open database file

2009-10-19 Thread selena
sure, here it is: # Django settings for mysite project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ('selena', 'idealnig...@gmail.com' # ('Your Name', 'your_em...@domain.com'), ) MANAGERS = ADMINS DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqli

Re: python manage.py syncdb error: sqlite3.OperationalError: unable to open database file

2009-10-18 Thread Ovnicraft
2009/10/18 selena > > Hello > hey michael > I have been experiencing this problem since I installed my brand new > Ubuntu Karmic with python in version 2.6 The project I am working on > was working under python2.5 in my old Gentoo and still works (at least > the python manage.py syncdb command do

python manage.py syncdb error: sqlite3.OperationalError: unable to open database file

2009-10-18 Thread selena
Hello hey michael I have been experiencing this problem since I installed my brand new Ubuntu Karmic with python in version 2.6 The project I am working on was working under python2.5 in my old Gentoo and still works (at least the python manage.py syncdb command does) on a server which is also run