Opened 12 years ago

Closed 12 years ago

#290 closed defect (fixed)

Network control panel broken (SoaS1 on XO nand)

Reported by: garycmartin Owned by: marcopg
Priority: Normal Milestone: Unspecified
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 (5)

comment:1 Changed 12 years ago by sascha_silbe

  • Bug Status changed from Unconfimed to New
  • Distribution/OS changed from Other (name your distribution in the description) to Unspecified

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

comment:2 Changed 12 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. :)

comment:3 Changed 12 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.

comment:4 Changed 12 years ago by sascha_silbe

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

comment:5 Changed 12 years ago by erikos

  • Bug Status changed from New to Resolved
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.