[Bugs] #3338 IMME: Clicking the 'Accept' button in My Settings->Network produces traceback

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Feb 23 08:06:58 EST 2012


#3338: Clicking the 'Accept' button in My Settings->Network produces traceback
--------------------------+-------------------------------------------------
    Reporter:  m_anish    |          Owner:  ajay_garg                  
        Type:  defect     |         Status:  new                        
    Priority:  Immediate  |      Milestone:  Unspecified by Release Team
   Component:  sugar      |        Version:  Unspecified                
    Severity:  Blocker    |       Keywords:  dx3                        
Distribution:  Dextrose   |   Status_field:  Assigned                   
--------------------------+-------------------------------------------------
Description changed by m_anish:

Old description:

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

New description:

 == 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
 }}}

--

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3338#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list