Package: hplip
Version: 3.26.4+dfsg0-2+b1
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,
I did apt-update and apt-upgrade then installed hplip and hplip-data.
I then, at a non-root command prompt, typed:
hp-setup

the response was:
--- cut here---
error: Unable to locate models.dat file
Traceback (most recent call last):
  File "/usr/bin/hp-setup", line 48, in <module>
    from base import device, utils, tui, models, module, services, os_utils
  File "/usr/share/hplip/base/device.py", line 2691, in <module>
    class LocalOpener(urllib_request.URLopener):
                      ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'urllib.request' has no attribute 'URLopener'

---cut here,end of output------

-- Package-specific info:

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.3+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
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.157
ii  cups                       2.4.18-1
ii  hplip-data                 3.26.4+dfsg0-2
ii  libc6                      2.42-17
ii  libcups2t64                2.4.18-1
ii  libdbus-1-3                1.16.2-5+b1
ii  libhpmud0                  3.26.4+dfsg0-2+b1
ii  libjpeg62-turbo            1:3.1.3-4
ii  libpython3.14              3.14.6-1
ii  libsane-hpaio              3.26.4+dfsg0-2+b1
ii  libsane1                   1.4.0-1+b1
ii  libstdc++6                 16.1.0-2
ii  printer-driver-hpcups      3.26.4+dfsg0-2+b1
ii  python3                    3.14.6-1
ii  python3-dbus               1.4.0-1+b1
ii  python3-gi                 3.56.2-1
ii  python3-pexpect            4.9-5
ii  python3-pil                12.2.0-1
ii  python3-reportlab          4.4.10-1
ii  sysvinit-utils [lsb-base]  3.18-1
ii  wget                       1.25.0-2
ii  xz-utils                   5.8.3-1

Versions of packages hplip recommends:
ii  avahi-daemon                  0.8-18
ii  pkexec                        127-3
ii  polkitd                       127-3
ii  printer-driver-postscript-hp  3.26.4+dfsg0-2+b1
ii  sane-utils                    1.4.0-1+b1

Versions of packages hplip suggests:
pn  hplip-doc              <none>
pn  hplip-gui              <none>
ii  python3-notify2        0.3.1-3
ii  system-config-printer  1.5.18-5

-- no debconf information

Reply via email to