Re: ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1 But I HAVE 1.2.2!

2009-03-16 Thread Theme Park Photo, LLC

Thanks, Malcolm! The problem was an old django. I was setting up a new
machine, and I didn't realize that easy_install put an old django on
my machine. When I downloaded the latest 1.0.2 trunk and installed it,
the problem went away

On Mar 15, 9:12 pm, Malcolm Tredinnick 
wrote:
> On Sun, 2009-03-15 at 21:08 -0700, Theme Park Photo, LLC wrote:
> > I'm getting this message when trying to start Django (from mod_python)
>
> > (From my apache log)
>
> > [Sun Mar 15 22:07:28 2009] [error] [client 67.188.95.50] PythonHandler
> > django.core.handlers.modpython: ImproperlyConfigured: MySQLdb-1.2.1p2
> > or newer is required; you have 1.2.1
>
> > BUT! I have 1.2.2 installed, see:
>
> > bash-3.1$ python manage.py shell
> > Python 2.4.4 (#1, Oct 23 2006, 13:58:00)
> > [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > (InteractiveConsole)
> > >>> import MySQLdb
> > >>> print MySQLdb
> >  > MySQL_python-1.2.2-py2.4-linux-i686.egg/MySQLdb/__init__.py'>
>
> What does MySQLdb.version_info say? That's what Django is looking at,
> not the name of the package.
>
> Also, what version of Django are you using?
>
> Regards,
> Malcolm
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1 But I HAVE 1.2.2!

2009-03-15 Thread Malcolm Tredinnick

On Sun, 2009-03-15 at 21:08 -0700, Theme Park Photo, LLC wrote:
> I'm getting this message when trying to start Django (from mod_python)
> 
> 
> (From my apache log)
> 
> [Sun Mar 15 22:07:28 2009] [error] [client 67.188.95.50] PythonHandler
> django.core.handlers.modpython: ImproperlyConfigured: MySQLdb-1.2.1p2
> or newer is required; you have 1.2.1
> 
> 
> BUT! I have 1.2.2 installed, see:
> 
> bash-3.1$ python manage.py shell
> Python 2.4.4 (#1, Oct 23 2006, 13:58:00)
> [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> (InteractiveConsole)
> >>> import MySQLdb
> >>> print MySQLdb
>  MySQL_python-1.2.2-py2.4-linux-i686.egg/MySQLdb/__init__.py'>

What does MySQLdb.version_info say? That's what Django is looking at,
not the name of the package.

Also, what version of Django are you using?

Regards,
Malcolm



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1 But I HAVE 1.2.2!

2009-03-15 Thread Theme Park Photo, LLC

I'm getting this message when trying to start Django (from mod_python)


(From my apache log)

[Sun Mar 15 22:07:28 2009] [error] [client 67.188.95.50] PythonHandler
django.core.handlers.modpython: ImproperlyConfigured: MySQLdb-1.2.1p2
or newer is required; you have 1.2.1


BUT! I have 1.2.2 installed, see:

bash-3.1$ python manage.py shell
Python 2.4.4 (#1, Oct 23 2006, 13:58:00)
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import MySQLdb
>>> print MySQLdb



There's only one python installed on this machine, so it can't be that
mod_python is picking up a different python...

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---