hp-makeuri returns error on ubuntu 22.04
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/
cups_uri, sane_uri, fax_uri = device.
File "/usr/share/
result_code, uri = hpmudext.
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
The problem is solved now after upgrading HPLIP to version 3.21.12