[Bugs] #2585 UNSP: save fails with None buddy reference
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Mon Feb 7 18:58:22 EST 2011
#2585: save fails with None buddy reference
------------------------------------------+---------------------------------
Reporter: walter | Owner:
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: sugar | Version: 0.90.x
Severity: Unspecified | Keywords:
Status_field: Unconfirmed | Distribution: Unspecified
Seeta_dev: |
------------------------------------------+---------------------------------
I joined a seeming phantom shared activity and got this error when
quitting:
1297121383.895540 ERROR root: Error saving activity object to datastore
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/sugar/activity/activity.py", line
823, in _prepare_close
self.save()
File "/usr/lib/python2.7/site-packages/sugar/activity/activity.py", line
642, in save
buddies_dict = self._get_buddies()
File "/usr/lib/python2.7/site-packages/sugar/activity/activity.py", line
617, in _get_buddies
buddy_id = sha1(buddy.props.key).hexdigest()
TypeError: must be string or buffer, not None
We should catch the None buddy instance.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2585>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list