On Nov 4, 2009, at 4:01 AM, joker wrote:

>
> i update python 2.5.2 to 2.6 and setup changed directory
> /usr/lib/python2.5 to /usr/local/lib/python2.5/

That doesn't look right.  If you installed 2.6, the new directories  
should have 2.6 in them, not 2.5 and so should your tracebacks.

S



> and django doesnt working now
>
> Traceback (most recent call last):
>
>  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
> 1537, in HandlerDispatch
>
>  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
> 1229, in _process_target
>
>  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
> 1128, in _execute_target
>
>  File "/usr/local/lib/python2.5/site-packages/django/core/handlers/
> modpython.py", line 228, in handler
>    return ModPythonHandler()(req)
>
>  File "/usr/local/lib/python2.5/site-packages/django/core/handlers/
> modpython.py", line 191, in __call__
>    self.load_middleware()
>
>  File "/usr/local/lib/python2.5/site-packages/django/core/handlers/
> base.py", line 42, in load_middleware
>    raise exceptions.ImproperlyConfigured, 'Error importing middleware
> %s: "%s"' % (mw_module, e)
>
> ImproperlyConfigured: Error importing middleware
> django.contrib.flatpages.middleware: "No module named mysql.base"
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to