hp-makeuri returns error on ubuntu 22.04

Bug #1958263 reported by rodride
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Under ubuntu 22.04, hp-makeuri command returns this error :

$ hp-makeuri 192.168.1.42

HP Linux Imaging and Printing System (ver. 3.21.8)
Device URI Creation Utility ver. 5.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Traceback (most recent call last):
  File "/usr/bin/hp-makeuri", line 123, in <module>
    cups_uri, sane_uri, fax_uri = device.makeURI(param, jd_port)
  File "/usr/share/hplip/base/device.py", line 346, in makeURI
    result_code, uri = hpmudext.make_net_uri(param, port)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

Revision history for this message
rodride (philippe-rodride) wrote :

The problem is solved now after upgrading HPLIP to version 3.21.12

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Thanks for the info.

I have also updated the HPLIP Printer Application Snap in the Snap Store to 3.21.12 now.

Closing ...

Changed in hplip (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.