Truncated backtrace:
queues.py:115:parseQueues:AttributeError: 'NoneType' object has no attribute 'startswith'
Traceback (most recent call last):
File "/usr/bin/hp-diagnose_queues", line 120, in <module>
queues.main_function(passwordObj, mode,ui_toolkit, quiet_mode )
File "/usr/share/hplip/base/queues.py", line 385, in main_function
mapofDevices,status = parseQueues(mode) ^^^^^^^^^^^^^^^^^
File "/usr/share/hplip/base/queues.py", line 115, in parseQueues
if device_uri.startswith("cups-pdf:/"): ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'startswith'
Local variables in innermost frame:
mode: 1
is_hpcups_installed: True
is_hpijs_installed: False
st: 0
output: 'device for HP_LaserJet_Pro_MFP_M127fn: hp:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9G9B4P8\r\ndevice for HP_LaserJet_Pro_MFP_M127fn-JAVID: hp:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9G9B4P8\r\ndevice for HP_LaserJet_Pro_MFP_M127fn_fax: hpfax:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9G9B4P8\r\ndevice for HP_LaserJet_Pro_MFP_M127fn_fax-JAVID: hpfax:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9G9B4P8\r\n'
status: True
cups_printers: [('HP_LaserJet_Pro_MFP_M127fn', None), ('HP_LaserJet_Pro_MFP_M127fn-JAVID', None), ('HP_LaserJet_Pro_MFP_M127fn_fax', None), ('HP_LaserJet_Pro_MFP_M127fn_fax-JAVID', None)]
p: ('HP_LaserJet_Pro_MFP_M127fn', None)
match: <re.Match object; span=(11, 104), match='HP_LaserJet_Pro_MFP_M127fn_fax-JAVID: hpfax:/usb/>
printer_name: 'HP_LaserJet_Pro_MFP_M127fn'
device_uri: None
Description of problem:
Not Load xsane app
and error for the scan paper
Version-Release number of selected component: 22.10-4. fc38
hplip-3.
Additional info: 300.fc38. x86_64 hp-diagnose_ queues --gui slice/user- 1000.slice/ user@1000. service/ app.slice/ app-gnome- hplip-58280. scope py:115: parseQueues: AttributeError: 'NoneType' object has no attribute 'startswith' hp-diagnose_ queues 22.10-4. fc38 3.11.2- 1.fc38. x86_64
reporter: libreport-2.17.9
kernel: 6.2.11-
cmdline: /usr/bin/python3 /usr/bin/
cgroup: 0::/user.
uid: 1000
reason: queues.
executable: /usr/bin/
type: Python3
package: hplip-3.
runlevel: N 5
exception_type: AttributeError
crash_function: parseQueues
interpreter: python3-
Truncated backtrace: py:115: parseQueues: AttributeError: 'NoneType' object has no attribute 'startswith'
queues.
Traceback (most recent call last): hp-diagnose_ queues" , line 120, in <module> main_function( passwordObj, mode,ui_toolkit, quiet_mode ) hplip/base/ queues. py", line 385, in main_function s,status = parseQueues(mode)
^^ ^^^^^^^ ^^^^^^^ ^ hplip/base/ queues. py", line 115, in parseQueues uri.startswith( "cups-pdf: /"):
^^^^^^^ ^^^^^^^ ^^^^^^^
File "/usr/bin/
queues.
File "/usr/share/
mapofDevice
File "/usr/share/
if device_
AttributeError: 'NoneType' object has no attribute 'startswith'
Local variables in innermost frame: installed: True Pro_MFP_ M127fn: hp:/usb/ HP_LaserJet_ Pro_MFP_ M127fn? serial= CNB9G9B4P8\ r\ndevice for HP_LaserJet_ Pro_MFP_ M127fn- JAVID: hp:/usb/ HP_LaserJet_ Pro_MFP_ M127fn? serial= CNB9G9B4P8\ r\ndevice for HP_LaserJet_ Pro_MFP_ M127fn_ fax: hpfax:/ usb/HP_ LaserJet_ Pro_MFP_ M127fn? serial= CNB9G9B4P8\ r\ndevice for HP_LaserJet_ Pro_MFP_ M127fn_ fax-JAVID: hpfax:/ usb/HP_ LaserJet_ Pro_MFP_ M127fn? serial= CNB9G9B4P8\ r\n' Pro_MFP_ M127fn' , None), ('HP_LaserJet_ Pro_MFP_ M127fn- JAVID', None), ('HP_LaserJet_ Pro_MFP_ M127fn_ fax', None), ('HP_LaserJet_ Pro_MFP_ M127fn_ fax-JAVID' , None)] Pro_MFP_ M127fn' , None) HP_LaserJet_ Pro_MFP_ M127fn_ fax-JAVID: hpfax:/usb/> Pro_MFP_ M127fn'
mode: 1
is_hpcups_
is_hpijs_installed: False
st: 0
output: 'device for HP_LaserJet_
status: True
cups_printers: [('HP_LaserJet_
p: ('HP_LaserJet_
match: <re.Match object; span=(11, 104), match='
printer_name: 'HP_LaserJet_
device_uri: None