Getting "system-config-printer-1.4.1-16.el7: types.py:113:function:TypeError: Argument 0 does not allow None as a value" error

Solution Unverified - Updated -

Issue

  • Getting "[abrt] system-config-printer-1.4.1-16.el7: types.py:113:function:TypeError: Argument 0 does not allow None as a value" error.
abrt_version:   2.1.11
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.10.0-123.el7.x86_64
last_occurrence: 1403207535
pid:            12538
pkg_arch:       x86_64
pkg_epoch:      0
pkg_name:       system-config-printer
pkg_release:    16.el7
pkg_version:    1.4.1
runlevel:       N 5
time:           Thu 19 Jun 2014 09:52:15 PM CEST
uid:            1000
username:       test

sosreport.tar.xz: Binary file, 5993472 bytes

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/printerproperties.py", line 1903, in on_printer_event
:    self.on_printer_modified (None, printer, False)
:  File "/usr/share/system-config-printer/printerproperties.py", line 1893, in on_printer_modified
:    self.updatePrinterProperties ()
:  File "/usr/share/system-config-printer/printerproperties.py", line 1679, in updatePrinterProperties
:    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 0x0xc10cf8>
:args: (None,)
:kwargs: {}

comment:
:Not sure what happended, I added printer and printed a test page. 
:However everything seems to be working fine so this might be a non-issue.

dso_list:
:system-config-printer-libs-1.4.1-16.el7.noarch
:pygobject3-base-3.8.2-4.el7.x86_64

environ:
:GNOME_DESKTOP_SESSION_ID=this-is-deprecated
:GJS_DEBUG_OUTPUT=stderr
:LESSOPEN=||/usr/bin/lesspipe.sh %s
:QT_IM_MODULE=ibus
:LOGNAME=test
:USER=test
:PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/test/.local/bin:/home/test/bin
:XDG_VTNR=1
:GNOME_KEYRING_CONTROL=/run/user/1000/keyring-xSYPSW
:DISPLAY=:0
:SSH_AGENT_PID=3102
:LANG=en_US.utf8
:TERM=dumb
:SHELL=/bin/bash
:XAUTHORITY=/run/gdm/auth-for-test-DHlj3b/database
:SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2950,unix/unix:/tmp/.ICE-unix/2950
:SHLVL=1
:HISTSIZE=1000
:WINDOWPATH=1
:IMSETTINGS_INTEGRATE_DESKTOP=yes
:GIO_LAUNCHED_DESKTOP_FILE_PID=12538
:GPG_AGENT_INFO=/run/user/1000/keyring-xSYPSW/gpg:0:1
:HOME=/home/test
:USERNAME=test
:IMSETTINGS_MODULE=none
:GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/system-config-printer.desktop
:XDG_RUNTIME_DIR=/run/user/1000
:SSH_AUTH_SOCK=/run/user/1000/keyring-xSYPSW/ssh
:GDMSESSION=gnome-classic
:XMODIFIERS=@im=ibus
:GNOME_SHELL_SESSION_MODE=classic
:MAIL=/var/spool/mail/test
:XDG_SESSION_ID=1
:DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-mC5bVecx1k,guid=498fead6c880fe5e3965964153a06480
:DESKTOP_SESSION=gnome-classic
:GNOME_KEYRING_PID=2948
:HOSTNAME=localhost.localdomain
:GDM_LANG=en_US.utf8
:HISTCONTROL=ignoredups
:PWD=/home/test
:DESKTOP_STARTUP_ID=gnome-shell-3223-localhost.localdomain-system-config-printer-2_TIME13258541
:XDG_MENU_PREFIX=gnome-
:GJS_DEBUG_TOPICS=JS ERROR;JS LOG
:XDG_SEAT=seat0

Environment

  • Red Hat Enterprise Linux 7.0
  • system-config-printer-1.4.1-16.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content