nekohayo / specto

Automatically exported from code.google.com/p/specto
0 stars 0 forks source link

murder dialog's cancel action makes specto crash #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To reproduce, launch specto, and while it is doing the initial watch check,
try to quit. Then, click the "cancel" button. Instead of closing the
dialog, it crashes Specto.

Traceback (most recent call last):
  File "./specto", line 38, in ?
    specto = Specto()
  File "/home/jeff/trunks/specto/src/specto/main.py", line 133, in __init__
    self.create_all_watches(watch_value_db)
  File "/home/jeff/trunks/specto/src/specto/main.py", line 199, in
create_all_watches
    self.notifier.refresh()
  File "/home/jeff/trunks/specto/src/specto/notifier.py", line 179, in refresh
    self.wTree.get_widget("button_refresh").set_stock_id("gtk-refresh")
#menu item, does not allow changing label
AttributeError: 'NoneType' object has no attribute 'set_stock_id'

Also something else to fix, the "murder" button is not translated. However,
ideally, we should not even have to show such a dialog, can we find a way
to just quit specto abrubtly without asking the user?

Original issue reported on code.google.com by nekoh...@gmail.com on 15 Dec 2006 at 8:30

GoogleCodeExporter commented 9 years ago
I could not reproduce this problem.

Original comment by woutclym...@gmail.com on 17 Dec 2006 at 3:00

GoogleCodeExporter commented 9 years ago
Will be fixed in SVN 112. There was a "self.notifier.stop_refresh=True" line, 
before
the warning dialog was created. I moved it in the killing procedure at the end 
instead.

Original comment by nekoh...@gmail.com on 17 Jun 2007 at 5:16

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 1 Jul 2007 at 2:22

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 16 Apr 2011 at 3:00