[Bug 1099191] [NEW] python3-dbg fails to import PyQt4

Lee Harr missive at hotmail.com
Sun Jan 13 19:36:36 UTC 2013


Public bug reported:

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: python3-defaults (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: apport (Ubuntu) => python3-defaults (Ubuntu)

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

Title:
  python3-dbg fails to import PyQt4

Status in “python3-defaults” package in Ubuntu:
  New

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1099191/+subscriptions




More information about the foundations-bugs mailing list