[Bugs] #2217 UNSP: Actvities fail to start when no connection is available
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Sun Sep 12 14:59:55 EDT 2010
#2217: Actvities fail to start when no connection is available
------------------------------------------+---------------------------------
Reporter: sascha_silbe | Owner: tomeu
Type: defect | Status: reopened
Priority: Unspecified by Maintainer | Milestone: 0.90
Component: sugar-toolkit | Version: Git as of bugdate
Severity: Blocker | Resolution:
Keywords: | Distribution:
Status_field: New |
------------------------------------------+---------------------------------
Changes (by sascha_silbe):
* status: closed => reopened
* resolution: fixed =>
* component: sugar => sugar-toolkit
Comment:
There are quite a few things broken currently when testing on my system
and I never know if or how they're related. But here's a Traceback from
Calculate that smells like this bug isn't fixed yet:
{{{
1284317110.802984 DEBUG PlotLib: Using custom plotting back-end
1284317110.832400 DEBUG root: *** Act
984c8ebe34c9cb8174aa0900a8c6a5772c2ea161, mesh instance None, scope
private
1284317110.832599 DEBUG root: Creating a jobject.
1284317110.833804 DEBUG root: datastore.write
1284317110.833986 DEBUG root: write: file_path='', tree_id=None
1284317110.841910 DEBUG root: Written object
(dbus.String(u'fb18b8cc-6165-44ef-a274-606ca9d3437c'),
dbus.String(u'096bec19-caf2-46bc-90b3-6660523e5a72')) to the datastore.
Traceback (most recent call last):
File "/home/sascha.silbe/sugar-jhbuild/install/bin/sugar-activity", line
21, in <module>
main.main()
File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-
packages/sugar/activity/main.py", line 164, in main
create_activity_instance(activity_constructor, activity_handle)
File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-
packages/sugar/activity/main.py", line 37, in create_activity_instance
activity = constructor(handle)
File "/home/sascha.silbe/sugar-
jhbuild/install/share/sugar/activities/Calculate.activity/calculate.py",
line 304, in __init__
ShareableActivity.__init__(self, handle)
File "/home/sascha.silbe/sugar-
jhbuild/install/share/sugar/activities/Calculate.activity/shareable_activity.py",
line 55, in __init__
self._owner_id = str(self._owner._properties['nick'])
AttributeError: 'Owner' object has no attribute '_properties'
1284317110.846150 DEBUG root: _cleanup_temp_files
Exited with status 1, pid 20665 data (None, <open file '<fdopen>', mode
'w' at 0x2b0a150>, '984c8ebe34c9cb8174aa0900a8c6a5772c2ea161')
}}}
This is with the version support branch. If you can't reproduce it, I'll
try mainline. Don't expect it to make any difference, though (otherwise I
would have already tried).
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2217#comment:10>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list