Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#73156 - hplip needs more downstream patches for the python version used in arch
Attached to Project:
Arch Linux
Opened by Sergio Callegari (callegar) - Saturday, 25 December 2021, 21:05 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 21 May 2022, 19:06 GMT
Opened by Sergio Callegari (callegar) - Saturday, 25 December 2021, 21:05 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 21 May 2022, 19:06 GMT
|
DetailsDescription:
hp-setup is broken as shipped with arch/manjaro and needs more downstream patching to accomodate for the python version against which it is run in arch. Additional info: * package version(s) 1:3.21.10-1 Steps to reproduce: Run hp-setup Once you have selected a printer, hp-setup crashes with the following backtrace: Traceback (most recent call last): File "/usr/share/hplip/ui5/setupdialog.py", line 1348, in NextButton_clicked self.showAddPrinterPage() File "/usr/share/hplip/ui5/setupdialog.py", line 729, in showAddPrinterPage self.readwriteFaxInformation() File "/usr/share/hplip/ui5/setupdialog.py", line 1172, in readwriteFaxInformation self.fax_name_company = to_unicode(d.getStationName()) File "/usr/share/hplip/fax/pmlfax.py", line 158, in getStationName data = utils.printable(self.getPML(pml.OID_FAX_STATION_NAME)[1]) File "/usr/share/hplip/base/utils.py", line 958, in printable return s.translate(identity, unprintable) TypeError: str.translate() takes exactly one argument (2 given) Aborted (core dumped) This is because utils.py needs more porting to python 3. It is my understanding that arch already does python3 patching for hplip. If this is the case, utils.py should also be patched for the present issue. |
This task depends upon
Comment by Sergio Callegari (callegar) -
Saturday, 25 December 2021, 21:52 GMT
Just noticed there is a new version. Bug is still present in hplip 1:3.21.12-1
Comment by Andreas Radke (AndyRTR) -
Friday, 11 February 2022, 20:24 GMT
Feel free to file an upstream bug: https://bugs.launchpad.net/hplip