You are not logged in.
Pages: 1
I am trying to set up my printer after a fresh installation. In my previous installation everything worked fine.
Now when I am doing sudo hp-setup -i I get this:
/usr/bin/hp-setup:82: SyntaxWarning: invalid escape sequence '\*'
("To specify the port on a multi-port JetDirect:", "--port=<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<typelist> or --type=<typelist>. <typelist>: print*, fax\* (\*default) (-i mode only)", "option", False),
Traceback (most recent call last):
File "/usr/bin/hp-setup", line 47, 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'?
Anyone got idea how to fix this?
hp-check
gives the same output.
Last edited by b42 (2024-05-02 16:40:41)
Offline
Probably somewhat related to https://bbs.archlinux.org/viewtopic.php?id=295282 - python 3.12 issue.
Is your printer https://wiki.archlinux.org/title/CUPS#A … Everywhere compatible?
Otherwise configure it from http://localhost:631 - or fix up HPs script for them… the error there looks like same cause as https://bbs.archlinux.org/viewtopic.php?id=295288
Offline
seems like it has been fixed with the new hplip version.
Offline
b42, how'd you get past this? I'm all up-to-date, and just removed, rebooted, then re-installed hplip 1:3.23.12-6, still getting this SyntaxWarning...
Offline
Pages: 1