[Bugs] #2585 UNSP: save fails with None buddy reference
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Mon Feb 7 19:35:22 EST 2011
#2585: save fails with None buddy reference
------------------------------------------+---------------------------------
Reporter: walter | Owner: erikos
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: sugar-toolkit | Version: 0.90.x
Severity: Unspecified | Keywords:
Status_field: Unconfirmed | Distribution: Unspecified
Seeta_dev: |
------------------------------------------+---------------------------------
Comment(by walter):
I confirmed that there was a buddy.props.key with value None.
Adding a simple test for None seems to remedy the problem but doesn't
necessarily address the root cause:
if buddy.props.key is not None:
buddy_id = sha1(buddy.props.key).hexdigest()
buddies[buddy_id] = [buddy.props.nick,
buddy.props.color]
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2585#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list