Skip to content

hplip(-gui), hp-systray 3.25.6 not working because of changes in python 3.14. #58157

@gc-user

Description

@gc-user

Is this a new report?

Yes

System Info

Void 6.12.60_1 x86_64 GenuineIntel notuptodate hold rrrrrmDDDDDDDDFFF

Package(s) Affected

hplip(-gui) 3.25.6_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

URLopener was removed in Python 3.14 and hplip tracebacks without it
https://bugs.launchpad.net/hplip/+bug/2115046

The bug report has a patch as a reply to it. Not sure if it works or would be considered "trustworthy" by the void devs.

Expected behaviour

hplip tray icon (hp-systray) and main window (device manager) should start and just "work".

Actual behaviour

Neither hp-systray nor hp-toolbox or hp-plugin can be started / work as expected but instead spit out an error message:

Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 41, in <module>
    from base import device, utils, tui, module, services
  File "/usr/share/hplip/base/device.py", line 2690, in <module>
    class LocalOpener(urllib_request.URLopener):
                      ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'urllib.request' has no attribute 'URLopener'

Steps to reproduce

  1. Install hplip hplip-gui or update to current version (3.25.6_1) with python 3.14 installed.
  2. Try to start hp-systray.
  3. See above error message if started from terminal to see why it won't start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-testingTesting a PR or reproducing an issue needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions