Comment 7 for bug 13347

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 28 Feb 2005 19:54:43 +0100
From: Jonas Meurer <email address hidden>
To: Robert Penz <email address hidden>, <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#297162: python-mysql is brocken

--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

severity 297162 normal
tags 297162 unreproducible
thanks
--- end of instructions for <email address hidden> ---

On 27/02/2005 Robert Penz wrote:
> Package: python-mysql
> Version: 1.1.6-1
> Severity: grave
>=20
> In sarge I get following:
>=20
> $ 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, i=
n ?
> raise ImportError, "this is MySQLdb version %s, but _mysql is version=
 %s"=20
> %\
> ImportError: this is MySQLdb version (1, 1, 6, 'final', 1), but _mysql is=
=20
> 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

--wRRV7LY7NUeQGEoC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCI2jzd6lUs+JfIQIRAoliAJsGsVYN8ZmSDM5rR92TcI/ZyUnc2gCeJaD3
Th4DSiN5DqyRIbF8tZdkQGg=
=YBsc
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--