Bug#473584: UserWarning: Module _mysql was already imported
mentors.debian.net owner
haas at debian.org
Mon Mar 31 13:52:32 UTC 2008
Package: python-zopeinterface
Version: 3.3.1-5
Severity: important
Bear with me if this package is not the cause of this problem. I'm not sure either.
I have a Python application that ran well on Etch but gives me a warning on Lenny.
In ipython it was simple to reproduce:
In [1]: import MySQLdb
In [2]: import twisted.internet.reactor as reactor
/usr/lib/python2.4/site-packages/zope/__init__.py:19: UserWarning: Module _mysql was already imported from /var/lib/python-support/python2.4/_mysql.so, but
/var/lib/python-support/python2.4 is being added to sys.path
import pkg_resources
If I switch the import order then everything is well.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-ovz028stab039.1-smp (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-zopeinterface depends on:
ii libc6 2.7-6 GNU C Library: Shared libraries
ii python 2.4.4-6 An interactive high-level object-o
ii python-central 0.6.1 register and build utility for Pyt
python-zopeinterface recommends no packages.
-- no debconf information
More information about the pkg-zope-developers
mailing list