[Bug 872050] Re: python2.7-dbg unable to import non-dbg C modules

Launchpad Bug Tracker 872050 at bugs.launchpad.net
Fri Apr 6 20:40:25 UTC 2012


This bug was fixed in the package python2.7 - 2.7.3~rc2-2ubuntu1

---------------
python2.7 (2.7.3~rc2-2ubuntu1) precise; urgency=low

  * Merge with Debian; remaining changes:

python2.7 (2.7.3~rc2-2) unstable; urgency=low

  * Use xdg-open/gvfs-open in Lib/webbrowser.py (Michael Vogt).
    LP: #971311.
  * Add a paragraph about python-foo-dbg packages to README.debug.
    LP: #872050.
  * Disable some tests (no feedback from porters):
    - test_socket on hurd-i386.
    - test_io on amd64.
    - test_signal on kfreebsd-*. Closes: #654783.
    - test_threading on sparc.
  * Tighten build dependency on libexpat-dev. Closes: #665346.
  * Build-depend on db-5.1, don't care about testsuite regressions on
    some esoteric ports.  If packages rely on threaded applications or
    transactions, please use the python-bsddb3 package.
    Closes: #621374.
  * Don't ship the python2 and python2-config symlinks, move these
    to the python-minimal and python-dev packages. Closes: #663874.
  * Remove PVER-doc.doc-base.PVER-doc.in. Closes: #656763.
  * Update symbols files.
  * Avoid runtime path for the sqlite extension.
  * CVE-2011-4944, distutils creates ~/.pypirc insecurely. Closes: #650555.
  * Fix issue #14505, file descriptor leak when deallocating file objects
    created with PyFile_FromString(). Closes: #664529.
 -- Matthias Klose <doko at ubuntu.com>   Fri, 06 Apr 2012 20:54:29 +0200

** Changed in: python2.7 (Ubuntu)
       Status: New => Fix Released

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2011-4944

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/872050

Title:
  python2.7-dbg unable to import non-dbg C modules

Status in “python2.7” package in Ubuntu:
  Fix Released

Bug description:
  python2.7-dbg will attempt and fail to load non-debug C modules when
  the debug packages are not installed. For instance, I get the
  following exception when trying to import dbus:

  evan at caron:~$ python2.7-dbg
  Python 2.7.2+ (default, Oct  4 2011, 21:24:50) 
  [GCC 4.6.1] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import sys
  [39102 refs]
  >>> sys.excepthook = sys.__excepthook__
  [39102 refs]
  >>> import dbus
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/lib/python2.7/dist-packages/dbus/__init__.py", line 79, in <module>
      import dbus.types as types
    File "/usr/lib/python2.7/dist-packages/dbus/types.py", line 6, in <module>
      from _dbus_bindings import ObjectPath, ByteArray, Signature, Byte,\
  ImportError: /usr/lib/python2.7/dist-packages/_dbus_bindings.so: undefined symbol: Py_InitModule4_64
  [40053 refs]

  (I reset the excepthook because apport imports apt_pkg, which also
  triggers this issue and complicates the backtrace)

  Installing the python-dbus-dbg package works around this issue
  successfully, but there's no indication in the docs that this is
  necessary.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: python2.7-dbg 2.7.2-5ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  CheckboxSubmission: d27dbc9ce66475289526ca4b283ec487
  CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
  Date: Mon Oct 10 15:34:46 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  SourcePackage: python2.7
  UpgradeStatus: Upgraded to oneiric on 2011-09-18 (22 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/872050/+subscriptions




More information about the foundations-bugs mailing list