[Sugar-devel] Starting a new web activity : problem when closing activity, and with icon design

laurent bernabe laurent.bernabe at gmail.com
Thu Dec 11 11:01:50 EST 2014


Hi,

I can confirm you that all required libraries (text.js, domReady.js and
webL10n.js) are now in the project folder.

But even in sugarizer, my activity doesn't close.

Here is the browser errors :

__________________________________________________________
Invalid url for websocket ws://localhost:undefined (index.html:1)
Syntax error: DOM exception 12 : Invalid or illegal string was specified
(sugar.js:19)
__________________________________________________________

Regards

2014-12-11 15:12 GMT+01:00 Lionel Laské <lionel at olpc-france.org>:

>
> Could you confirm that missing js files now appears in your repository ?
> Do you test it both on Sugar and in Sugarizer ?
> Do you have any error in the log ? Browser log in Sugarizer or using
> ctrl+shift+i in Sugar.
>
>                Lionel.
>
>
> 2014-12-11 0:34 GMT+01:00 laurent bernabe <laurent.bernabe at gmail.com>:
>
>> Hi,
>>
>> so I've done a git pull (simply calling git pull on my project root
>> directory), but I've still got problems for closing the activity.
>>
>> As for the project creation, i've launched the command written in the
>> documentation
>>
>> _______________________________________________
>>
>>  volo create simple-tictactoe-activity ./sugar-web-template
>>
>> __________________________________________________
>>
>> Regards
>>
>> 2014-12-10 12:46 GMT+01:00 Lionel Laské <lionel at olpc-france.org>:
>>
>>>
>>> Yes, you need to git pull from your local repository to see my changes.
>>>
>>> Regarding missing libraries, I'm not sure to understand why. I guessed
>>> that you've done a wrong copy of the sugar-web-template but libraries are
>>> not in the repository [1]. So not sure that a pull on sugar-build could
>>> change the problem.
>>> However, how do you create your activity ? Do you really call "volo
>>> create my-activity ./sugar-web-template" like described here [2] ?
>>>
>>>           Lionel.
>>>
>>> [1] https://github.com/sugarlabs/sugar-web-template
>>> [2] https://github.com/sugarlabs/sugar-docs/blob/master/activity.md
>>>
>>> 2014-12-09 22:13 GMT+01:00 laurent bernabe <laurent.bernabe at gmail.com>:
>>>
>>>> Hi Lionel,
>>>>
>>>> Thank you very much, I've merged your pull request.
>>>> Do I need to pull the changes from my repository ? (I am asking, as it
>>>> is my very first pull merge from a repository)
>>>>
>>>> As for the missing libraries, do you advice me to do a pull on
>>>> sugar-build, so that one new activity won't miss these ?
>>>>
>>>> Regards
>>>>
>>>> 2014-12-09 22:02 GMT+01:00 Lionel Laské <lionel at olpc-france.org>:
>>>>
>>>>>
>>>>> Hi Laurent,
>>>>>
>>>>> I've worked on your icon issue and solved it (sent you a pull request
>>>>> [1]).
>>>>> Shortly, some needed js library was missing: domReady.js, text.js and
>>>>> webL10n.js.
>>>>> It's why it doesn't work.
>>>>> I've also replaced the sugar-web library version by the one working
>>>>> both on Sugar and Sugarizer.
>>>>> Tested on Sugarizer, it works now.
>>>>>
>>>>> Best regards from France.
>>>>>
>>>>>               Lionel.
>>>>>
>>>>> [1] https://github.com/loloof64/olpc-simple-tictactoe-activity/pull/1
>>>>>
>>>>>
>>>>>


-- 
Laurent Bernabé

laurent.bernabe at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20141211/a4e3f201/attachment-0001.html>


More information about the Sugar-devel mailing list