UnicodeDecodeError after selecting type net
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
$ hp-setup -i
HP Linux Imaging and Printing System (ver. 3.15.11)
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.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
-------
| SELECT CONNECTION (I/O) TYPE |
-------
Num Connection Description
Type
-------- ---------- -------
0* usb Universal Serial Bus (USB)
1 net Network/
2 par Parallel Port (LPT:)
Enter number 0...2 for connection type (q=quit, enter=usb*) ? 1
Using connection type: net
\Traceback (most recent call last):
File "/usr/bin/
device_uri = mod.getDeviceUr
File "/usr/share/
detected_
File "/usr/share/
x= to_string_utf8(x)
File "/usr/share/
return s.decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa1 in position 363: invalid start byte
Changed in hplip: | |
status: | New → Fix Released |
Enter number 0...2 for connection type (q=quit, enter=usb*) ? 1
Using connection type: net
hp-setup[4649]: debug: ....... (x-hp-ver= 01)(x- 001e0b5ce4e2) (x-hp-num_ po x-hp-ip= 192.168. 001.010) ( HP5CE4E1) (x-hp-p1= MFG:HP PML,DW- PCL,DESKJET, DYN; 4d,4e,1; CLS:PRINTER; DES SN:MY84GK10GT04 XK;S:0380 8cb0000041b8002 f4 44b8006448b8003 f4 Z:0102, 05000009016a810 13 01324101324! ....( ..@.5.. )(x-hp- guid=001e0b hp-setup" , line 351, in <module> i(devices = device. probeDevices( bus)) hplip/base/ device. py", line 486, in probeDevices devices = slp.detectNetwo rkDevices( ttl, timeout) hplip/base/ slp.py" , line 115, in detectNetworkDe vices hplip/base/ sixext. py", line 113, in to_string_utf8
DEVICE CHOOSER setup_fax=True, setup_print=True
hp-setup[4649]: debug: 0000: 01 07 01 a7 00 00 65 6e 00 03 00 00 00 00 01 97 28 78 2d 68 70 2d 76 65 72 3d 30 31 29 28 78 2d ......en.
hp-setup[4649]: debug: 0020: 68 70 2d 6d 61 63 3d 30 30 31 65 30 62 35 63 65 34 65 32 29 28 78 2d 68 70 2d 6e 75 6d 5f 70 6f hp-mac=
hp-setup[4649]: debug: 0040: 72 74 3d 30 31 29 28 78 2d 68 70 2d 69 70 3d 31 39 32 2e 31 36 38 2e 30 30 31 2e 30 31 30 29 28 rt=01)(
hp-setup[4649]: debug: 0060: 78 2d 68 70 2d 68 6e 3d 48 50 35 43 45 34 45 31 29 28 78 2d 68 70 2d 70 31 3d 4d 46 47 3a 48 50 x-hp-hn=
hp-setup[4649]: debug: 0080: 3b 4d 44 4c 3a 50 68 6f 74 6f 73 6d 61 72 74 20 44 37 34 30 30 20 73 65 72 69 65 73 3b 43 4d 44 ;MDL:Photosmart D7400 series;CMD
hp-setup[4649]: debug: 00a0: 3a 4d 4c 43 2c 50 43 4c 2c 50 4d 4c 2c 44 57 2d 50 43 4c 2c 44 45 53 4b 4a 45 54 2c 44 59 4e 3b :MLC,PCL,
hp-setup[4649]: debug: 00c0: 31 32 38 34 2e 34 44 4c 3a 34 64 2c 34 65 2c 31 3b 43 4c 53 3a 50 52 49 4e 54 45 52 3b 44 45 53 1284.4DL:
hp-setup[4649]: debug: 00e0: 3a 43 43 32 34 37 41 3b 53 4e 3a 4d 59 38 34 47 4b 31 30 47 54 30 34 58 4b 3b 53 3a 30 33 38 30 :CC247A;
hp-setup[4649]: debug: 0100: 30 38 43 34 38 34 30 30 31 30 32 31 30 30 37 38 63 62 30 30 30 30 30 34 31 62 38 30 30 32 66 34 08C484001021007
hp-setup[4649]: debug: 0120: 36 62 38 30 30 36 34 34 37 62 38 30 30 32 39 34 34 62 38 30 30 36 34 34 38 62 38 30 30 33 66 34 6b8006447b80029
hp-setup[4649]: debug: 0140: 35 62 38 30 30 35 38 3b 5a 3a 30 31 30 32 2c 30 35 30 30 30 30 30 39 30 31 36 61 38 31 30 31 33 5b80058;
hp-setup[4649]: debug: 0160: 32 34 31 30 31 33 32 34 31 30 31 33 32 34 31 30 31 33 32 34 31 30 31 33 32 34 21 9a bc 84 a0 28 241013241013241
hp-setup[4649]: debug: 0180: 22 c3 21 9a bc d4 ff ff fa 40 a0 35 88 a3 29 28 78 2d 68 70 2d 67 75 69 64 3d 30 30 31 65 30 62 ".!....
hp-setup[4649]: debug: 01a0: 35 63 65 34 65 31 29 5ce4e1)
Traceback (most recent call last):
File "/usr/bin/
device_uri = mod.getDeviceUr
File "/usr/share/
detected_
File "/usr/share/
x= to_string_utf8(x)
File "/usr/share/
return s.decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9a in position 363: invalid start byte