Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#6 KeyError: 'default'

open
nobody
None
5
2008-04-20
2008-04-20
Anonymous
No

rkb <kumico@nrk.cc>

Pypanel:

Traceback (most recent call last):
File "/usr/bin/pypanel", line 957, in <module>
PyPanel(display.Display())
File "/usr/bin/pypanel", line 98, in __init__
self.loop(self.display, self.root, self.window, self.panel)
File "/usr/bin/pypanel", line 818, in loop
self.updateTasks(dsp, root, win, panel)
File "/usr/bin/pypanel", line 774, in updateTasks
self.setIcon(t)
File "/usr/bin/pypanel", line 314, in setIcon
icon.path = ICON_LIST["default"] or "%s/pypanel/ppicon.png" % sysconfig.get_python_lib()
KeyError: 'default'
####

i'm guessing ICON_LIST gets oerwritten or soemthign somewhere, or maybe it's cos I*['default'] is defined after the function ...

Discussion

  •  
    Attachments