Comment 0 for bug 426490

Revision history for this message
Duncan Lock (dunc) wrote : 0.4.1 and lp:pyroom both crash at startup

Starting either pyroom 0.4.1 from the PPA, or the latest trunk retrieved just now with bzr branch lp:pyroom - crashes at startup with the following traceback:

Traceback (most recent call last):

  File "/usr/bin/pyroom", line 38, in <module>
    sys.exit(PyRoom.cmdline.main())

  File "/usr/lib/python2.6/dist-packages/PyRoom/cmdline.py", line 65, in main
    pyroom = BasicEdit(pyroom_config=pyroom_config)

  File "/usr/lib/python2.6/dist-packages/PyRoom/basic_edit.py", line 355, in __init__
    self.gui = GUI(pyroom_config, self)

  File "/usr/lib/python2.6/dist-packages/PyRoom/gui.py", line 184, in __init__
    self.apply_theme()

  File "/usr/lib/python2.6/dist-packages/PyRoom/gui.py", line 233, in apply_theme
    self.textbox.modify_bg(gtk.STATE_NORMAL, parse_color('textboxbg'))

  File "/usr/lib/python2.6/dist-packages/PyRoom/gui.py", line 227, in <lambda>
    parse_color = lambda x: gtk.gdk.color_parse(self.theme[x])

KeyError: 'textboxbg'

I'm using Ubuntu Jaunty AMD 64, Python 2.6.2.