#4904 NORM Never A: Browse doesn't pass downloads correctly to the DS
Zarro Boogs per Child
bugtracker at laptop.org
Wed Nov 14 04:40:48 EST 2007
#4904: Browse doesn't pass downloads correctly to the DS
-----------------------------+----------------------------------------------
Reporter: tomeu | Owner: tomeu
Type: defect | Status: new
Priority: normal | Milestone: Never Assigned
Component: browse-activity | Version:
Keywords: update.1? | Verified: 0
-----------------------------+----------------------------------------------
With security activated, the DS cannot read the downloaded file:
{{{
1195048986.772035 DEBUG root: dbus_helpers.update: 34f1c9eb-de6d-443f-
804c-27af55b04597, /activities/uid_to_home_dir/1000/tmp/Implode-1.xo,
{'activity_id': '', 'preview': '<omitted>', 'title_set_by_user': '',
'title': u'File Implode-1.xo downloaded
from\nhttp://jotaro.com/olpc/Implode-1.xo.', 'timestamp': 1195048986,
'buddies': '', 'keep': '0', 'icon-color': '#807500,#F8E800', 'mtime':
'2007-11-14T09:03:06.771129', 'progress': '100', 'activity': '',
'mime_type': 'application/vnd.olpc-sugar'}, False
1195048986.779638 DEBUG root: Written object 34f1c9eb-de6d-443f-804c-
27af55b04597 to the datastore.
1195048986.877807 DEBUG root: Error saving activity object to datastore:
org.freedesktop.DBus.Python.IOError: Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/dbus/service.py", line 692, in
_message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/python2.5/site-packages/olpc/datastore/datastore.py",
line 478, in update
completion=lambda *args: self._update_completion_cb(async_cb,
async_err_cb, content, *args))
File "/usr/lib/python2.5/site-packages/olpc/datastore/backingstore.py",
line 576, in update_async
filelike = open(filelike, "r")
IOError: [Errno 13] Permission denied:
dbus.String(u'/activities/uid_to_home_dir/1000/tmp/Implode-1.xo')
}}}
Browse should download files to the instance dir, instead to tmp.
--
Ticket URL: <http://dev.laptop.org/ticket/4904>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list