Opened 19 years ago
Last modified 19 years ago
#478 closed defect
error with sqlite and admin — at Initial Version
Reported by: | anonymous | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When trying to load the admin page, it comes up with this error (I´m using sqlite):
Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
result = object(req)
File "/home/joey/django_projects/django/core/handlers/modpython.py", line 164, in handler
return ModPythonHandler()(req)
File "/home/joey/django_projects/django/core/handlers/modpython.py", line 145, in call
response = middleware_method(request, response)
File "/home/joey/django_projects/django/middleware/sessions.py", line 68, in process_response
datetime.datetime.now() + datetime.timedelta(seconds=SESSION_COOKIE_AGE))
File "/home/joey/django_projects/django/models/core.py", line 148, in _module_save
s.save()
File "/usr/lib/python2.4/site-packages/django/utils/functional.py", line 3, in _curried
File "/home/joey/django_projects/django/core/meta/init.py", line 801, in method_save
','.join(field_names), ','.join(placeholders)), db_values)
File "/usr/lib/python2.4/site-packages/django/core/db/base.py", line 10, in execute
File "/home/joey/django_projects/django/core/db/backends/sqlite3.py", line 67, in execute
return Database.Cursor.execute(self, query, params)
OperationalError: SQL logic error or missing database