I'm setting up a django site on the production server and ran into a
MySQLdb problem. The server is cycling through a series of error
messages:

1) ImproperlyConfigured: Error loading MySQLdb module: No module named
MySQLdb

2) ImproperlyConfigured: Error loading MySQLdb module: bad local file
header in /usr/local/lib/python2.5/site-packages/MySQL_python-1.2.2-
py2.5-linux-i686.egg

3) ExtractionError: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the
Python egg
cache:

  [Errno 13] Permission denied: '/root/.python-eggs'

The Python egg cache directory is currently set to:

  /root/.python-eggs

Perhaps your account does not have write access to this directory?
You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.

4) the "It worked! Congratulations on your first Django-powered page."

This cycling happens just by refreshing the same page, making NO
changes to the server at all. It's always in the same order. The first
2 text errors change after just 1 refresh, the last one takes 3 or 4
and the "It worked" message takes a bit longer before going back to
error 1.
I svn'ed the application into the appropriate directory, with urls.py,
etc., so I shouldn't be getting the "It worked" message at all.
I recently installed MySQLdb, and it installed setuptools
automatically.

Usiing trunk on Red Hat 4.1.2-14
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to