Public bug reported:

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

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/1958263

Title:
  hp-makeuri returns error on ubuntu 22.04

Status in hplip package in Ubuntu:
  New

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

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to