[Bugs] #2585 Sugar UNSP: save fails with None buddy reference

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Aug 5 09:47:50 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                |
----------------------------------------+-------------------------------
\
\
\
\
\
\

Comment (by godiard):

 Previous log was with Chat activity (gtk2)

 The same happen with Read (gtk3)

 {{{
 1375708850.765533 ERROR root: Error saving activity object to datastore
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/sugar3/activity/activity.py",
 line 905, in _prepare_close
     self.save()
   File "/usr/lib/python2.7/site-packages/sugar3/activity/activity.py",
 line 724, in save
     buddies_dict = self._get_buddies()
   File "/usr/lib/python2.7/site-packages/sugar3/activity/activity.py",
 line 699, 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:10>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list