Hi,
The patched package fails to show the Control panel, due to the error below.
Thanks,
James
IndentationError: unexpected indent (network.py, line 166) --------------------------------------------------------------------------- IndentationError Traceback (most recent call last)
/usr/share/sugar/shell/view/home/favoritesview.pyc in __controlpanel_activate_cb(self=<_MyIcon object at 0x930a20c (CanvasIcon at 0x954aad8)>, menuitem=<MenuItem object at 0x9632acc (GtkImageMenuItem at 0x9607608)>) 445 446 def __controlpanel_activate_cb(self, menuitem): --> 447 panel = ControlPanel() 448 panel.set_transient_for(self.get_toplevel()) 449 panel.show()
/usr/share/sugar/shell/controlpanel/gui.pyc in __init__(self=<ControlPanel object at 0x98f13c4 (SugarControlPanel at 0x967e050)>) 73 self.connect("realize", self.__realize_cb) 74 ---> 75 self._options = self._get_options() 76 self._current_option = None 77 self._setup_main()
/usr/share/sugar/shell/controlpanel/gui.pyc in _get_options(self=<ControlPanel object at 0x98f13c4 (SugarControlPanel at 0x967e050)>) 217 tmp = os.path.splitext(name)[0] 218 mod = __import__('.'.join(subpath) + '.' + tmp, globals(), --> 219 locals(), [tmp]) 220 view_class_str = getattr(mod, 'CLASS', None) 221 if view_class_str:
IndentationError: unexpected indent (network.py, line 166)
Hi,
The patched package fails to show the Control panel, due to the error below.
Thanks,
James
IndentationError: unexpected indent (network.py, line 166) ------- ------- ------- ------- ------- ------- ------- ------- ------- -----
-------
IndentationError Traceback (most recent call last)
/usr/share/ sugar/shell/ view/home/ favoritesview. pyc in __controlpanel_ activate_ cb(self= <_MyIcon object at 0x930a20c (CanvasIcon at 0x954aad8)>, menuitem=<MenuItem object at 0x9632acc (GtkImageMenuItem at 0x9607608)>) activate_ cb(self, menuitem): transient_ for(self. get_toplevel( ))
445
446 def __controlpanel_
--> 447 panel = ControlPanel()
448 panel.set_
449 panel.show()
/usr/share/ sugar/shell/ controlpanel/ gui.pyc in __init_ _(self= <ControlPanel object at 0x98f13c4 (SugarControlPanel at 0x967e050)>) "realize" , self.__realize_cb) option = None
73 self.connect(
74
---> 75 self._options = self._get_options()
76 self._current_
77 self._setup_main()
/usr/share/ sugar/shell/ controlpanel/ gui.pyc in _get_options( self=<ControlPa nel object at 0x98f13c4 (SugarControlPanel at 0x967e050)>) splitext( name)[0] _('.'.join( subpath) + '.' + tmp, globals(),
217 tmp = os.path.
218 mod = __import_
--> 219 locals(), [tmp])
220 view_class_str = getattr(mod, 'CLASS', None)
221 if view_class_str:
IndentationError: unexpected indent (network.py, line 166)