#14138: Apache setup using sqlite3 breaks when performing a field__regex filter
--------------------------------------------------------+-------------------
Reporter: eternicode | Owner:
nobody
Status: closed | Milestone:
Component: Database layer (models, ORM) | Version: 1.2
Resolution: worksforme | Keywords:
sqlite3 apache operationalerror databaseerror regex
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 |
--------------------------------------------------------+-------------------
Comment (by Sashan <anedvedicky@…>):
So here we have a final summary. There were actually two problems with my
set up.
The ImportError was caused by some deficiencies in wscgi module. I've
fixed by
using excellent blog entry [http://blog.dscpl.com.au/2010/03/improved-
wsgi-script-for-use-with.html] by Graham Dumpleton.
The problem with import of re module in _sqlite_regexp() has been fixed by
following
steps discussed here:
http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Multiple_Python_Sub_Interpreters
adding a directive:
{{{
WSGIApplicationGroup %{GLOBAL}
}}}
saved my day.
so I think it's not a problem of Django, not a problem of debian, it's
just changes in wscgi module.
also the python bindings for sqlite are not needed, since sqlite3 comes by
default since python2.5.
I'm running 2.6.
--
Ticket URL: <http://code.djangoproject.com/ticket/14138#comment:6>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en.