Bug 994506

Summary: [abrt] system-config-printer-1.4.1-8.fc19: types.py:113:function:TypeError: Argument 0 does not allow None as a value
Product: [Fedora] Fedora Reporter: Paulius Zaleckas <paulius.zaleckas>
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: 19CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:91480aa16c5bdea5ba59efb076bc3c0fc5798336
Fixed In Version: system-config-printer-1.4.2-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-25 22:56:39 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: dso_list
none
File: environ none

Description Paulius Zaleckas 2013-08-07 12:18:18 UTC
Description of problem:
Tried to open HP network printer properties.

Version-Release number of selected component:
system-config-printer-1.4.1-8.fc19

Additional info:
reporter:       libreport-2.1.6
cmdline:        /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
executable:     /usr/share/system-config-printer/system-config-printer.py
kernel:         3.9.8-300.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
types.py:113:function:TypeError: Argument 0 does not allow None as a value

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1676, in on_edit_activate
    self.dests_iconview_item_activated (self.dests_iconview, paths[0])
  File "/usr/share/system-config-printer/system-config-printer.py", line 510, in dests_iconview_item_activated
    parent=self.PrintersWindow)
  File "/usr/share/system-config-printer/printerproperties.py", line 577, in show
    self.load (name, host=host, encryption=encryption, parent=parent)
  File "/usr/share/system-config-printer/printerproperties.py", line 1479, in load
    self.updateMarkerLevels()
  File "/usr/share/system-config-printer/printerproperties.py", line 1582, in updateMarkerLevels
    inklevel = gtkinklevel.GtkInkLevel (color, level)
  File "/usr/share/system-config-printer/gtkinklevel.py", line 30, in __init__
    self._color = Gdk.color_parse (color)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/__init__.py", line 99, in wrapped
    ret = method(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/gi/types.py", line 113, in function
    return info.invoke(*args, **kwargs)
TypeError: Argument 0 does not allow None as a value

Local variables in innermost frame:
info: <gi.FunctionInfo object (color_parse) at 0x0x1121bd8>
args: (None,)
kwargs: {}

Comment 1 Paulius Zaleckas 2013-08-07 12:18:23 UTC
Created attachment 783876 [details]
File: backtrace

Comment 2 Paulius Zaleckas 2013-08-07 12:18:27 UTC
Created attachment 783877 [details]
File: dso_list

Comment 3 Paulius Zaleckas 2013-08-07 12:18:31 UTC
Created attachment 783878 [details]
File: environ

Comment 4 Tim Waugh 2013-08-07 14:07:59 UTC
Fixed upstream in commit 19528e6.

Comment 5 Fedora Update System 2013-08-21 16:22:56 UTC
system-config-printer-1.4.2-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/system-config-printer-1.4.2-1.fc19

Comment 6 Fedora Update System 2013-08-23 00:45:28 UTC
Package system-config-printer-1.4.2-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 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.4.2-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15201/system-config-printer-1.4.2-1.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-08-25 22:56:39 UTC
system-config-printer-1.4.2-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.