[Bug 287028] Re: Control panel Network/Wireless error

James Westby jw+debian at jameswestby.net
Wed Oct 22 22:14:27 BST 2008


The patched package fails to show the Control panel, due to the error



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)>)
    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)
---> 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)

Control panel Network/Wireless error
You received this bug notification because you are a member of Sugar
Team, which is a direct subscriber.

Status in Sugar shell: New
Status in “sugar” source package in Ubuntu: Triaged

Bug description:
Binary package hint: sugar

In the control panel, under Wireless / Radio, the error "org.freedesktop.DBus.Error.Un...etworkManager doesn't exist" is displayed.

This is for the option to disable the radio on the OLPC XO laptop as a sort of flight mode (or to prolong battery life) so it's not critical for Ubuntu.

More information about the Ubuntu-sugarteam mailing list