<div dir="ltr">Eliot,<div><br></div><div>Here the output of ps ww PID command.</div><div><br></div><div>XO:</div><div><br></div><div><div>PID TTY      STAT   TIME COMMAND</div><div>  976 ?        S      0:22 /usr/lib/squeak/4.10.2-2614/squeakvm -encoding UTF-8 -vm-display-x11 -xshm -sugarBundleId org.vpri.EtoysActivity -sugarActivityId d25f8c2f9a19397ce914965abf04ed31b3f6b0ea -vm-sound-ALSA /usr/share/etoys/etoys.image  BUNDLE_PATH /home/olpc/Activities/Etoys.activity SQUEAKLETS /home/olpc/.sugar/default/org.vpri.EtoysActivity/instance BUNDLE_ID org.vpri.EtoysActivity ACTIVITY_ID d25f8c2f9a19397ce914965abf04ed31b3f6b0ea</div>

</div><div><br></div><div><br></div><div>CM:</div><div><br></div><div><div><div>PID TTY      STAT   TIME COMMAND</div><div> 5912 ?        Rl     0:06 /usr/lib/squeak/4.4.7-2357/squeakvm -encoding UTF-8 -vm-display-x11 -xshm -sugarBundleId org.vpri.EtoysActivity -sugarActivityId c03be0a816bee1440f701b7d3b504b0968cb3274 -vm-sound-pulse /usr/share/etoys/etoys.image BUNDLE_PATH /usr/share/sugar/activities/Etoys.activity SQUEAKLETS /home/gustavo-cm1/.sugar/default/org.vpri.EtoysActivity/instance BUNDLE_ID org.vpri.EtoysActivity ACTIVITY_ID c03be0a816bee1440f701b7d3b504b0968cb3274</div>

</div></div><div><br></div><div><br></div><div>Seem the script that start squeak is ok, right ?</div><div><br></div><div><br></div><div>thanks in advance</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Dec 5, 2013 at 4:14 PM, Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Thu, Dec 5, 2013 at 5:30 AM, Gustavo Duarte <span dir="ltr">&lt;<a href="mailto:gduarte@activitycentral.com" target="_blank">gduarte@activitycentral.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Following with my research, as you suggested, i checked the what parameters I&#39;m passing at starting of squeak VM.</div>

<div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">I executed &quot;SmalltalkImage current extractParameters&quot; on a XO (where Etoys is working fine and on a ClassMate with Ubuntu)</div><div style="font-family:arial,sans-serif;font-size:13px">


<br></div><div style="font-family:arial,sans-serif;font-size:13px">Te result are:</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">On XO: <a href="http://ubuntuone.com/1e1XxvDx6v41HUOyIDUoLS" target="_blank">http://ubuntuone.com/1e1XxvDx6v41HUOyIDUoLS</a></div>


<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">On CM: <a href="http://ubuntuone.com/0NEk59zYasxeEL0sMlEjZs" target="_blank">http://ubuntuone.com/0NEk59zYasxeEL0sMlEjZs</a></div>


<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">As you can see, on CM (Ubuntu) the Dictionary has the key-value inverted.<br></div><div style="font-family:arial,sans-serif;font-size:13px">


<br></div><div style="font-family:arial,sans-serif;font-size:13px">I got an echo output from script etoys of classmate, as you can see bellow.</div><div style="font-family:arial,sans-serif;font-size:13px">Seems the passing argument is correct, right ?</div>


<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">ECHO OUTPUT:</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">


<span style="font-family:arial;font-size:small">exec  squeak -encoding UTF-8 -vm-display-x11 -xshm -sugarBundleId org.vpri.EtoysActivity -sugarActivityId fb6717c7fece5e96de49f74ead6b01110228f086 -vm-sound-pulse /usr/share/etoys/etoys.image   BUNDLE_PATH /usr/share/sugar/activities/Etoys.activity SQUEAKLETS /home/gustavo/.sugar/default/org.vpri.EtoysActivity/instance BUNDLE_ID org.vpri.EtoysActivity ACTIVITY_ID fb6717c7fece5e96de49f74ead6b01110228f086</span></div>


<div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small"><br></span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small"><br>


</span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small">For what reason the the key-values of Dictionary are inverted ?</span></div></div></blockquote><div><br>

</div></div><div>what&#39;s the output of ps ww PID for the running process on XO and CM?  That should show you what arguments have been passed to the VM.  If the arguments look screwy the bug is in the launch script.  If they don&#39;t look screwy the problem is in the VM.</div>
<div><div class="h5">
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial;font-size:small"><br></span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small">Another thing, that could you me suggest to follow ?</span></div>


<div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small"><br></span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small">Thanks in advance.</span></div>


<div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small"><br></span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small">Gustavo.</span></div>


</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 4, 2013 at 11:01 PM, Gustavo Duarte <span dir="ltr">&lt;<a href="mailto:gduarte@activitycentral.com" target="_blank">gduarte@activitycentral.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">HI David,<div><br></div><div>You are right, the output of: &quot;<span style="font-family:arial,sans-serif;font-size:13px">SmalltalkImage current extractParameters&quot; is an empty Dictionary.</span></div>


<div>
<br></div><div>Many thanks for the clue, now i have to figure out, why the parameter passing isn&#39;t working.</div><div><br></div><div>Regards.</div><span><font color="#888888"><div><br></div><div>Gustavo.</div>
</font></span></div><div><div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, Dec 4, 2013 at 1:13 PM, David Corking <span dir="ltr">&lt;<a href="mailto:lists@dcorking.com" target="_blank">lists@dcorking.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Yesterday Gustavo Duarte wrote<br>
<div>&gt; I installed last version of Etoys:<br>
&gt; <a href="http://etoys.squeak.org/download/Etoys-To-Go-5.0.1-RC4.zip" target="_blank">http://etoys.squeak.org/download/Etoys-To-Go-5.0.1-RC4.zip</a> on machine<br>
&gt;<br>
&gt; The problem that we are having is, when from Etoys, when I trying to save<br>
&gt; the project, journal option isn&#39;t showed on menu.<br>
<br>
</div>Welcome Gustavo!<br>
<br>
I am sorry, I haven&#39;t the bandwidth to try the versions you need, and<br>
I don&#39;t know the<br>
relevant classes deeply. Instead I had a quick look at Etoys 5.0 in<br>
Sugar 0.98 in Fedora 19. You may already have tried this:<br>
<br>
Print<br>
<br>
  SugarLauncher new isRunningInSugar<br>
<br>
That should be true. If it is false, the navigator flap will not show<br>
the journal buttons.<br>
<br>
If it is false, then print<br>
<br>
  SmalltalkImage current extractParameters<br>
<br>
It should be a dictionary that includes parameters set by the<br>
Sugar launch script. In the older version of Sugar I have here, they<br>
are ACTIVITY_ID, BUNDLE_ID, BUNDLE_PATH, SQUEAKLETS<br>
<br>
If not, I would suggest a look at the python and shell scripts that<br>
launch Etoys.<br>
<br>
Have fun! David<br>
<br>
p.s. I expect your question will be welcome on the etoys-dev mailing list:<br>
<a href="http://lists.squeakland.org/mailman/listinfo/etoys-dev" target="_blank">http://lists.squeakland.org/mailman/listinfo/etoys-dev</a><br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
<br><br>
<br></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</font></span></div></div>
<br><br>
<br></blockquote></div><br></div>