FEDORA-2018-fe5c004d86 created by zdohnal 3 years ago for Fedora 28
unpushed

3.18.5

This update has been submitted for testing by zdohnal.

3 years ago

The printer is initially recognized in hp-setup, but unfortunately hp-setup has problems to read or display the FAX setup later when attempting to add the corresponding queue.

This is the debug-output and the python traceback:

[felfert@floh ~]$ hp-setup --debug

HP Linux Imaging and Printing System (ver. 3.18.5) Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 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[9357]: debug: param= hp-setup[9357]: debug: selected_device_name=None hp-setup[9357]: debug: Using PyQt5 hp-setup[9357]: debug: Sys.argv=['/usr/bin/hp-setup', '--debug'] printer_name=None param= jd_port=1 device_uri=None remove=False libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast No XVisualInfo for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(SingleBuffer), swapInterval 1, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile QSurfaceFormat::OpenGLContextProfile(NoProfile)) Falling back to using screens root_visual. hp-setup[9357]: debug: Starting GUI Event Loop... Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp) hp-setup[9357]: debug: 0000: 01 07 01 e9 00 00 65 6e 00 03 6b 2c 00 00 01 d9 28 78 2d 68 70 2d 76 65 72 3d 30 31 29 28 78 2d ......en..k,....(x-hp-ver=01)(x- hp-setup[9357]: 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 34 38 42 41 hp-prod_id=T6B82A)(x-hp-mac=48BA hp-setup[9357]: debug: 0040: 34 45 33 34 41 33 38 36 29 28 78 2d 68 70 2d 67 75 69 64 3d 34 38 42 41 34 45 33 34 41 33 38 36 4E34A386)(x-hp-guid=48BA4E34A386 hp-setup[9357]: 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[9357]: debug: 0080: 31 36 38 2e 30 30 32 2e 30 32 39 29 28 78 2d 68 70 2d 68 6e 3d 68 70 6d 32 38 31 29 28 78 2d 68 168.002.029)(x-hp-hn=hpm281)(x-h hp-setup[9357]: debug: 00a0: 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 2c 50 57 p-p1=MFG:HP;CMD:PJL,PML,PCLXL,PW hp-setup[9357]: debug: 00c0: 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 50 54 3b G_RASTER,URP,PCL,PDF,POSTSCRIPT; hp-setup[9357]: debug: 00e0: 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 2d 4d 32 MDL:HP ColorLaserJet MFP M278-M2 hp-setup[9357]: debug: 0100: 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 61 73 65 81;CLS:PRINTER;DES:HP Color Lase hp-setup[9357]: debug: 0120: 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 42 3b 50 rJet MFP M281fdw;MEM:MEM=213MB;P hp-setup[9357]: debug: 0140: 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 45 44 4d RN:T6B82A;COMMENT:RES=600x8;LEDM hp-setup[9357]: debug: 0160: 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 31 3b 49 DIS:USB#ff#04#01;CID:HPLJPDLV1;I hp-setup[9357]: debug: 0180: 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 30 31 2c PP-E:FF-04-01,FF-04-01,FF-09-01, hp-setup[9357]: debug: 01a0: 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 30 31 2c FF-09-01;eSCL:FF-04-01,FF-04-01, hp-setup[9357]: debug: 01c0: 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 44 4c 3b FF-09-01,FF-09-01;MCT:MF;MCL:DL; hp-setup[9357]: debug: 01e0: 4d 43 56 3a 32 2e 30 3b 29 MCV:2.0;) hp-setup[9357]: 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': '48BA4E34A386', 'ip': '192.168.002.029', 'hn': 'hpm281'} hp-setup[9357]: debug: Cache miss: hp_colorlaserjet_mfp_m278-m281 hp-setup[9357]: debug: Reading file: /usr/share/hplip/data/models/models.dat hp-setup[9357]: debug: Searching for section [hp_colorlaserjet_mfp_m278-m281] in file /usr/share/hplip/data/models/models.dat hp-setup[9357]: debug: Found section [hp_colorlaserjet_mfp_m278-m281] in file /usr/share/hplip/data/models/models.dat hp-setup[9357]: debug: {} hp-setup[9357]: debug: HP_ColorLaserJet_MFP_M278-M281 hp-setup[9357]: debug: (CUPS 1.2.x) Getting list of PPDs using CUPS_GET_PPDS... hp-setup[9357]: debug: CUPS PPD base path = /usr/share/cups/model hp-setup[9357]: debug: Foomatic PPD base path = /usr/share/ppd hp-setup[9357]: debug: Matching PPD list to model color_laserjet_mfp_m278-m281... hp-setup[9357]: debug: [] hp-setup[9357]: debug: No PPD found for model color_laserjet_mfp_m278-m281 using new algorithm. Trying old algorithm... hp-setup[9357]: debug: 1st stage edit distance match hp-setup[9357]: debug: Determining edit distance from color_laserjet_mfp_m278-m281 (only showing edit distances < 4)... hp-setup[9357]: debug: Min. dist = 9 hp-setup[9357]: debug: {'drv:///hp/hpijs.drv/hp-laserjet_mfp_m28-m31-hpijs.ppd': 'HP LaserJet MFP m28-m31 hpijs, 3.18.5', 'drv:///hp/hpcups.drv/hp-laserjet_mfp_m28-m31.ppd': 'HP LaserJet MFP m28-m31, hpcups 3.18.5'} hp-setup[9357]: debug: 2nd stage matching with model number hp-setup[9357]: debug: model_number=278 hp-setup[9357]: debug: Factor = 1 hp-setup[9357]: debug: mins_model_number= 28 hp-setup[9357]: debug: mins_adj_model_number=28 hp-setup[9357]: debug: adj_model_number=278 hp-setup[9357]: debug: hp-setup[9357]: debug: mins_model_number= 28 hp-setup[9357]: debug: mins_adj_model_number=28 hp-setup[9357]: debug: adj_model_number=278 hp-setup[9357]: debug: hp-setup[9357]: debug: Factor = 10 hp-setup[9357]: debug: mins_model_number= 28 hp-setup[9357]: debug: mins_adj_model_number=20 hp-setup[9357]: debug: adj_model_number=270 hp-setup[9357]: debug: hp-setup[9357]: debug: mins_model_number= 28 hp-setup[9357]: debug: mins_adj_model_number=20 hp-setup[9357]: debug: adj_model_number=270 hp-setup[9357]: debug: hp-setup[9357]: debug: Factor = 100 hp-setup[9357]: debug: mins_model_number= 28 hp-setup[9357]: debug: mins_adj_model_number=0 hp-setup[9357]: debug: adj_model_number=200 hp-setup[9357]: debug: hp-setup[9357]: debug: mins_model_number= 28 hp-setup[9357]: debug: mins_adj_model_number=0 hp-setup[9357]: debug: adj_model_number=200 hp-setup[9357]: debug: hp-setup[9357]: debug: [('drv:///hp/hpijs.drv/hp-laserjet_mfp_m28-m31-hpijs.ppd', 'HP LaserJet MFP m28-m31 hpijs, 3.18.5'), ('drv:///hp/hpcups.drv/hp-laserjet_mfp_m28-m31.ppd', 'HP LaserJet MFP m28-m31, hpcups 3.18.5')] hp-setup[9357]: debug: Found match: drv:///hp/hpijs.drv/hp-laserjet_mfp_m28-m31-hpijs.ppd hp-setup[9357]: debug: Found match: drv:///hp/hpcups.drv/hp-laserjet_mfp_m28-m31.ppd hp-setup[9357]: debug: [('drv:///hp/hpijs.drv/hp-laserjet_mfp_m28-m31-hpijs.ppd', ['m31']), ('drv:///hp/hpcups.drv/hp-laserjet_mfp_m28-m31.ppd', ['m31'])] hp-setup[9357]: debug: 2 matches found. Searching based on PDL: Host > PS,PDF > PCL/Other hp-setup[9357]: debug: Selecting '-m31' PPD: drv:///hp/hpijs.drv/hp-laserjet_mfp_m28-m31-hpijs.ppd hp-setup[9357]: debug: {} hp-setup[9357]: debug: Searching for fax PPD for model hp_colorlaserjet_mfp_m278-m281 hpcups_build =1 hp-setup[9357]: debug: ppds=['/usr/share/ppd/HP/HP-Fax-hpijs.ppd.gz', '/usr/share/ppd/HP/HP-Fax4-hpijs.ppd.gz', '/usr/share/ppd/HP/HP-Fax4-hpcups.ppd.gz', '/usr/share/ppd/HP/HP-Fax-hpcups.ppd.gz', '/usr/share/ppd/HP/HP-Fax2-hpcups.ppd.gz', '/usr/share/ppd/HP/HP-Fax2-hpijs.ppd.gz', '/usr/share/ppd/HP/HP-Fax3-hpcups.ppd.gz', '/usr/share/ppd/HP/HP-Fax3-hpijs.ppd.gz'] hp-setup[9357]: debug: Found fax PPD: /usr/share/ppd/HP/HP-Fax-hpcups.ppd.gz hp-setup[9357]: debug: fax-type=1 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 146, in getPhoneNum data = utils.printable(self.getPML(pml.OID_FAX_LOCAL_PHONE_NUM)[1]) File "/usr/share/hplip/base/utils.py", line 965, in printable return s.translate(identity, unprintable) TypeError: translate() takes exactly one argument (2 given) hp-setup[9357]: debug: {} hp-setup[9357]: debug: HP_ColorLaserJet_MFP_M278-M281 hp-setup[9357]: debug: (CUPS 1.2.x) Getting list of PPDs using CUPS_GET_PPDS... hp-setup[9357]: debug: CUPS PPD base path = /usr/share/cups/model hp-setup[9357]: debug: Foomatic PPD base path = /usr/share/ppd hp-setup[9357]: debug: Matching PPD list to model color_laserjet_mfp_m278-m281... hp-setup[9357]: debug: [] hp-setup[9357]: debug: No PPD found for model color_laserjet_mfp_m278-m281 using new algorithm. Trying old algorithm... hp-setup[9357]: debug: 1st stage edit distance match hp-setup[9357]: debug: Determining edit distance from color_laserjet_mfp_m278-m281 (only showing edit distances < 4)... hp-setup[9357]: debug: Min. dist = 9 hp-setup[9357]: debug: {'drv:///hp/hpijs.drv/hp-laserjet_mfp_m28-m31-hpijs.ppd': 'HP LaserJet MFP m28-m31 hpijs, 3.18.5', 'drv:///hp/hpcups.drv/hp-laserjet_mfp_m28-m31.ppd': 'HP LaserJet MFP m28-m31, hpcups 3.18.5'} hp-setup[9357]: debug: 2nd stage matching with model number hp-setup[9357]: debug: model_number=278 hp-setup[9357]: debug: Factor = 1 hp-setup[9357]: debug: mins_model_number= 28 hp-setup[9357]: debug: mins_adj_model_number=28 hp-setup[9357]: debug: adj_model_number=278 hp-setup[9357]: debug: hp-setup[9357]: debug: mins_model_number= 28 hp-setup[9357]: debug: mins_adj_model_number=28 hp-setup[9357]: debug: adj_model_number=278 hp-setup[9357]: debug: hp-setup[9357]: debug: Factor = 10 hp-setup[9357]: debug: mins_model_number= 28 hp-setup[9357]: debug: mins_adj_model_number=20 hp-setup[9357]: debug: adj_model_number=270 hp-setup[9357]: debug: hp-setup[9357]: debug: mins_model_number= 28 hp-setup[9357]: debug: mins_adj_model_number=20 hp-setup[9357]: debug: adj_model_number=270 hp-setup[9357]: debug: hp-setup[9357]: debug: Factor = 100 hp-setup[9357]: debug: mins_model_number= 28 hp-setup[9357]: debug: mins_adj_model_number=0 hp-setup[9357]: debug: adj_model_number=200 hp-setup[9357]: debug: hp-setup[9357]: debug: mins_model_number= 28 hp-setup[9357]: debug: mins_adj_model_number=0 hp-setup[9357]: debug: adj_model_number=200 hp-setup[9357]: debug: hp-setup[9357]: debug: [('drv:///hp/hpijs.drv/hp-laserjet_mfp_m28-m31-hpijs.ppd', 'HP LaserJet MFP m28-m31 hpijs, 3.18.5'), ('drv:///hp/hpcups.drv/hp-laserjet_mfp_m28-m31.ppd', 'HP LaserJet MFP m28-m31, hpcups 3.18.5')] hp-setup[9357]: debug: Found match: drv:///hp/hpijs.drv/hp-laserjet_mfp_m28-m31-hpijs.ppd hp-setup[9357]: debug: Found match: drv:///hp/hpcups.drv/hp-laserjet_mfp_m28-m31.ppd hp-setup[9357]: debug: [('drv:///hp/hpijs.drv/hp-laserjet_mfp_m28-m31-hpijs.ppd', ['m31']), ('drv:///hp/hpcups.drv/hp-laserjet_mfp_m28-m31.ppd', ['m31'])] hp-setup[9357]: debug: 2 matches found. Searching based on PDL: Host > PS,PDF > PCL/Other hp-setup[9357]: debug: Selecting '-m31' PPD: drv:///hp/hpijs.drv/hp-laserjet_mfp_m28-m31-hpijs.ppd hp-setup[9357]: debug: {} hp-setup[9357]: debug: Searching for fax PPD for model hp_colorlaserjet_mfp_m278-m281 hpcups_build =1 hp-setup[9357]: debug: ppds=['/usr/share/ppd/HP/HP-Fax-hpijs.ppd.gz', '/usr/share/ppd/HP/HP-Fax4-hpijs.ppd.gz', '/usr/share/ppd/HP/HP-Fax4-hpcups.ppd.gz', '/usr/share/ppd/HP/HP-Fax-hpcups.ppd.gz', '/usr/share/ppd/HP/HP-Fax2-hpcups.ppd.gz', '/usr/share/ppd/HP/HP-Fax2-hpijs.ppd.gz', '/usr/share/ppd/HP/HP-Fax3-hpcups.ppd.gz', '/usr/share/ppd/HP/HP-Fax3-hpijs.ppd.gz'] hp-setup[9357]: debug: Found fax PPD: /usr/share/ppd/HP/HP-Fax-hpcups.ppd.gz hp-setup[9357]: debug: fax-type=1 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 146, in getPhoneNum data = utils.printable(self.getPML(pml.OID_FAX_LOCAL_PHONE_NUM)[1]) File "/usr/share/hplip/base/utils.py", line 965, in printable return s.translate(identity, unprintable) TypeError: translate() takes exactly one argument (2 given) Aborted (core dumped)

Hmm the debug output gets formatted unreadable by bodhi's html. Shall I open a new bug for this?

Already found the relevant "bug" :-)


Please login to add feedback.

Metadata
Type
bugfix
Karma
0
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Dates
submitted
3 years ago
BZ#1571782 hplip-3.18.6 is available
0
0

Automated Test Results