I'm trying to re-create my SQLite database from scratch. I am now receiving the following error message from:
*(foobarr)jmarcedwards@jmelinux:~/git/django-nimbis/projects/dev$ python
./manage.py syncdb
Syncing...
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_manager(settings)
File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 438, in execute_manager
utility.execute()
File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/django/core/management/base.py",
line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/django/core/management/base.py",
line 220, in execute
output = self.handle(*args, **options)
File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/django/core/management/base.py",
line 351, in handle
return self.handle_noargs(**options)
File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/South-0.7.3-py2.7.egg/south/management/commands/syncdb.py",
line 87, in handle_noargs
db.connection_init()
File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/South-0.7.3-py2.7.egg/south/db/mysql.py",
line 38, in connection_init
cursor = self._get_connection().cursor()
File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/django/db/backends/dummy/base.py",
line 15, in complain
raise ImproperlyConfigured("You haven't set the database ENGINE
setting yet.")
django.core.exceptions.ImproperlyConfigured: You haven't set the
database ENGINE setting yet.
(foobarr)jmarcedwards@jmelinux:~/git/django-nimbis/projects/dev$ ls
celerybeat-schedule fixtures __init__.pyc manage.py
requirements.txt settings.py static urls.pyc
env.sh __init__.py local_tests.py manage.pyc
run_server.sh settings.pyc urls.py
(foobarr)jmarcedwards@jmelinux:~/git/django-nimbis/projects/dev$
*
sys.path.insert(0, PROJDIR)
sys.path.insert(0, APPSDIR)
# sqlite database for testing
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(PROJDIR, 'db.sqlite'),
}
}
SOUTH_DATABASE_ADAPTERS = {
'default': "south.db.mysql"
}
I am working from within the directory where my manage.py and
settings.py are located. It seems that perhaps my settings.py file is
not being picked up from the same directory. I'm getting the same error
inside of my Eclipse Django PyDev environment.
Are there any more direct, manual process for invoking the syncdb with
the settings.py and generating my database?
Regards, Marc
--
J. Marc Edwards
Lead Architect - Semiconductor Design Portals
Nimbis Services, Inc.
Skype: (919) 747-3775
Cell: (919) 345-1021
Fax: (919) 882-8602
[email protected]
www.nimbisservices.com
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
<<attachment: marc_edwards.vcf>>

