Re: [Sugar-devel] Etoys mp3 files

2012-06-04 Thread Bert Freudenberg
Just replying to tie up one loose end here ... On 01.06.2012, at 07:53, Ajay Garg wrote: Thanks Bert. 1) Bert, I re-compiled after installing all the header- and devel- packages as told by you (after incorporating a blocker-fix as per

Re: [Sugar-devel] Etoys mp3 files

2012-06-04 Thread Sascha Silbe
Ajay Garg a...@activitycentral.com writes: As seen from the logs, the (mp3) file that was opened, was present in a USB pen drive. ANY ENTRY, when accessed via USB-pen-drive, will give this error (i.e. mp3, jpeg, png - any file). Can you give more details, please? I can't reproduce the

Re: [Sugar-devel] Etoys mp3 files

2012-06-03 Thread Ajay Garg
Bert, a) Please let us know when the patched squeak-vm package (4.0 series) is available for download :) b) Thanks a ton for the exhaustive information. The etoys-way-of-coding looks really over-whelming; however, I will be a little patient, and give it a shot anyway :) :) c) Regarding the

Re: [Sugar-devel] Etoys mp3 files

2012-06-02 Thread Ajay Garg
Guess what.. as usually happens, I was able to hear the sound almost as soon as I posted the last mail :D As Bert had already pointed out in an earlier mail, I should have looked into /usr/bin/etoys a lot earlier. Therein, I substituted -vm-sound-alsa to be picked irrespective, and voila, I

Re: [Sugar-devel] Etoys mp3 files

2012-06-02 Thread Bert Freudenberg
Hi Ajay, the entire source code is accessible from Etoys, by pressing the view-source key (or ctrl-comma), as I mentioned earlier. Open a System Browser to see the entire tree. This is not just a viewer, but you can modify the live system. Smalltalk (of which Squeak is a dialect) does not use

Re: [Sugar-devel] Etoys mp3 files

2012-06-01 Thread Ajay Garg
Hi Bert. Would it be possible for you to provide with the following :: a) Core etoys-code (the complete source tree is highly desirable :-) ). b) Sugar glue-code. Thanks and Regards, Ajay On Fri, Jun 1, 2012 at 11:23 AM, Ajay Garg a...@activitycentral.com wrote: Thanks Bert. 1) Bert,

Re: [Sugar-devel] Etoys mp3 files

2012-05-31 Thread Bert Freudenberg
On 31.05.2012, at 19:33, Ajay Garg wrote: Ok, After much of head-banging, I finally compared the strace dumps from my Dell laptop, and my XO-1. I noted that, that on Dell, squeakvm was being launched from /usr/local/lib, while on XO-1, from /usr/bin. I made the required changes, and

Re: [Sugar-devel] Etoys mp3 files

2012-05-31 Thread Ajay Garg
On Thu, May 31, 2012 at 11:24 PM, Bert Freudenberg b...@freudenbergs.dewrote: On 31.05.2012, at 19:33, Ajay Garg wrote: Ok, After much of head-banging, I finally compared the strace dumps from my Dell laptop, and my XO-1. I noted that, that on Dell, squeakvm was being launched from

Re: [Sugar-devel] Etoys mp3 files

2012-05-31 Thread Ajay Garg
On Thu, May 31, 2012 at 11:32 PM, Ajay Garg a...@activitycentral.comwrote: On Thu, May 31, 2012 at 11:24 PM, Bert Freudenberg b...@freudenbergs.dewrote: On 31.05.2012, at 19:33, Ajay Garg wrote: Ok, After much of head-banging, I finally compared the strace dumps from my Dell

Re: [Sugar-devel] Etoys mp3 files

2012-05-31 Thread Bert Freudenberg
On 31.05.2012, at 20:02, Ajay Garg wrote: On Thu, May 31, 2012 at 11:24 PM, Bert Freudenberg b...@freudenbergs.de wrote: On 31.05.2012, at 19:33, Ajay Garg wrote: However, when I press Play, NOTHING happens. I don't hear any sound, nor do I see any error (The mp3 is fine otherwise, it

Re: [Sugar-devel] Etoys mp3 files

2012-05-31 Thread Bert Freudenberg
I sent my patch to the upstream maintainer (Ian Piumarta). I'm hopeful there will be a new 4.x VM release very soon. That new release will also help with Scratch because it will have the Scratch plugins (so the Scratch XO bundle do not need any binaries inside anymore), and with Etoys 5 (which

Re: [Sugar-devel] Etoys mp3 files

