Closed issue by slender100 on void-packages repository https://github.com/void-linux/void-packages/issues/46684 Description: ### Is this a new report? Yes ### System Info Void 6.5.7_1 x86_64 AuthenticAMD uptodate rFF ### Package(s) Affected hplip-3.23.3_3 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? No ### Expected behaviour hplip is supposed to function properly with commands like `hp-setup` or `hp-doctor`, as well as other applications that depend on it, i.e hplip-gui. ### Actual behaviour Any command outputs with this error: ```py slender@slender ~]$ hp-setup /usr/bin/hp-setup:82: SyntaxWarning: invalid escape sequence '\*' ("To specify the port on a multi-port JetDirect:", "--port= (Valid values are 1\*, 2, and 3. \*default)", "option", False), /usr/bin/hp-setup:86: SyntaxWarning: invalid escape sequence '\*' ("Type of queue(s) to install:", "-t or --type=. : print*, fax\* (\*default) (-i mode only)", "option", False) Traceback (most recent call last): File "/usr/bin/hp-setup", line 47, in from base.g import * File "/usr/share/hplip/base/g.py", line 240, in 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'? ``` ### Steps to reproduce 1. Install hp-lip with `sudo xbps-install -Suv hplip`. 2. Run any hplip command like `hp-setup`, for example. 3. Confirm that the same error happens with the one shown in this report.