Ticket #290 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Network control panel broken (SoaS1 on XO nand)

Reported by: garycmartin Owned by: marcopg
Priority: Normal Milestone: Unspecified by Release Team
Component: sugar Version: 0.83.x
Severity: Major Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Resolved

Description

When testing SoaS1 from XO nand, the network control panel, does nothing when clicked preventing changing jabber server, discarding network history, or turning off wireless radio.

Change History

Changed 4 years ago by sascha_silbe

  • distribution changed from Other (name your distribution in the description) to Unspecified
  • status_field changed from Unconfimed to New

Same issue with sugar-jhbuild (as of today) running on Ubuntu intrepid.
After clicking on "Network", the title bar changes accordingly, but the window contents are the same. Closing the window is not possible and Frame cannot be activated, rendering the whole UI unusable.

The following traceback appears in shell.log:

Traceback (most recent call last):

File "/home/sugar/sugar-jhbuild/install/lib/python2.5/site-packages/jarabe/controlpanel/gui.py", line 315, in select_option_cb

self.show_section_view(option)

File "/home/sugar/sugar-jhbuild/install/lib/python2.5/site-packages/jarabe/controlpanel/gui.py", line 213, in show_section_view

self._options[option]alerts?)

File "/home/sugar/sugar-jhbuild/install/share/sugar/extensions/cpsection/network/view.py", line 167, in init

self.setup()

File "/home/sugar/sugar-jhbuild/install/share/sugar/extensions/cpsection/network/view.py", line 172, in setup

radio_state = self._model.get_radio()

File "/home/sugar/sugar-jhbuild/install/share/sugar/extensions/cpsection/network/model.py", line 73, in get_radio

raise ReadError('%s service not available', _NM_SERVICE)

TypeError: init() takes exactly 2 arguments (3 given)

Looks like a typo: the "," in model.py:73 should probably be a "%". view.py does catch ReadError, so fixing that typo might be enough...

Changed 4 years ago by sascha_silbe

(Sorry for the bad format of the previous comment, forgot about having to use Wiki syntax.)
Fixing the typo worked like a charm. I could change the Jabber server; had to restart sugar-emulator for it to take effect, but maybe I was just a bit too impatient. :)

Changed 4 years ago by erikos

Fixed:  http://git.sugarlabs.org/projects/sugar/repos/mainline/commits/c8c1c6e003c89dfff2eafc605ecd000d3a055334

Sascha, can you retry on your sugar-jhbuild?

Thanks very much Gary and Sascha for spotting this one down.

Changed 4 years ago by sascha_silbe

Works fine now with a clean rebuild from sugar-jhbuild. Thanks!

Changed 4 years ago by erikos

  • status changed from new to closed
  • resolution set to fixed
  • status_field changed from New to Resolved
Note: See TracTickets for help on using tickets.