[Debian-pan-maintainers] Bug#1051216: reportbug: mantis-xray GUI fails start on error 'PyQt5.QtGui' has no attribute 'QGraphicsScene'
Emmanuel FARHI
emmanuel.farhi at synchrotron-soleil.fr
Mon Sep 4 16:30:00 BST 2023
Package: mantis-xray
Version: 3.0.11-4
Severity: important
X-Debbugs-Cc: emmanuel.farhi at synchrotron-soleil.fr
Dear Maintainer,
* What led up to the situation?
Launch 'mantis-xray' GUI fails
* What was the outcome of this action?
An error is displayed in the terminal:
>> AttributeError: module 'PyQt5.QtGui' has no attribute 'QGraphicsScene'
$ mantis-xray
Loading file plugin: file_bim . Not a valid plugin - skipping.
Loading file plugin: file_csv . (text spectrum) Success!
Loading file plugin: file_dataexch_hdf5 . (Exchange) Success!
Loading file plugin: file_json . (JSON) Success!
Loading file plugin: file_ncb . (Ncb) Success!
Loading file plugin: file_nexus_hdf5 . (NXstxm) Success!
Loading file plugin: file_sdf . (SDF) Success!
Loading file plugin: file_sm_netcdf . Not a valid plugin - skipping.
Loading file plugin: file_stk . (STK) Success!
Loading file plugin: file_tif . (Tiff) Success!
Loading file plugin: file_xrm . (XRM) Success!
Traceback (most recent call last):
File "/usr/bin/mantis-xray", line 33, in <module>
sys.exit(load_entry_point('mantis-xray==3.0.11', 'gui_scripts', 'mantis-
xray')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/mantis-xray", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/mantis_xray/mantis_qt.py", line 10528,
in <module>
class ShowHistogram(QtWidgets.QDialog, QtGui.QGraphicsScene):
^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'PyQt5.QtGui' has no attribute 'QGraphicsScene'
* What outcome did you expect instead?
GUI should have started.
* Potential solution
Perhaps an upstream update to current v3.1.13 would bring a fix. See
https://pypi.org/project/mantis-xray/#history
-- System Information:
Debian Release: 12.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-11-amd64 (SMP w/256 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mantis-xray depends on:
ii python3 3.11.2-1+b1
ii python3-h5py-serial 3.7.0-8
ii python3-lxml 4.9.2-1+b1
ii python3-matplotlib 3.6.3-1+b1
ii python3-numpy 1:1.24.2-1
ii python3-pil 9.4.0-1.1+b1
ii python3-pyqt5 5.15.9+dfsg-1
ii python3-pyqtgraph 0.13.2-1
ii python3-scipy 1.10.1-2
mantis-xray recommends no packages.
mantis-xray suggests no packages.
-- no debconf information
More information about the Debian-pan-maintainers
mailing list