[Bugs] #2585 Sugar UNSP: save fails with None buddy reference
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Mon Aug 5 09:42:04 EDT 2013
#2585: save fails with None buddy reference
----------------------------------------+-------------------------------
Reporter: walter | Owner: erikos
Type: defect | Status: reopened
Priority: Unspecified by Maintainer | Milestone: Unspecified
Component: Sugar | Version: 0.98.x
Severity: Unspecified | Resolution:
Keywords: | Distribution/OS: Unspecified
Bug Status: Unconfirmed |
----------------------------------------+-------------------------------
\
\
\
\
Changes (by godiard):
* version: 0.90.x => 0.98.x
\
\
\
Comment:
I can reproduce it on 13.2.0 / os11.
Step to reproduce.
* Open one activity and share it on XO A.
* Join in XO B.
* Close activity on XO B.
* Try to close activity on XO A.
The error happen only on XO A. Strange XO B can save ok, and show the icon
of the other xo in the journal.
Log error:
{{{
1375709688.074790 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
867, in _prepare_close
self.save()
File "/usr/lib/python2.7/site-packages/sugar/activity/activity.py", line
686, in save
buddies_dict = self._get_buddies()
File "/usr/lib/python2.7/site-packages/sugar/activity/activity.py", line
661, in _get_buddies
buddy_id = sha1(buddy.props.key).hexdigest()
TypeError: sha1() argument 1 must be string or buffer, not None
}}}
\
\
\
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2585#comment:9>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list