2012-05-31 Thread Ajay Garg
Thanks Bert. 1) Bert, I re-compiled after installing all the header- and devel- packages as told by you (after incorporating a blocker-fix as per http://comments.gmane.org/gmane.comp.lang.smalltalk.squeak.general/146266). However, I still am not able to hear any sound. 2) I also tried copying

Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Ajay Garg
For brevity, here is the complete stacktrace (picked from shell command line) :: ## === SqueakDebug.log START == Error: a primitive has failed 30 May 2012 2:21 pm VM: unix - a

Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Bert Freudenberg
Did you move the plugin to where the other plugins are, and possibly renamed it to match the other plugins name scheme? Also, are you sure that DELTA.MPG actually is an mp3 file? - Bert - On 30.05.2012, at 10:53, Ajay Garg wrote: For brevity, here is the complete stacktrace (picked from

Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Ajay Garg
On Wed, May 30, 2012 at 4:09 PM, Bert Freudenberg b...@freudenbergs.dewrote: Did you move the plugin to where the other plugins are, and possibly renamed it to match the other plugins name scheme? Yes, tried the following variants :: * /usr/local/lib/libMpeg3Plugin.so *

Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Bert Freudenberg
On 30.05.2012, at 12:49, Ajay Garg wrote: On Wed, May 30, 2012 at 4:09 PM, Bert Freudenberg b...@freudenbergs.de wrote: Did you move the plugin to where the other plugins are, and possibly renamed it to match the other plugins name scheme? Yes, tried the following variants :: *

Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Ajay Garg
Same result. Following are the locations of candidate files ::: [ajay@localhost ~]$ ls -l /usr/lib/squeak/ total 1984 drwxr-xr-x. 2 root root 4096 May 30 17:20 3.10-5 -rwxr-xr-x. 1 root root 674862 May 30 17:20

Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Bert Freudenberg
On 30.05.2012, at 13:55, Ajay Garg wrote: Same result. Following are the locations of candidate files ::: [ajay@localhost ~]$ ls -l /usr/lib/squeak/3.10-5/ -rwxr-xr-x. 1 root root 674862 May 30 17:24

Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Ajay Garg
Thanks Bert. It worked at my side too The mp3 played fine at my end though :| :) However, I now face the ubiquitous packaging issue. As it stands out, the src-rpm available is squeak-vm-3.10.5-5.fc14.src.rpm, which has some very different installation schemes as compared to the

Re: [Sugar-devel] Etoys mp3 files

2012-05-29 Thread Ajay Garg
Well, there are two different issues :: a) First is the data-store issue. As seen from the logs, the (mp3) file that was opened, was present in a USB pen drive. ANY ENTRY, when accessed via USB-pen-drive, will give this error (i.e. mp3, jpeg, png - any file). CAUSE :: === The code in

Re: [Sugar-devel] Etoys mp3 files

2012-05-29 Thread Bert Freudenberg
So problem a) is Sugar, problem b) squeak. I'll ignore a). For b): You do not need gstreamer, but rather Squeak's Mpeg3Plugin which has its own decoder. This is not shipped in Fedora due to mp3 licensing concerns. You need to copy it from an old UY bundle (there might be a x86 copy in some

Re: [Sugar-devel] Etoys mp3 files

2012-05-26 Thread Bert Freudenberg
On 25.05.2012, at 22:21, Rafael Ortiz wrote: On Thu, May 24, 2012 at 11:34 AM, Rafael Ortiz raf...@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

Re: [Sugar-devel] Etoys mp3 files

2012-05-26 Thread Peter Robinson
On Sat, May 26, 2012 at 12:54 PM, Bert Freudenberg b...@freudenbergs.de wrote: On 25.05.2012, at 22:21, Rafael Ortiz wrote: On Thu, May 24, 2012 at 11:34 AM, Rafael Ortiz raf...@activitycentral.com wrote: Hi While trying to add a journal entry (mp3 file) from etoys-113, i'm getting .An

Re: [Sugar-devel] Etoys mp3 files

2012-05-26 Thread Rafael Ortiz
On Sat, May 26, 2012 at 7:47 AM, Peter Robinson pbrobin...@gmail.comwrote: On Sat, May 26, 2012 at 12:54 PM, Bert Freudenberg b...@freudenbergs.de wrote: On 25.05.2012, at 22:21, Rafael Ortiz wrote: On Thu, May 24, 2012 at 11:34 AM, Rafael Ortiz raf...@activitycentral.com wrote:

Re: [Sugar-devel] Etoys mp3 files

2012-05-26 Thread Rafael Ortiz
On Sat, May 26, 2012 at 12:13 PM, Rafael Ortiz raf...@activitycentral.comwrote: On Sat, May 26, 2012 at 7:47 AM, Peter Robinson pbrobin...@gmail.comwrote: On Sat, May 26, 2012 at 12:54 PM, Bert Freudenberg b...@freudenbergs.de wrote: On 25.05.2012, at 22:21, Rafael Ortiz wrote:

Re: [Sugar-devel] Etoys mp3 files

2012-05-25 Thread Rafael Ortiz
On Thu, May 24, 2012 at 11:34 AM, Rafael Ortiz raf...@activitycentral.comwrote: 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

[Sugar-devel] Etoys mp3 files

2012-05-24 Thread Rafael Ortiz
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 org.vpri.EtoysActivity-2.log Description: Binary data ___ Sugar-devel