Public bug reported:

Root cause:
HPLIP 3.23.12 crashes during firmware upload on Python 3.12:

AttributeError: module 'locale' has no attribute 'format'

File:
/usr/share/hplip/base/utils.py

Change:

return locale.format("%s", val, grouping=True)

to:

return locale.format_string("%s", val, grouping=True)

Then run:

sudo hp-plugin -i

Firmware upload completes successfully:

Firmware download successful.

After that HP LaserJet 1020 starts printing normally.

** Affects: hplip (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154562

Title:
  HP LaserJet 1020 prints "completed" but does not print on Ubuntu 24.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/2154562/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to