the 'hp-setup --debug' command ends with trackback:
Traceback (most recent call last):
File "/usr/share/hplip/ui5/setupdialog.py", line 1305, 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 1128, in readwriteFaxInformation
self.fax_number = to_unicode(d.getPhoneNum())
File "/usr/share/hplip/fax/pmlfax.py", line 147, in getPhoneNum
return data.decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'
Only if I revert both changes - these in fax/pmlfax.py and base/utils.py - I get past the tracebacks.
Without reverting this change:
####### ####### ####### ####### ####### # identity, unprintable) ####### ####### ####### ####### #
+ if s:
+ return s.translate(
+ else:
+ return ""
#######
back to:
####### ####### ####### ####### ####### # identity, unprintable) ####### ####### ####### ####### #
return s.translate(
#######
the 'hp-setup --debug' command ends with trackback:
Traceback (most recent call last): hplip/ui5/ setupdialog. py", line 1305, in NextButton_clicked showAddPrinterP age() hplip/ui5/ setupdialog. py", line 729, in showAddPrinterPage readwriteFaxInf ormation( ) hplip/ui5/ setupdialog. py", line 1128, in readwriteFaxInf ormation d.getPhoneNum( )) hplip/fax/ pmlfax. py", line 147, in getPhoneNum 'utf-8' )
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.fax_number = to_unicode(
File "/usr/share/
return data.decode(
AttributeError: 'str' object has no attribute 'decode'
Only if I revert both changes - these in fax/pmlfax.py and base/utils.py - I get past the tracebacks.