<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Good Sunday Lionel,<br>
</p>
<p>Thanks, I'll continue debugging the issue with you on the
specified Github issue, as it remains.</p>
<p>Regards!<br>
</p>
<p>Sebastian<br>
</p>
<br>
<div class="moz-cite-prefix">On 26/03/17 04:35, Lionel Laské wrote:<br>
</div>
<blockquote
cite="mid:CAA0v29AQpg5-pw6nUvDaf20rjAK3pMWJkQKbtQ7OwcstmoGEuQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Sebastian,
<div><br>
</div>
<div>I had to do more testing but I think I know where it come
from. It's related to a change made by Martin in Sugar 0.110
for Ubuntu 14.04 compatibility [1].</div>
<div>I'm going to fix it but I think that if you just change
"<a class="moz-txt-link-freetext" href="ws://">ws://</a><a moz-do-not-send="true" href="http://127.0.0.1">127.0.0.1</a>"
by "<a class="moz-txt-link-freetext" href="ws://">ws://</a><a moz-do-not-send="true" href="http://0.0.0.0">0.0.0.0</a>"
it should work.</div>
<div>I've opened a new issue in Sugarizer here [2].</div>
<div><br>
</div>
<div>Best regards.</div>
<div><br>
</div>
<div> Lionel.</div>
<div><br>
</div>
<div><br>
</div>
<div>[1] <a moz-do-not-send="true"
href="https://github.com/sugarlabs/sugar-web/commit/e17b17dc36e4dbe9d215daa8cc35169230b04149">https://github.com/sugarlabs/sugar-web/commit/e17b17dc36e4dbe9d215daa8cc35169230b04149</a></div>
<div>[2] <a moz-do-not-send="true"
href="https://github.com/llaske/sugarizer/issues/116">https://github.com/llaske/sugarizer/issues/116</a></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-03-25 17:43 GMT+01:00 Sebastian
Silva <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:sebastian@fuentelibre.org" target="_blank">sebastian@fuentelibre.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hi Lionel,</p>
<p>Thanks for your response!</p>
<p>Indeed there is an error in the Inspector Javascript
Console:</p>
<p>[Error] Invalid url for WebSocket
ws://127.0.0.1:undefined<br>
(anonymous function) (sugaros.js:19)<br>
(anonymous function) (env.js:29)</p>
<p>[Error] SyntaxError (DOM Exception 12): The string did
not match the expected pattern.<br>
(anonymous function) (sugaros.js:19)<br>
(anonymous function) (sugaros.js:19)<br>
(anonymous function) (env.js:29)</p>
<p>This can be reproduced by copying any activity (above
is from Stopwatch.activity) into ~/Activities in a Sugar
Desktop.<br>
</p>
When I switch the lib/sugar-web directory for the official
sugarlabs/sugar-web, then it works fine in Sugar 0.110,
but then, it doesn't work in Sugarizer anymore.<br>
<br>
Any help is appreciated.<br>
Regards<span class="HOEnZb"><font color="#888888"><br>
<br>
Sebastian</font></span>
<div>
<div class="h5"><br>
<br>
<div class="m_-8869122026196160587moz-cite-prefix">On
25/03/17 10:15, Lionel Laské wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Sebastian,
<div>
<div><br>
</div>
<div>When you said "no errors in the logs" do
you mean the Sugar log ?</div>
<div>Is there any error in the browser console
error ?</div>
<div><br>
</div>
<div>The symptom "activity icon not colored"
always means that the activity failed to
initialize Sugar-Web stack.</div>
<div>Specifically it means that
"activity.setup()" call failed (or never
happen). This call is here [1] in the
ActivityTemplate. May be you could inspect
what going wrong in your case on this call.</div>
<div><br>
</div>
<div>Best regards from France.</div>
<div><br>
</div>
<div> Lionel.</div>
</div>
<div><br>
</div>
<div>[1] <a moz-do-not-send="true"
href="https://github.com/llaske/sugarizer/blob/master/activities/ActivityTemplate/js/activity.js#L7"
target="_blank">https://github.com/llaske/<wbr>sugarizer/blob/master/<wbr>activities/ActivityTemplate/<wbr>js/activity.js#L7</a></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-03-25 16:09
GMT+01:00 Sebastian Silva <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:sebastian@fuentelibre.org"
target="_blank">sebastian@fuentelibre.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">I'm creating my first
web activity and I've used the
ActivityTemplate<br>
from Sugarizer repository.<br>
<br>
However I'm failing to get my activity to run
under Sugar.<br>
<br>
The same happens when I try to run any of the
Sugar-web activities<br>
contained in `activities/` directory of
Sugarizer repository.<br>
<br>
However when I download Markdown.activity from
ASLO, I am able to run it.<br>
<br>
The failure consists of the activity icon not
becoming colored and no<br>
datastore object being created. Furthermore,
there are no errors in the<br>
logs that I can find.<br>
<br>
I'm testing with Sugar 0.110 as packaged in
Debian Testing.<br>
<br>
Thanks for your help and hard work!<br>
<span class="m_-8869122026196160587HOEnZb"><font
color="#888888"><br>
Sebastian<br>
<br>
<br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>