severity 297162 normal
tags 297162 unreproducible
thanks
--- end of instructions for [EMAIL PROTECTED] ---

On 27/02/2005 Robert Penz wrote:
> Package: python-mysql
> Version: 1.1.6-1
> Severity: grave
> 
> In sarge I get following:
> 
> $ python
> Python 2.3.5 (#2, Feb  9 2005, 00:38:15)
> [GCC 3.3.5 (Debian 1:3.3.5-8)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import MySQLdb
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python2.3/site-packages/MySQLdb/__init__.py", line 31, in ?
>     raise ImportError, "this is MySQLdb version %s, but _mysql is version %s" 
> %\
> ImportError: this is MySQLdb version (1, 1, 6, 'final', 1), but _mysql is 
> version (0, 9, 2, 'final', 1)
> >>>

hello robert,

your bug is kind of strange, as i'm not able to reproduce it in any way.
on an up-to-date sarge box, with fresh installed python2.3 and
python2.3-mysqldb:

$ python
Python 2.3.5 (#2, Feb  9 2005, 00:38:15)
[GCC 3.3.5 (Debian 1:3.3.5-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
>>> help(MySQLdb.connection.close)
Help on method_descriptor:

close(...)
    Close the connection. No further activity possible.

>>>

as you can see, for me the import of MySQLdb works quite fine.
i've also checked twice that the python2.*-mysqldb packages install
the _mysql.so file into the corresponding python site-packages
directory.

so all i can imagine is a messed up python environment on your box,
maybe a manually overwritten _mysql.so file or whatever ...

could you check whether you're able to reproduce the bug on other
systems, with same python and python-mysqldb installed?

i don't see a bug here, thus i've downgraded it to severity normal.
feel free to reincrease the severity if you're able to reproduce the bug
on other systems.

bye
 jonas

Attachment: signature.asc
Description: Digital signature

Reply via email to