Version-Release number of selected component: hplip-3.23.5-2.fc39 Additional info: reporter: libreport-2.17.11 kernel: 6.5.0-0.rc0.20230706gitc17414a273b8.12.fc39.x86_64+debug cmdline: /usr/bin/python3 -B /usr/lib/cups/backend/hpfax cgroup: 0::/system.slice/cups.service uid: 0 reason: g.py:131:read:AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? executable: /usr/lib/cups/backend/hpfax type: Python3 package: hplip-3.23.5-2.fc39 runlevel: unknown exception_type: AttributeError crash_function: read interpreter: python3-3.12.0~b3-2.fc39.x86_64 Truncated backtrace: g.py:131:read:AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? Traceback (most recent call last): File "/usr/lib/cups/backend/hpfax", line 86, in <module> from base.g import * File "/usr/share/hplip/base/g.py", line 240, in <module> sys_conf = SysConfig() ^^^^^^^^^^^ File "/usr/share/hplip/base/g.py", line 185, in __init__ ConfigBase.__init__(self, '/etc/hp/hplip.conf') File "/usr/share/hplip/base/g.py", line 90, in __init__ self.read() File "/usr/share/hplip/base/g.py", line 131, in read self.conf.readfp(fp) ^^^^^^^^^^^^^^^^ AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? Local variables in innermost frame: self: <base.g.SysConfig object at 0x7f25b4057cb0> filename: '/etc/hp/hplip.conf' fp: <_io.TextIOWrapper name='/etc/hp/hplip.conf' mode='r' encoding='UTF-8'>
Created attachment 1974583 [details] File: os_info
Created attachment 1974584 [details] File: environ
Created attachment 1974585 [details] File: mountinfo
Created attachment 1974586 [details] File: open_fds
Created attachment 1974587 [details] File: namespaces
Created attachment 1974588 [details] File: backtrace
Created attachment 1974589 [details] File: cpuinfo
Created attachment 1975628 [details] Proposed patch The readfp is removed from configparser module, so we need to use 'read_file'.
Fixed in rawhide https://bodhi.fedoraproject.org/updates/FEDORA-2023-077b459bc2 .