[Sugar-devel] Etoys mp3 files
Bert Freudenberg
bert at freudenbergs.de
Sat May 26 07:54:28 EDT 2012
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?
- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120526/a18ff60f/attachment.html>
More information about the Sugar-devel
mailing list