Opened 11 years ago
Closed 11 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)
Testcase
- 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)>) 292 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)>) 1007 1008 def perform_accept_actions(self): -> 1009 self._model.set_ssids(self._widget_table._get_entries()) 1010 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 11 years ago by m_anish
- Description modified (diff)
comment:2 Changed 11 years ago by ajay_garg
- Bug Status changed from Assigned to Resolved
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Commit Link:
http://git.sugarlabs.org/dextrose/mainline/commit/729d3aeb53c17eb84a6192357d8f3410e9535fcb
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
exception.
Fixed this - now the call is made, only when the "hidden-network-connect" package
is available.