Bug 1096939 - [abrt] hplip: avahi.py:64:detectNetworkDevices:ValueError: need more than 1 value to unpack
Summary: [abrt] hplip: avahi.py:64:detectNetworkDevices:ValueError: need more than 1 v...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:c6b7ae13265050e12510e280aeb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-12 18:08 UTC by James Wilson Harshaw IV
Modified: 2014-06-26 02:00 UTC (History)
3 users (show)

Fixed In Version: hplip-3.14.6-2.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-26 02:00:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.48 KB, text/plain)
2014-05-12 18:08 UTC, James Wilson Harshaw IV
no flags Details
File: environ (3.23 KB, text/plain)
2014-05-12 18:08 UTC, James Wilson Harshaw IV
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1318956 0 None None None Never

Description James Wilson Harshaw IV 2014-05-12 18:08:40 UTC
Description of problem:
Set discovery method in hp-toolbox to Avahi

Version-Release number of selected component:
hplip-3.13.11-4.fc20

Additional info:
reporter:       libreport-2.2.2
cmdline:        /usr/bin/python /usr/bin/hp-setup -u
dso_list:       hplip-gui-3.13.11-4.fc20.x86_64
executable:     /usr/bin/hp-setup
kernel:         3.11.10-301.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
avahi.py:64:detectNetworkDevices:ValueError: need more than 1 value to unpack

Traceback (most recent call last):
  File "/usr/share/hplip/ui4/setupdialog.py", line 1232, in NextButton_clicked
    self.showDevicesPage()
  File "/usr/share/hplip/ui4/setupdialog.py", line 563, in showDevicesPage
    filter_dict, self.search, net_search=net_search_type)
  File "/usr/share/hplip/base/device.py", line 496, in probeDevices
    detected_devices = avahi.detectNetworkDevices(ttl, timeout)
  File "/usr/share/hplip/base/avahi.py", line 64, in detectNetworkDevices
    key, value = item.split('=')
ValueError: need more than 1 value to unpack

Local variables in innermost frame:
found_devices: {}
p: <subprocess.Popen object at 0x181a7d0>
ip: '192.168.1.134'
ttl: 4
addr6: []
item: '\n'
addr4: [['192.168.1.134', '0']]
details: ['\n']
timeout: 5
res: [(2, 1, 6, '', ('192.168.1.134', 0)), (2, 2, 17, '', ('192.168.1.134', 0)), (2, 3, 0, '', ('192.168.1.134', 0))]
y: {'note': '', 'mac': '', 'num_devices': 1, 'num_ports': 1, 'product_id': '', 'ip': '192.168.1.134', 'hn': 'Jamess-iMac', 'status_code': 0, 'device3': '0', 'device2': '0'}
line: '=;wlo1;IPv4;HP\\032HP\\032Officejet\\032Pro\\0328500\\032A910\\032\\064\\032James\\226\\128\\153s\\032iMac;_printer._tcp;local;Jamess-iMac.local;192.168.1.134;0;\n'
bits: ['=', 'wlo1', 'IPv4', 'HP\\032HP\\032Officejet\\032Pro\\0328500\\032A910\\032\\064\\032James\\226\\128\\153s\\032iMac', '_printer._tcp', 'local', 'Jamess-iMac.local', '192.168.1.134', '0', '\n']
port: '0'

Comment 1 James Wilson Harshaw IV 2014-05-12 18:08:45 UTC
Created attachment 894845 [details]
File: backtrace

Comment 2 James Wilson Harshaw IV 2014-05-12 18:08:47 UTC
Created attachment 894846 [details]
File: environ

Comment 3 Jiri Popelka 2014-05-13 08:43:57 UTC
Thanks. I've just reported it upstream.

Comment 4 Jiri Popelka 2014-05-13 09:54:25 UTC
Can you please provide the output of 'hp-doctor' ?

Comment 5 Jiri Popelka 2014-05-29 08:20:29 UTC
Fix commited upstream.

Comment 6 Fedora Update System 2014-06-17 07:52:56 UTC
hplip-3.14.6-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/FEDORA-2014-6291/hplip-3.14.6-1.fc20

Comment 7 Fedora Update System 2014-06-18 22:24:34 UTC
Package hplip-3.14.6-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hplip-3.14.6-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6291/hplip-3.14.6-2.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-06-26 02:00:15 UTC
hplip-3.14.6-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.