Bug 655317 - applet.py:440:<module>:TypeError: __init__() got an unexpected keyword argument 'trayicon'
Summary: applet.py:440:<module>:TypeError: __init__() got an unexpected keyword argume...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 604703 (view as bug list)
Depends On:
Blocks: F15Target
TreeView+ depends on / blocked
 
Reported: 2010-11-20 13:10 UTC by Nicolas Mailhot
Modified: 2010-11-22 14:14 UTC (History)
3 users (show)

Fixed In Version: system-config-printer-1.2.5-8.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-22 14:14:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nicolas Mailhot 2010-11-20 13:10:26 UTC
While printing :

applet.py:440:<module>:TypeError: __init__() got an unexpected keyword argument 'trayicon'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/applet.py", line 440, in <module>
    trayicon=trayicon)
TypeError: __init__() got an unexpected keyword argument 'trayicon'

Local variables in innermost frame:
DOMAIN: 'system-config-printer'
locale: <module 'locale' from '/usr/lib64/python2.7/locale.pyc'>
trayicon: True
get_debugging: <function get_debugging at 0xa1f410>
fatalException: <function fatalException at 0xa1f500>
any_jobs: <function any_jobs at 0xfd2e60>
cups: <module 'cups' from '/usr/lib64/python2.7/site-packages/cups.so'>
installdriver: <module 'installdriver' from '/usr/share/system-config-printer/installdriver.pyc'>
pynotify: <module 'pynotify' from '/usr/lib64/python2.7/site-packages/gtk-2.0/pynotify/__init__.pyc'>
gtk: <module 'gtk' from '/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.pyc'>
NewPrinterNotification: <class '__main__.NewPrinterNotification'>
gettext: <module 'gettext' from '/usr/lib64/python2.7/gettext.pyc'>
__package__: None
APPDIR: '/usr/share/system-config-printer'
runloop: <glib.MainLoop object at 0x7f6cfa83f870>
getopt: <module 'getopt' from '/usr/lib64/python2.7/getopt.pyc'>
PROGRAM_NAME: 'system-config-printer-applet'
__doc__: None
nonfatalException: <function nonfatalException at 0xa1f578>
SEARCHING_ICON: 'document-print-preview'
PDS_PATH: '/com/redhat/NewPrinterNotification'
__builtins__: <module '__builtin__' (built-in)>
bus: <dbus._dbus.SystemBus (system) at 0xc91170>
__file__: '/usr/share/system-config-printer/applet.py'
args: []
waitloop: None
show_help: <function show_help at 0xc3a8c0>
debugprint: <function debugprint at 0xa1f398>
viewer: None
PDS_IFACE: 'com.redhat.NewPrinterNotification'
PDS_OBJ: 'com.redhat.NewPrinterNotification'
__name__: '__main__'
_: <function gettext at 0xc35488>
ICON: 'printer'
sys: <module 'sys' (built-in)>
jobviewer: <module 'jobviewer' from '/usr/share/system-config-printer/jobviewer.pyc'>
set_debugging: <function set_debugging at 0xa1f488>
show_version: <function show_version at 0xfd27d0>
monitor_session: <function monitor_session at 0xfd2cf8>
dbus: <module 'dbus' from '/usr/lib/python2.7/site-packages/dbus/__init__.pyc'>
traceback: <module 'traceback' from '/usr/lib64/python2.7/traceback.pyc'>
time: <module 'time' from '/usr/lib64/python2.7/lib-dynload/timemodule.so'>
gobject: <module 'gobject' from '/usr/lib64/python2.7/site-packages/gtk-2.0/gobject/__init__.pyc'>
opts: []
WaitForJobs: <class __main__.WaitForJobs at 0xf2ee20>

system-config-printer-1.2.5-7.fc15.x86_64

Comment 1 Jiri Popelka 2010-11-22 11:02:04 UTC
Backtrace similar to the one in bug #604703, comment#10.

Comment 2 Tim Waugh 2010-11-22 11:20:12 UTC
Thanks.  I see the problem now actually: the 'statusicon' backport introduces this traceback.

Comment 3 Tim Waugh 2010-11-22 13:25:23 UTC
*** Bug 604703 has been marked as a duplicate of this bug. ***


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