PyKDE4 broken with Python 3.3: ImportError: No module named 'DLFCN'

Bug #1075891 reported by Martin Pitt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3.3 (Ubuntu)
Fix Released
High
Unassigned
Raring
Fix Released
High
Unassigned

Bug Description

$ python3 -c 'import PyKDE4'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/PyKDE4/__init__.py", line 1, in <module>
    import sys,DLFCN
ImportError: No module named 'DLFCN'

The DLFCN module does not exist any more in Python 3.3.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python3-pykde4 4:4.9.2-0ubuntu3
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic x86_64
ApportVersion: 2.6.2-0ubuntu1
Architecture: amd64
Date: Wed Nov 7 10:12:56 2012
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-07-12 (118 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120627)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: pykde4
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Martin Pitt (pitti) wrote :
Changed in pykde4 (Ubuntu):
importance: Undecided → High
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Possibly related to: http://bugs.python.org/issue12571
Note that python 2.7 & 3.2 do have this module.

affects: pykde4 (Ubuntu Raring) → python3.3 (Ubuntu Raring)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

$ dpkg -L libpython3.3-stdlib | grep plat-
/usr/lib/python3.3/plat-x86_64-linux-gnu
/usr/lib/python3.3/plat-x86_64-linux-gnu/IN.py

$ dpkg -L python3.2 | grep plat
/usr/lib/python3.2/distutils/command/command_template
/usr/lib/python3.2/plat-linux2
/usr/lib/python3.2/plat-linux2/TYPES.py
/usr/lib/python3.2/plat-linux2/regen
/usr/lib/python3.2/plat-linux2/CDROM.py
/usr/lib/python3.2/plat-linux2/DLFCN.py
/usr/lib/python3.2/plat-linux2/IN.py

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python3.3 - 3.3.0-3

---------------
python3.3 (3.3.0-3) experimental; urgency=low

  * Update to 20121106 from the 3.3 branch.
  * Filter-out cflags for profiled builds from _sysconfigdata.
  * Fix multiarch plat-linux installation. LP: #1075891.
  * Install _sysconfigdata.py from the shared builds. LP: #1075903.
 -- Matthias Klose <email address hidden> Wed, 07 Nov 2012 14:31:02 +0100

Changed in python3.3 (Ubuntu Raring):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.