Opened 12 years ago

Closed 12 years ago

#3338 closed defect (fixed)

Clicking the 'Accept' button in My Settings->Network produces traceback

Reported by: m_anish Owned by: ajay_garg
Priority: Immediate Milestone: Unspecified
Component: Sugar Version: Unspecified
Severity: Blocker Keywords: dx3
Cc: Distribution/OS: Dextrose
Bug Status: Resolved

Description (last modified by m_anish)


  • Open the My Settings panel
  • Open the Network (settings) panel
  • Click the 'Accept' button (top right button on the screen)
  • The Network (settings) panel doesn't close
  • Traceback in Logs

Log attached below

AttributeError                            Traceback (most recent call last)

/usr/lib/python2.7/site-packages/jarabe/controlpanel/gui.pyo in __accept_clicked_cb(self=<ControlPanel object at 0x8f2a93c (SugarControlPanel at 0x8cf8810)>, widget=<SectionToolbar object at 0x8ff125c (SectionToolbar at 0x8f7a8a8)>)
    293     def __accept_clicked_cb(self, widget):
--> 294         self._section_view.perform_accept_actions()
    295         if self._section_view.needs_restart:
    296             self._section_toolbar.accept_button.set_sensitive(False)

/usr/share/sugar/extensions/cpsection/network/view.pyo in perform_accept_actions(self=<Network object at 0x8f2efcc (SugarSectionView at 0x8c92a80)>)
   1008     def perform_accept_actions(self):
-> 1009         self._model.set_ssids(self._widget_table._get_entries())
   1011     def __launch_button_clicked_cb(self, launch_button):

AttributeError: 'Network' object has no attribute '_widget_table'
1329986882.402614 WARNING root: _Account.__set_current_activity_cb

Change History (2)

comment:1 Changed 12 years ago by m_anish

  • Description modified (diff)

comment:2 Changed 12 years ago by ajay_garg

  • Bug Status changed from Assigned to Resolved
  • Resolution set to fixed
  • Status changed from new to closed

Commit Link:

When clicking the "OK" button, the "hook" function tries to save the specified
ssids of hidden networks. Earlier, this call was being executed, irrespective of
the presence of "hidden-network-connect" rpm. However, that would result in an

Fixed this - now the call is made, only when the "hidden-network-connect" package
is available.

Note: See TracTickets for help on using tickets.