TypeError: translate() takes exactly one argument (2 given)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
I try to add a new printer HP ColorLaserJet MFP M281.
hp-setup terminates with the following error:
Found device: hp:/net/
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.fax_number = to_unicode(
File "/usr/share/
data = utils.printable
File "/usr/share/
return s.translate(
TypeError: translate() takes exactly one argument (2 given)
Abgebrochen (Speicherabzug geschrieben)
HPLIP 3.19.12
Python 3.8.1
ArchLinux
Same with:
HPLIP 3.19.6
Python 3.7.5
Ubuntu 19.10