#2942 closed defect (fixed)
Activity not start
Reported by: | AlanJAS | Owned by: | walter |
---|---|---|---|
Priority: | Urgent | Milestone: | |
Component: | Abacus | Version: | 0.82.x |
Severity: | Blocker | Keywords: | |
Cc: | Distribution/OS: | OLPC | |
Bug Status: | Unconfirmed |
Description
/home/olpc/Activities/Abacus.activity/AbacusActivity.py in init(self=<AbacusActivity
object at 0x859a414 (SugarActivity at 0x85f8038)>,
handle=<sugar.activity.activityhandle.ActivityHandle object at 0x858dd6c>)
210
211 copy = _button_factory('edit-copy', _('Copy'), self._copy_cb,
--> 212 edit_toolbar_button, accelerator='<Ctrl>c')
edit_toolbar_button = undefined
global accelerator = undefined
213 paste = _button_factory('edit-paste', _('Paste'), self._paste_cb,
214 edit_toolbar_button, accelerator='<Ctrl>v')
UnboundLocalError: local variable 'edit_toolbar_button' referenced before assignment
Change History (3)
comment:1 Changed 12 years ago by walter
comment:2 Changed 12 years ago by RafaelOrtiz
- Resolution set to fixed
- Status changed from new to closed
tested and is fixed now.
Version 21 (http://activities.sugarlabs.org/en-US/developers/versions/edit/30450) contains this patch (http://git.sugarlabs.org/abacus/mainline/commit/af7e6937ab7b5c54cd166a7d3a0e771aae5acd37) that seems to take care of this regression.