#2459 BLOC Untriag: copying an entry from internal flash to a removable device fails
Zarro Boogs per Child
bugtracker at laptop.org
Wed Jul 25 07:44:26 EDT 2007
#2459: copying an entry from internal flash to a removable device fails
-----------------------+----------------------------------------------------
Reporter: tomeu | Owner: bcsaller
Type: defect | Status: new
Priority: blocker | Milestone: Untriaged
Component: datastore | Version:
Keywords: | Verified: 0
-----------------------+----------------------------------------------------
{{{
1185378217.9699 STDERR - Traceback (most recent call last):
File "/usr/share/activities/Journal.activity/volumestoolbar.py", line
312, in _drag_data_received_cb
datastore.write(jobject)
File "/usr/lib/python2.5/site-packages/sugar/datastore/datastore.py",
line 196, in write
ds_object.file_path)
File "/usr/lib/python2.5/site-packages/sugar/datastore/dbus_helpers.py",
line 36, in create
object_id = _data_store.create(dbus.Dictionary(properties), filename)
File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 136, in
__call__
**keywords)
File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 603, in
call_blocking
message, timeout)
DBusException: org.freedesktop.DBus.Python.KeyError: Traceback (most
recent call last):
File "/usr/lib/python2.5/site-packages/dbus/service.py", line 664, in
_message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/python2.5/site-packages/olpc/datastore/datastore.py",
line 187, in create
uid = mp.create(props, filelike)
File "/usr/lib/python2.5/site-packages/olpc/datastore/backingstore.py",
line 516, in create
self._writeContent(uid, filelike, replace=False)
File "/usr/lib/python2.5/site-packages/olpc/datastore/backingstore.py",
line 305, in _writeContent
path = self._translatePath(uid)
File "/usr/lib/python2.5/site-packages/olpc/datastore/backingstore.py",
line 487, in _translatePath
return os.path.join(self.uri, content.get_property('filename'))
File "/usr/lib/python2.5/site-packages/olpc/datastore/model.py", line
193, in get_property
if result is _marker: raise KeyError(key)
KeyError: 'filename'
}}}
--
Ticket URL: <https://dev.laptop.org/ticket/2459>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list