#5571 HIGH FutureF: Need ability to add things to Journal/datastore from the command line

Zarro Boogs per Child bugtracker at laptop.org
Thu Dec 20 19:54:32 EST 2007


#5571: Need ability to add things to Journal/datastore from the command line
--------------------------+-------------------------------------------------
  Reporter:  Phil         |       Owner:  tomeu            
      Type:  enhancement  |      Status:  new              
  Priority:  high         |   Milestone:  FutureFeatures   
 Component:  datastore    |     Version:                   
Resolution:               |    Keywords:  datastore journal
  Verified:  0            |  
--------------------------+-------------------------------------------------

Comment(by Phil):

 I've created a new version of the script that supports adding metadata.

 However, both versions of this script fail for me when trying to add an
 Ogg Vorbis file with the following error:

 {{{
 WARNING:root:DSObject was deleted without cleaning up first. Please call
 DSObject.destroy() before disposing it.
 Error: org.freedesktop.DBus.Python.AttributeError: 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 215, in create
     mp.create_async(props, filelike, can_move=transfer_ownership,
 AttributeError: 'NoneType' object has no attribute 'create_async'
 }}}

 Not sure what's going on here.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5571#comment:4>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list