Activity log for bug #426490

Date Who What changed Old value New value Message
2009-09-08 20:49:22 Duncan Lock bug added bug
2009-09-21 11:06:17 Florian Heinle summary 0.4.1 and lp:pyroom both crash at startup PyRoom needs failsafe theme handling after upgrades
2009-09-21 11:07:19 Florian Heinle description 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. When upgrading the theme format, fallbacks like we use on preferences should be implemented, as to not crash PyRoom when things from older custom theme files are missing. Original report: 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.
2009-09-21 11:07:34 Florian Heinle pyroom: status New Confirmed
2009-09-21 11:07:37 Florian Heinle pyroom: importance Undecided Medium
2009-09-21 11:42:01 Florian Heinle pyroom: status Confirmed Fix Committed
2009-09-21 11:42:12 Florian Heinle bug task added pyroom/0.4
2009-09-21 11:42:22 Florian Heinle pyroom/0.4: importance Undecided Medium
2009-09-21 11:42:23 Florian Heinle pyroom/0.4: status New Fix Committed