Well, there are two different issues ::<br><br>a)<br>First is the data-store issue.<br><br>As seen from the logs, the (mp3) file that was opened, was present in a USB pen drive.<br>ANY ENTRY, when accessed via USB-pen-drive, will give this error (i.e. mp3, jpeg, png - any file).<br>
<br>CAUSE ::<br>=======<br><br>The code in "carquinol" package, presumes the data-to-be-accessed coming from the journal.<br><br><br><br>SOLUTION ::<br>==========<br><br>As happens with all entries that are accessed from USB pen-drives, these entries too need to be copied first to the journal, to maintain compatability.<br>
<br><br><br>SOLUTION-IMPLEMENTATION-REQUIREMENT ::<br>=====================================<br><br>The "etoys-sugar-code" is needed, wherein a flag may be passed to objectchooser, to copy the file to the journal if invoked from etoys; and subsequently access the journal-entry thereafter.<br>
<br>Bert, we will be grateful if you could provide the code-location for this.<br><br><br><br><br><br>b)<br>The second issue is the sound not playing.<br><br>I ensured that the following packages were installed on my non-XO laptop (Dell-F14-laptop) ::<br>
<br>* gstreamer-plugins-bad<br>* gstreamer-plugins-ugly<br>* gstreamer-ffmpeg<br>* etoys<br>* squeak-vm<br>* squeak-vm-nonXOplugins<br><br>Thereafter, I downloaded the following MPEG file ::<br><a href="http://samples.fileformat.info/format/mpeg/sample/567fd6a0e0da4a8e81bdeb870de3b19c/DELTA.MPG?AWSAccessKeyId=0V91BEFA7GM093MEVMG2&Signature=zvF6p5NE3Jz3oSKtyw2obyPosDQ%3D&Expires=1338322225">http://samples.fileformat.info/format/mpeg/sample/567fd6a0e0da4a8e81bdeb870de3b19c/DELTA.MPG?AWSAccessKeyId=0V91BEFA7GM093MEVMG2&Signature=zvF6p5NE3Jz3oSKtyw2obyPosDQ%3D&Expires=1338322225</a><br>
<br><br>and tried playing via "Supplies" -> "Object Catalogue" -> "Multimedia" -> "MPEGPlayer". However, I got the same "abandon" error, with the second-last, and third-last stack-point error as follows ::<br>
<br>#####################################################################<br>primitiveFailed<br>    "Announce that a primitive has failed and there is no appropriate <br>    Smalltalk code to run."<br><br>    self error: 'a primitive has failed'<br>
<br><br>primFileValidMPEG: aPath<br>    "Check to see if the file is valid"<br>    <primitive: 'primitiveMPEG3CheckSig' module: 'Mpeg3Plugin'><br>    self primitiveFailed<br>#####################################################################<br>
<br><br><br>SOLUTION ::<br>=========<br><br>I guess there is still some plugin missing on my Dell laptop.<br>But I have gone out of ideas to try.<br><br>Bert, we will again be grateful :)<br><br><br><br><br>Thanks and Regards,<br>
Ajay<br><br><br><div class="gmail_quote">On Sun, May 27, 2012 at 2:10 AM, Rafael Ortiz <span dir="ltr"><<a href="mailto:rafael@activitycentral.com" target="_blank">rafael@activitycentral.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<br><br><div class="gmail_quote"><div><div>On Sat, May 26, 2012 at 12:13 PM, Rafael Ortiz <span dir="ltr"><<a href="mailto:rafael@activitycentral.com" target="_blank">rafael@activitycentral.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<br><br><div class="gmail_quote"><div><div>On Sat, May 26, 2012 at 7:47 AM, Peter Robinson <span dir="ltr"><<a href="mailto:pbrobinson@gmail.com" target="_blank">pbrobinson@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div>On Sat, May 26, 2012 at 12:54 PM, Bert Freudenberg <<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>> wrote:<br>
><br>
> On <a href="tel:25.05.2012" value="+5725052012" target="_blank">25.05.2012</a>, at 22:21, Rafael Ortiz wrote:<br>
><br>
><br>
><br>
> On Thu, May 24, 2012 at 11:34 AM, Rafael Ortiz <<a href="mailto:rafael@activitycentral.com" target="_blank">rafael@activitycentral.com</a>><br>
> wrote:<br>
>><br>
>> Hi<br>
>><br>
>> While trying to add a journal entry (mp3 file) from etoys-113, i'm getting<br>
>> ."An error has occurred; you should probably just hit abandon. Sorry"<br>
>><br>
>> Is this known?<br>
>><br>
>> Log attached<br>
>><br>
><br>
> A clue on what this might be happening and how to solve it, appreciated.<br>
><br>
> Thanks :)<br>
><br>
><br>
> Well, the relevant lines in the error log seem to be these:<br>
><br>
> DBusError: Traceback (most recent call last):<br>
>   File "/usr/lib/python2.7/site-packages/dbus/service.py", line 702, in<br>
> _message_cb<br>
>     retval = candidate_method(self, *args, **keywords)<br>
>   File "/usr/lib/python2.7/site-packages/carquinyol/datastore.py", line 355,<br>
> in get_properties<br>
>     metadata = self._metadata_store.retrieve(uid)<br>
>   File "/usr/lib/python2.7/site-packages/carquinyol/metadatastore.py", line<br>
> 41, in retrieve<br>
>     return metadatareader.retrieve(metadata_path, properties)<br>
> IOError: Couldn't open metadata directory<br>
> /home/olpc/.sugar/default/datastore//m//media/Philips/Buenos Muchachos/Se<br>
> Pule La Colmena/2-06 Corazonoro.mp3/metadata<br>
><br>
> So apparently Etoys tries to access the metadata for the MP3 but the<br>
> datastore fails to find it. Etoys does not handle that case, it relies on<br>
> get_properties() succeeding. Is that wrong?<br>
<br>
</div></div>Being a mp3 do we even have the correct bits installed to be able to<br>
retrieve that information? </blockquote><div><br></div><div><br></div></div></div><div>In this case what would be the proper bits ?</div><div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




Our default builds don't come with the<br>
ability to play mp3 files so I'm not sure if we can even read the<br>
metadata.<br>
<br></blockquote></div></div></blockquote><div><br></div></div></div><div>Also realized that the same problem is happening on</div><div>ogg files, so doesn't seem related to codecs.</div><div><div><br></div>
<div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Peter<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div></div><br>
</blockquote></div></div><br>
<br>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br>