[Bug 1099191] [NEW] python3-dbg fails to import PyQt4
Launchpad Bug Tracker
1099191 at bugs.launchpad.net
Mon Jan 14 14:55:29 UTC 2013
You have been subscribed to a public bug:
On Ubuntu 12.04
The standard python3 imports PyQt4 with no problems:
$ python3
Python 3.2.3 (default, Oct 19 2012, 19:53:57)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt4
>>> import PyQt4.QtCore
>>>
However, python3-dbg fails with the same process:
$ python3-dbg
Python 3.2.3 (default, Oct 19 2012, 19:58:54)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt4
[60315 refs]
>>> import PyQt4.QtCore
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named QtCore
[150988 refs]
>>>
There is also a python3-pyqt4-dbg package which also does not import
properly.
First, the package has no __init__.py file.
Once that is added:
$ python3
Python 3.2.3 (default, Oct 19 2012, 19:53:57)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.insert(0, '/usr/lib/debug/usr/lib/python3/dist-packages/')
>>> import PyQt4
>>> PyQt4.__file__
'/usr/lib/debug/usr/lib/python3/dist-packages/PyQt4/__init__.py'
>>> import PyQt4.QtCore
Segmentation fault (core dumped)
(It segfaults trying the same steps with python3-dbg also)
** Affects: python-qt4 (Ubuntu)
Importance: Undecided
Status: New
--
python3-dbg fails to import PyQt4
https://bugs.launchpad.net/bugs/1099191
You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to python-qt4 in Ubuntu.
More information about the kubuntu-bugs
mailing list