diff --git a/shell/HomeWindow.py b/shell/HomeWindow.py index 7e939568..ee567818 100644 --- a/shell/HomeWindow.py +++ b/shell/HomeWindow.py @@ -16,6 +16,8 @@ class HomeWindow(gtk.Window): def __init__(self, shell): gtk.Window.__init__(self) + self._shell = shell + self.connect('realize', self.__realize_cb) canvas = goocanvas.CanvasView() diff --git a/sugar/logger.py b/sugar/logger.py index d47f8a53..9328058a 100644 --- a/sugar/logger.py +++ b/sugar/logger.py @@ -80,6 +80,7 @@ class Handler(logging.Handler): def __exception_handler(typ, exc, tb): trace = StringIO() traceback.print_exception(typ, exc, tb, None, trace) + print >> sys.stderr, trace.getvalue() __queue.append(logging.ERROR, trace.getvalue())