Yes it is. Looks like a Python 2 code path is being used while running with Python 3. $ hp-setup --debug HP Linux Imaging and Printing System (ver. 3.19.12) Printer/Fax Setup Utility ver. 9.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. hp-setup[18526]: debug: param= hp-setup[18526]: debug: selected_device_name=None hp-setup[18526]: debug: Using PyQt5 hp-setup[18526]: debug: Sys.argv=['/usr/bin/hp-setup', '--debug'] printer_name=None param= jd_port=1 device_uri=None remove=False hp-setup[18526]: debug: Starting GUI Event Loop... Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp) hp-setup[18526]: debug: 0000: 01 07 01 ec 00 00 65 6e 00 03 df 4c 00 00 01 dc 28 78 2d 68 70 2d 76 65 72 3d 30 31 29 28 78 2d ......en...L....(x-hp-ver=01)(x- hp-setup[18526]: debug: 0020: 68 70 2d 70 72 6f 64 5f 69 64 3d 54 36 42 38 32 41 29 28 78 2d 68 70 2d 6d 61 63 3d 39 30 33 32 hp-prod_id=T6B82A)(x-hp-mac=9032 hp-setup[18526]: debug: 0040: 34 42 42 32 35 35 31 44 29 28 78 2d 68 70 2d 67 75 69 64 3d 31 30 36 32 45 35 41 42 35 42 46 39 4BB2551D)(x-hp-guid=1062E5AB5BF9 hp-setup[18526]: debug: 0060: 29 28 78 2d 68 70 2d 6e 75 6d 5f 70 6f 72 74 3d 30 31 29 28 78 2d 68 70 2d 69 70 3d 31 39 32 2e )(x-hp-num_port=01)(x-hp-ip=192. hp-setup[18526]: debug: 0080: 31 36 38 2e 30 30 30 2e 30 32 35 29 28 78 2d 68 70 2d 68 6e 3d 4e 50 49 41 42 35 42 46 39 29 28 168.000.025)(x-hp-hn=NPIAB5BF9)( hp-setup[18526]: debug: 00a0: 78 2d 68 70 2d 70 31 3d 4d 46 47 3a 48 50 3b 43 4d 44 3a 50 4a 4c 2c 50 4d 4c 2c 50 43 4c 58 4c x-hp-p1=MFG:HP;CMD:PJL,PML,PCLXL hp-setup[18526]: debug: 00c0: 2c 50 57 47 5f 52 41 53 54 45 52 2c 55 52 50 2c 50 43 4c 2c 50 44 46 2c 50 4f 53 54 53 43 52 49 ,PWG_RASTER,URP,PCL,PDF,POSTSCRI hp-setup[18526]: debug: 00e0: 50 54 3b 4d 44 4c 3a 48 50 20 43 6f 6c 6f 72 4c 61 73 65 72 4a 65 74 20 4d 46 50 20 4d 32 37 38 PT;MDL:HP ColorLaserJet MFP M278 hp-setup[18526]: debug: 0100: 2d 4d 32 38 31 3b 43 4c 53 3a 50 52 49 4e 54 45 52 3b 44 45 53 3a 48 50 20 43 6f 6c 6f 72 20 4c -M281;CLS:PRINTER;DES:HP Color L hp-setup[18526]: debug: 0120: 61 73 65 72 4a 65 74 20 4d 46 50 20 4d 32 38 31 66 64 77 3b 4d 45 4d 3a 4d 45 4d 3d 32 31 33 4d aserJet MFP M281fdw;MEM:MEM=213M hp-setup[18526]: debug: 0140: 42 3b 50 52 4e 3a 54 36 42 38 32 41 3b 43 4f 4d 4d 45 4e 54 3a 52 45 53 3d 36 30 30 78 38 3b 4c B;PRN:T6B82A;COMMENT:RES=600x8;L hp-setup[18526]: debug: 0160: 45 44 4d 44 49 53 3a 55 53 42 23 66 66 23 30 34 23 30 31 3b 43 49 44 3a 48 50 4c 4a 50 44 4c 56 EDMDIS:USB#ff#04#01;CID:HPLJPDLV hp-setup[18526]: debug: 0180: 31 3b 49 50 50 2d 45 3a 46 46 2d 30 34 2d 30 31 2c 46 46 2d 30 34 2d 30 31 2c 46 46 2d 30 39 2d 1;IPP-E:FF-04-01,FF-04-01,FF-09- hp-setup[18526]: debug: 01a0: 30 31 2c 46 46 2d 30 39 2d 30 31 3b 65 53 43 4c 3a 46 46 2d 30 34 2d 30 31 2c 46 46 2d 30 34 2d 01,FF-09-01;eSCL:FF-04-01,FF-04- hp-setup[18526]: debug: 01c0: 30 31 2c 46 46 2d 30 39 2d 30 31 2c 46 46 2d 30 39 2d 30 31 3b 4d 43 54 3a 4d 46 3b 4d 43 4c 3a 01,FF-09-01,FF-09-01;MCT:MF;MCL: hp-setup[18526]: debug: 01e0: 44 4c 3b 4d 43 56 3a 32 2e 30 3b 29 DL;MCV:2.0;) hp-setup[18526]: debug: Found device: {'num_devices': 1, 'num_ports': 1, 'product_id': 'T6B82A', 'status_code': 0, 'device2': '0', 'device3': '0', 'note': '', 'device1': 'MFG:HP;CMD:PJL,PML,PCLXL,PWG_RASTER,URP,PCL,PDF,POSTSCRIPT;MDL:HP ColorLaserJet MFP M278-M281;CLS:PRINTER;DES:HP Color LaserJet MFP M281fdw;MEM:MEM=213MB;PRN:T6B82A;COMMENT:RES=600x8;LEDMDIS:USB#ff#04#01;CID:HPLJPDLV1;IPP-E:FF-04-01,FF-04-01,FF-09-01,FF-09-01;eSCL:FF-04-01,FF-04-01,FF-09-01,FF-09-01;MCT:MF;MCL:DL;MCV:2.0;', 'mac': '90324BB2551D', 'ip': '192.168.000.025', 'hn': 'NPIAB5BF9'} hp-setup[18526]: debug: Cache miss: hp_colorlaserjet_mfp_m278-m281 hp-setup[18526]: debug: Reading file: /usr/share/hplip/data/models/models.dat hp-setup[18526]: debug: Searching for section [hp_colorlaserjet_mfp_m278-m281] in file /usr/share/hplip/data/models/models.dat hp-setup[18526]: debug: Found section [hp_colorlaserjet_mfp_m278-m281] in file /usr/share/hplip/data/models/models.dat hp-setup[18526]: debug: Unable to open file /var/lib/hp/hplip.state for reading. hp-setup[18526]: debug: Exception: 4 (Unknown/invalid device-uri field) hp-setup[18526]: debug: {} hp-setup[18526]: debug: Exception: 4 (Unknown/invalid device-uri field) hp-setup[18526]: debug: HP_ColorLaserJet_MFP_M278-M281 hp-setup[18526]: debug: (CUPS 1.2.x) Getting list of PPDs using CUPS_GET_PPDS... hp-setup[18526]: debug: CUPS PPD base path = /usr/share/cups/model hp-setup[18526]: debug: Foomatic PPD base path = /usr/share/ppd/hplip hp-setup[18526]: debug: Matching PPD list to model color_laserjet_mfp_m278-m281... hp-setup[18526]: debug: [] hp-setup[18526]: debug: No PPD found for model color_laserjet_mfp_m278-m281 using new algorithm. Trying old algorithm... hp-setup[18526]: debug: 1st stage edit distance match hp-setup[18526]: debug: Determining edit distance from color_laserjet_mfp_m278-m281 (only showing edit distances < 4)... hp-setup[18526]: debug: dist('color_laserjet_mfp_m178-m181') = 2 hp-setup[18526]: debug: dist('color_laserjet_mfp_m278-m281') = 0 hp-setup[18526]: debug: Min. dist = 0 hp-setup[18526]: debug: {'postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_mfp_m278-m281-ps.ppd': 'HP ColorLaserJet MFP M278-M281 Postscript (recommended)'} hp-setup[18526]: debug: [('postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_mfp_m278-m281-ps.ppd', 'HP ColorLaserJet MFP M278-M281 Postscript (recommended)')] hp-setup[18526]: debug: Found match: postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_mfp_m278-m281-ps.ppd hp-setup[18526]: debug: [('postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_mfp_m278-m281-ps.ppd', ['m281', 'ps'])] hp-setup[18526]: debug: One match found. hp-setup[18526]: debug: Exception: 4 (Unknown/invalid device-uri field) hp-setup[18526]: debug: {} hp-setup[18526]: debug: Exception: 4 (Unknown/invalid device-uri field) hp-setup[18526]: debug: Searching for fax PPD for model hp_colorlaserjet_mfp_m278-m281 hpcups_build =1 hp-setup[18526]: debug: ppds=['/usr/share/ppd/hplip/HP/HP-Fax4-hpcups.ppd.gz', '/usr/share/ppd/hplip/HP/HP-Fax2-hpcups.ppd.gz', '/usr/share/ppd/hplip/HP/HP-Fax-hpcups.ppd.gz', '/usr/share/ppd/hplip/HP/HP-Fax3-hpcups.ppd.gz'] hp-setup[18526]: debug: Found fax PPD: /usr/share/ppd/hplip/HP/HP-Fax-hpcups.ppd.gz hp-setup[18526]: debug: fax-type=1 Traceback (most recent call last): File "/usr/share/hplip/ui5/setupdialog.py", line 1304, in NextButton_clicked self.showAddPrinterPage() File "/usr/share/hplip/ui5/setupdialog.py", line 728, in showAddPrinterPage self.readwriteFaxInformation() File "/usr/share/hplip/ui5/setupdialog.py", line 1128, 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 960, in printable return s.translate(identity, unprintable) TypeError: translate() takes exactly one argument (2 given) hp-setup[18526]: debug: Unable to open file /var/lib/hp/hplip.state for reading. hp-setup[18526]: debug: Exception: 4 (Unknown/invalid device-uri field) hp-setup[18526]: debug: {} hp-setup[18526]: debug: Exception: 4 (Unknown/invalid device-uri field) hp-setup[18526]: debug: HP_ColorLaserJet_MFP_M278-M281 hp-setup[18526]: debug: (CUPS 1.2.x) Getting list of PPDs using CUPS_GET_PPDS... hp-setup[18526]: debug: CUPS PPD base path = /usr/share/cups/model hp-setup[18526]: debug: Foomatic PPD base path = /usr/share/ppd/hplip hp-setup[18526]: debug: Matching PPD list to model color_laserjet_mfp_m278-m281... hp-setup[18526]: debug: [] hp-setup[18526]: debug: No PPD found for model color_laserjet_mfp_m278-m281 using new algorithm. Trying old algorithm... hp-setup[18526]: debug: 1st stage edit distance match hp-setup[18526]: debug: Determining edit distance from color_laserjet_mfp_m278-m281 (only showing edit distances < 4)... hp-setup[18526]: debug: dist('color_laserjet_mfp_m178-m181') = 2 hp-setup[18526]: debug: dist('color_laserjet_mfp_m278-m281') = 0 hp-setup[18526]: debug: Min. dist = 0 hp-setup[18526]: debug: {'postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_mfp_m278-m281-ps.ppd': 'HP ColorLaserJet MFP M278-M281 Postscript (recommended)'} hp-setup[18526]: debug: [('postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_mfp_m278-m281-ps.ppd', 'HP ColorLaserJet MFP M278-M281 Postscript (recommended)')] hp-setup[18526]: debug: Found match: postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_mfp_m278-m281-ps.ppd hp-setup[18526]: debug: [('postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_mfp_m278-m281-ps.ppd', ['m281', 'ps'])] hp-setup[18526]: debug: One match found. hp-setup[18526]: debug: Exception: 4 (Unknown/invalid device-uri field) hp-setup[18526]: debug: {} hp-setup[18526]: debug: Exception: 4 (Unknown/invalid device-uri field) hp-setup[18526]: debug: Searching for fax PPD for model hp_colorlaserjet_mfp_m278-m281 hpcups_build =1 hp-setup[18526]: debug: ppds=['/usr/share/ppd/hplip/HP/HP-Fax4-hpcups.ppd.gz', '/usr/share/ppd/hplip/HP/HP-Fax2-hpcups.ppd.gz', '/usr/share/ppd/hplip/HP/HP-Fax-hpcups.ppd.gz', '/usr/share/ppd/hplip/HP/HP-Fax3-hpcups.ppd.gz'] hp-setup[18526]: debug: Found fax PPD: /usr/share/ppd/hplip/HP/HP-Fax-hpcups.ppd.gz hp-setup[18526]: debug: fax-type=1 Traceback (most recent call last): File "/usr/share/hplip/ui5/setupdialog.py", line 1304, in NextButton_clicked self.showAddPrinterPage() File "/usr/share/hplip/ui5/setupdialog.py", line 728, in showAddPrinterPage self.readwriteFaxInformation() File "/usr/share/hplip/ui5/setupdialog.py", line 1128, 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 960, in printable return s.translate(identity, unprintable) TypeError: translate() takes exactly one argument (2 given)