Your message dated Wed, 17 Jul 2024 13:59:38 +0200
with message-id <7f44b249-44b0-40e6-9d9c-074c7856d...@gmx.de>
and subject line Re: Bug#1076210: Info received (Bug#1076210: hplip: hp-check 
error in line 630 since last update)
has caused the Debian Bug report #1076210,
regarding hplip: hp-check error in line 630 since last update
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1076210: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076210
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: hplip
Version: 3.22.10+dfsg0-5+b1
Severity: important
Tags: upstream
X-Debbugs-Cc: d.schroe...@gmx.de

Dear Maintainer,

since the last update hp-check produce an error (and my HP1020 printer is not
working anymore):
$ 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'?

From
https://bbs.archlinux.org/viewtopic.php?id=295303
it should be fixed in hplip 1:3.23.12-5 (on arch linux).
Can you upgrade hplip to version 3.12.12 (or higher)?

Thanks!

Bye


-- Package-specific info:
/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'?

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.8-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hplip depends on:
ii  adduser                    3.137
ii  cups                       2.4.10-1
ii  hplip-data                 3.22.10+dfsg0-5
ii  libc6                      2.38-14
ii  libcups2t64                2.4.10-1
ii  libdbus-1-3                1.14.10-4+b1
ii  libhpmud0                  3.22.10+dfsg0-5+b1
ii  libpython3.12t64           3.12.4-1
ii  libsane-hpaio              3.22.10+dfsg0-5+b1
ii  libsane1                   1.3.0-1
ii  lsb-base                   11.6
ii  printer-driver-hpcups      3.22.10+dfsg0-5+b1
ii  python3                    3.12.3-1
ii  python3-dbus               1.3.2-5+b2
ii  python3-gi                 3.48.2-1
ii  python3-pexpect            4.9-2
ii  python3-pil                10.4.0-1
ii  python3-reportlab          4.2.2-1
ii  sysvinit-utils [lsb-base]  3.09-2
ii  wget                       1.24.5-1
ii  xz-utils                   5.6.2-2

Versions of packages hplip recommends:
ii  avahi-daemon                  0.8-13+b2
ii  pkexec                        124-3
ii  polkitd                       124-3
ii  printer-driver-postscript-hp  3.22.10+dfsg0-5+b1
ii  sane-utils                    1.3.0-1

Versions of packages hplip suggests:
pn  hplip-doc              <none>
pn  hplip-gui              <none>
pn  python3-notify2        <none>
pn  system-config-printer  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Looks like a duplicated of
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075760

Going to close this bug report....

--- End Message ---

Reply via email to