Opened 15 years ago

Closed 15 years ago

#478 closed defect (worksforme)

error with sqlite and admin

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 (last modified by Jacob)

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/", line 299, in HandlerDispatch
    result = object(req)

  File "/home/joey/django_projects/django/core/handlers/", line 164, in handler
    return ModPythonHandler()(req)

  File "/home/joey/django_projects/django/core/handlers/", line 145, in __call__
    response = middleware_method(request, response)

  File "/home/joey/django_projects/django/middleware/", line 68, in process_response + datetime.timedelta(seconds=SESSION_COOKIE_AGE))

  File "/home/joey/django_projects/django/models/", line 148, in _module_save

  File "/usr/lib/python2.4/site-packages/django/utils/", line 3, in _curried

  File "/home/joey/django_projects/django/core/meta/", line 801, in method_save
    ','.join(field_names), ','.join(placeholders)), db_values)

  File "/usr/lib/python2.4/site-packages/django/core/db/", line 10, in execute

  File "/home/joey/django_projects/django/core/db/backends/", line 67, in execute
    return Database.Cursor.execute(self, query, params)

OperationalError: SQL logic error or missing database

Change History (1)

comment:1 Changed 15 years ago by Jacob

Description: modified (diff)
Resolution: worksforme
Status: newclosed

This is a bug with your setup -- could be you don't have write access to the sqlite db -- not with Django (the sqlite backend works for me and passes all tests). Please post support requests to

Note: See TracTickets for help on using tickets.
Back to Top