[Debichem-devel] Bug#902348: pymol: fails to start with runtime error regarding Qt

Indraneel Majumdar connect_indraneel at yahoo.com
Mon Jun 25 12:12:58 BST 2018


Package: pymol
Version: 2.1.0+dfsg-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

pymol fails to start with the following error:

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/dist-packages/pymol/__init__.py", line 65, in <module>
    pymol.launch(args)
  File "/usr/lib/python2.7/dist-packages/pymol/__init__.py", line 444, in launch
    from pmg_qt import pymol_qt_gui
  File "/usr/lib/python2.7/dist-packages/pmg_qt/pymol_qt_gui.py", line 17, in <module>
    from pymol.Qt import QtGui, QtCore, QtWidgets
  File "/usr/lib/python2.7/dist-packages/pymol/Qt/__init__.py", line 34, in <module>
    from PyQt4 import QtGui, QtCore, QtOpenGL
RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap the QObject class


I am not sure what is going on. Pymol checks for Qt versions 5 and 4 
for python 2.7 in it's startup script on my system. I have both 
python-qt4 and python-pyqt5 installed on my system. Other packages 
seem to depend on one or the other.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pymol depends on:
ii  freeglut3                         2.8.1-3
ii  libc6                             2.27-3
ii  libfreetype6                      2.8.1-2
ii  libgcc1                           1:8.1.0-8
ii  libgl1                            1.0.0+git20180308-3
ii  libglew2.0                        2.0.0-6
ii  libpng16-16                       1.6.34-1
ii  libstdc++6                        8.1.0-8
ii  libxml2                           2.9.4+dfsg1-7
ii  pymol-data                        2.1.0+dfsg-2
ii  python                            2.7.15-3
ii  python-numpy [python-numpy-abi9]  1:1.14.4-1
ii  python-pmw                        1.3.2-6
ii  python-tk                         2.7.15-1

Versions of packages pymol recommends:
ii  apbs  1.4-1+b1

pymol suggests no packages.

-- no debconf information



More information about the Debichem-devel mailing list