Bug ID 1180724
Summary hplip: hp-doctor crashes if python3-qt4 is not installed
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.2
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Printing
Assignee jsmeix@suse.com
Reporter martin.wilck@suse.com
QA Contact jsmeix@suse.com
Found By ---
Blocker ---

Created attachment 844961 [details]
PATCH: fix crash in hp-doctor

Traceback (most recent call last):
  File "/usr/bin/hp-doctor", line 297, in <module>
    num_errors, num_warns = dep.validate(DEPENDENCY_RUN_AND_COMPILE_TIME,
False)
  File "/usr/share/hplip/check.py", line 368, in validate
    self.core.dependencies[dep])
  File "/usr/share/hplip/check.py", line 210, in __update_deps_info
    installed_ver = self.core.version_func[deps_info[6]]()
  File "/usr/share/hplip/installer/dcheck.py", line 304, in get_pyQt4_version
    from PyQt4 import QtCore
ImportError: cannot import name 'QtCore'


You are receiving this mail because: