hplip: hp-check error in line 630 since last update
Hello,
someone else has the problem with hp-check since last update?
$ hp-check
/usr/bin/hp-check:630: SyntaxWarning: invalid escape sequence '\s'
lsusb_pat =
re.compile("""^Bus\s([0-9a-fA-F]{3,3})\sDevice\s([0-9a-fA-F]{3,3}):\sID\s([0-9a-fA-F]{4,4}):([0-9a-fA-F]{4,4})(.*)""",
re.IGNORECASE)
Traceback (most recent call last):
File "/usr/bin/hp-check", line 38, in <module>
from base.g import *
File "/usr/share/hplip/base/g.py", line 239, in <module>
sys_conf = SysConfig()
^^^^^^^^^^^
File "/usr/share/hplip/base/g.py", line 184, in __init__
ConfigBase.__init__(self, '/etc/hp/hplip.conf')
File "/usr/share/hplip/base/g.py", line 89, in __init__
self.read()
File "/usr/share/hplip/base/g.py", line 130, in read
self.conf.readfp(fp)
^^^^^^^^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean:
'read'?
I opened a bug report but didn't get an answer.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076210
Someone has a workaround?
Thanks!
Bye
Reply to: