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

laurent bernabe laurent.bernabe at gmail.com
Wed Dec 10 18:34:52 EST 2014


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
>>>
>>> 2014-12-03 15:40 GMT+01:00 <sugar-devel-request at lists.sugarlabs.org>:
>>>>
>>>> Date: Wed, 03 Dec 2014 10:50:05 +0000
>>>> From: Iain Brown Douglas <iain at browndouglas.plus.com>
>>>> To: laurent bernabe <laurent.bernabe at gmail.com>
>>>> Cc: Sugar Devel <sugar-devel at lists.sugarlabs.org>, Lionel Lask?
>>>>         <lionel at olpc-france.org>
>>>> Subject: Re: [Sugar-devel] Starting a new web activity : problem when
>>>>         closing activity, and with icon design
>>>> Message-ID: <1417603805.3476.2.camel at vey-waldorf>
>>>> Content-Type: text/plain; charset="UTF-8"
>>>>
>>>> You could eliminate that by substituting a known working .svg borrowed
>>>> from another activity.
>>>>
>>>> Iain
>>>> On Wed, 2014-12-03 at 11:16 +0100, laurent bernabe wrote:
>>>> > My intuition is that I've misued stroke and fill entities, though I
>>>> > processed the icon with the sugariconify script.
>>>> > Indeed, in Sugarizer, my activity icon is different than the others
>>>> > (screenshot provided).
>>>> >
>>>> >
>>>> > Regards
>>>> >
>>>> > 2014-12-03 1:00 GMT+01:00 laurent bernabe <laurent.bernabe at gmail.com
>>>> >:
>>>> >         Hi,
>>>> >
>>>> >
>>>> >         I've replaced the content of
>>>> >
>>>>  <sugar-build>/activities/simple-tictactoe-activity/lib/sugar-web folder
>>>> with the <sugar-build>/activities/ActivityTemplate/lib/sugar-web folder.
>>>> >         But I still can't close my application with the stop button.
>>>> >
>>>> >
>>>> >         Even after having restarted the chrome navigator (keeping the
>>>> >         flag --allow-access-from-files).
>>>> >
>>>> >
>>>> >         Regards
>>>> >
>>>> >         2014-12-02 19:04 GMT+01:00 Lionel Lask?
>>>> >         <lionel at olpc-france.org>:
>>>> >                 It's a nice first start.
>>>> >                 Now replace your lib/sugar-web directory with the one
>>>> >                 from lib/ActivityTemplate directory.
>>>> >                 It should work.
>>>> >
>>>> >
>>>> >                           Lionel
>>>>
>>>
>>> _______________________________________________
>>> Sugar-devel mailing list
>>> Sugar-devel at lists.sugarlabs.org
>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>>
>>
>>
>> --
>> Laurent Bernabé
>>
>> laurent.bernabe at gmail.com
>>
>
>


-- 
Laurent Bernabé

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


More information about the Sugar-devel mailing list