On 25.05.2012, at 22:21, Rafael Ortiz wrote:

> 
> 
> On Thu, May 24, 2012 at 11:34 AM, Rafael Ortiz <[email protected]> 
> wrote:
> Hi 
> 
> While trying to add a journal entry (mp3 file) from etoys-113, i'm getting 
> ."An error has occurred; you should probably just hit abandon. Sorry"
> 
> Is this known?
> 
> Log attached
> 
> 
> A clue on what this might be happening and how to solve it, appreciated.
> 
> Thanks :)

Well, the relevant lines in the error log seem to be these:

DBusError: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/service.py", line 702, in 
_message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.7/site-packages/carquinyol/datastore.py", line 355, in 
get_properties
    metadata = self._metadata_store.retrieve(uid)
  File "/usr/lib/python2.7/site-packages/carquinyol/metadatastore.py", line 41, 
in retrieve
    return metadatareader.retrieve(metadata_path, properties)
IOError: Couldn't open metadata directory 
/home/olpc/.sugar/default/datastore//m//media/Philips/Buenos Muchachos/Se Pule 
La Colmena/2-06 Corazonoro.mp3/metadata

So apparently Etoys tries to access the metadata for the MP3 but the datastore 
fails to find it. Etoys does not handle that case, it relies on 
get_properties() succeeding. Is that wrong?

- Bert -


_______________________________________________
Sugar-devel mailing list
[email protected]
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to