<div dir="ltr"><br><div>Hi Sam,</div><div><br></div><div>To be honest, I'm not familiar with volo.</div><div>May be you could start with Sugarizer development environment: just copy/paste the Sugarizer source code then follow instructionq in the Sugarizer part of the <a href="https://developer.sugarlabs.org/activity.md.html" target="_blank" style="font-family:monospace,monospace;font-size:12.8px">https://developer.sugarlabs.org/activity.md.html</a> file.</div><div><br></div><div>Best regards from France.</div><div><br></div><div>           Lionel.</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-18 11:23 GMT+01:00 Sam P. <span dir="ltr"><<a href="mailto:sam@sam.today" target="_blank">sam@sam.today</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Mukund!<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 18, 2016 at 5:24 PM, mukund code <span dir="ltr"><<a href="mailto:mukund.code@gmail.com" target="_blank">mukund.code@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px"><font face="monospace, monospace">Hi guys,</font></div><div style="font-size:12.8px"><font face="monospace, monospace"><br></font></div><div style="font-size:12.8px"><font face="monospace, monospace">I am new to Sugar. I am currently going through the tutorial posted here:</font></div><div style="font-size:12.8px"><font face="monospace, monospace"><a href="https://developer.sugarlabs.org/activity.md.html" target="_blank">https://developer.sugarlabs.org/activity.md.html</a></font></div><div style="font-size:12.8px"><font face="monospace, monospace"><br></font></div><div style="font-size:12.8px"><font face="monospace, monospace">I created a sample activity(using exactly the same instructions given in the tutorial). In the console, I noticed the following error:</font></div><div style="font-size:12.8px"><font face="monospace, monospace"><br></font></div><div style="font-size:12.8px"><font face="monospace, monospace">Error: Load timeout for modules: webL10n</font></div><div style="font-size:12.8px"><font face="monospace, monospace"><a href="http://require.js.org/docs/errros.html#timeout" target="_blank">http://require.js.org/docs/errros.html#timeout</a></font></div><div style="font-size:12.8px"><font face="monospace, monospace">onError</font></div><div style="font-size:12.8px"><font face="monospace, monospace">onError</font></div><div style="font-size:12.8px"><font face="monospace, monospace">checkLoaded</font></div><div style="font-size:12.8px"><font face="monospace, monospace">(anonymous function)</font></div><div style="font-size:12.8px"><font face="monospace, monospace"><br></font></div><div style="font-size:12.8px"><font face="monospace, monospace">I tried:</font></div><div style="font-size:12.8px"><font face="monospace, monospace">volo add webL10n</font></div><div style="font-size:12.8px"><font face="monospace, monospace"><br></font></div><div style="font-size:12.8px"><font face="monospace, monospace">It gave me a 301 error.</font></div></div></blockquote><div><br></div><div>That's funny.  301 shouldn't be an error, 3xx codes are redirect codes [1].</div><div><br></div><div>I don't involve my self with too many crazy nodejs things, but presenting</div><div>a 3xx code as an error sounds well within the relm of possibility</div><div>for some of these funny libraries.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px"><font face="monospace, monospace"><br></font></div><div style="font-size:12.8px"><font face="monospace, monospace">I then tried:</font></div><div style="font-size:12.8px"><font face="monospace, monospace">volo add <a href="https://github.com/fabi1cazenave/webL10n" target="_blank">https://github.com/fabi1cazenave/webL10n</a></font></div><div style="font-size:12.8px"><font face="monospace, monospace"><br></font></div><div style="font-size:12.8px"><font face="monospace, monospace">which successfully installed webL10n. But the error still appears in the</font></div><div style="font-size:12.8px"><font face="monospace, monospace">console. </font></div></div></blockquote><div><br></div><div>Did the info at [2] help?</div><div><br></div><div>If not, maybe post your activity on github and try to find</div><div>somebody who knows about this js stuff to have a look</div><div>(CC Lionel).</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px"><font face="monospace, monospace"><br></font></div><div style="font-size:12.8px"><font face="monospace, monospace">Also, I am not able to load any dynamic content using mustache(despite having a successful volo add) or console log out a statement when "my-button" ( <a href="https://developer.sugarlabs.org/activity.md.html#first%20steps" target="_blank">https://developer.sugarlabs.org/activity.md.html#first%20steps</a>) is clicked. I guess all of this is possible once js/activity.js. That loading happens via lib/require.js. But that script is giving me this error. I don't see any failed fetches in the Network tab of the console window also. </font></div></div></blockquote><div><br></div><div>Where did you put the console.log statements in the code?</div><div>Were they within the require.js callback?<br></div><div>If so, maybe your problems are all interconnected.</div><div><br></div><div>Thanks,</div><div>Sam</div><div><br></div><div>[1]  <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.2" target="_blank">http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.2</a></div><div>[2]  <a href="http://requirejs.org/docs/errors.html#timeout" target="_blank">http://requirejs.org/docs/errors.html#timeout</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px"><span style="font-family:monospace,monospace;font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-family:monospace,monospace;font-size:12.8px">Would be glad if someone helped out.</span></div><div style="font-size:12.8px"><span style="font-family:monospace,monospace;font-size:12.8px">Thanks!</span></div></div>
<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" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div></div>