[Sugar-devel] Etoys mp3 files

Peter Robinson pbrobinson at gmail.com
Sat May 26 08:47:02 EDT 2012


On Sat, May 26, 2012 at 12:54 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
>
> On 25.05.2012, at 22:21, Rafael Ortiz wrote:
>
>
>
> On Thu, May 24, 2012 at 11:34 AM, Rafael Ortiz <rafael at activitycentral.com>
> 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?

Being a mp3 do we even have the correct bits installed to be able to
retrieve that information? Our default builds don't come with the
ability to play mp3 files so I'm not sure if we can even read the
metadata.

Peter


More information about the Sugar-devel mailing list