Bug 1154686

Summary: [abrt] system-config-printer: PhysicalDevice.py:102:add_device:ValueError
Product: [Fedora] Fedora Reporter: Jay Fenlason <bugzilla>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dev, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/d5a4fef1d59e9b2484dc919d0d2ca6e16199d9af
Whiteboard: abrt_hash:e69f59b79bf3f966ce0a378073f5f37fdb59dc04
Fixed In Version: system-config-printer-1.5.4-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-15 09:19:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Jay Fenlason 2014-10-20 14:15:19 UTC
Description of problem:
I was attempting to ad my HP LaserJet 2840.

Version-Release number of selected component:
system-config-printer-1.4.5-3.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
dso_list:       system-config-printer-libs-1.4.5-3.fc20.noarch
executable:     /usr/share/system-config-printer/system-config-printer.py
kernel:         3.16.4-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
PhysicalDevice.py:102:add_device:ValueError

Traceback (most recent call last):
  File "/usr/share/system-config-printer/newprinter.py", line 2833, in on_tvNPDevices_cursor_changed
    physicaldevice.add_device (dev)
  File "/usr/share/system-config-printer/PhysicalDevice.py", line 102, in add_device
    raise ValueError
ValueError

Local variables in innermost frame:
device: <cupshelpers.Device "hp:/net/HP_Color_LaserJet_2840?hostname=the-lurking-horror">
host: None
self: <PhysicalDevice.PhysicalDevice (HP,Color LaserJet 2840,)>
dnssdhost: None

Comment 1 Jay Fenlason 2014-10-20 14:15:21 UTC
Created attachment 948563 [details]
File: backtrace

Comment 2 Jay Fenlason 2014-10-20 14:15:22 UTC
Created attachment 948564 [details]
File: environ

Comment 4 Fedora Update System 2014-11-10 18:07:07 UTC
system-config-printer-1.5.4-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/system-config-printer-1.5.4-1.fc21

Comment 5 Fedora Update System 2014-11-10 18:46:12 UTC
system-config-printer-1.4.7-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/system-config-printer-1.4.7-1.fc20

Comment 6 Fedora Update System 2014-11-12 02:40:25 UTC
Package system-config-printer-1.5.4-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-printer-1.5.4-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14750/system-config-printer-1.5.4-1.fc21
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-11-15 09:19:55 UTC
system-config-printer-1.4.7-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-11-17 06:32:57 UTC
system-config-printer-1.5.4-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Tim Waugh 2015-02-06 17:21:49 UTC
*** Bug 1176564 has been marked as a duplicate of this bug. ***