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

2014-12-11 Thread Lionel Laské
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.bern...@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é lio...@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.bern...@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é lio...@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



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-12-11 Thread laurent bernabe
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é lio...@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.bern...@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é lio...@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.bern...@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é lio...@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.bern...@gmail.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-12-11 Thread Lionel Laské
Strange. Perfectly work here in Sugarizer.
Don't understand your error log:
- The first mean that you're not in Sugarizer (websocket is the way to
communicate between sugar-web in Sugar and Sugar python),
- I don't understand what is sugar.js file. There is now such file
neither in your repository, neither in Sugarizer, neither in sugar-web...
Could share your whole Sugarizer environment somewhere ?

 Lionel.



2014-12-11 17:01 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 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



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-12-11 Thread laurent bernabe
Hi, I've created a new github project for hosting my sugar build
environment :

https://github.com/loloof64/my_sugarizer_environment.git

But as you can see, I did not manage to push the simple tic tac toe
activity.

I've tried to add it (git add activities/simple-tictactoe-activity/*) but I
got an error message :

___
fatal: Le chemin 'activities/simple-tictactoe-activity/activity' est dans
le sous-module 'activities/simple-tictactoe-activity'
_

Regards

2014-12-11 22:00 GMT+01:00 Lionel Laské lio...@olpc-france.org:


 Strange. Perfectly work here in Sugarizer.
 Don't understand your error log:
 - The first mean that you're not in Sugarizer (websocket is the way to
 communicate between sugar-web in Sugar and Sugar python),
 - I don't understand what is sugar.js file. There is now such file
 neither in your repository, neither in Sugarizer, neither in sugar-web...
 Could share your whole Sugarizer environment somewhere ?

  Lionel.



 2014-12-11 17:01 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 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





-- 
Laurent Bernabé

laurent.bern...@gmail.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-12-10 Thread Iain Brown Douglas
On Wed, 2014-12-03 at 19:42 +0100, laurent bernabe wrote:
 Hi
 
 
 I am aware this could be the solution.
 Meanwhile, I would like to use a custom icon, as the idea behind the
 icon I designed is more related to my activity.
 
 
 In fact :
  1. In a first time, I used black lines for the cell lines, and
 blue/red colors for circles and crosses
  2. I replaced all tokens fill color (circles and crosses) by
 green color
  3. Then I tried to follow the sugar icon guidelness, replacing
 black color with stroke-color entity, and green color with
 fill-color entity, first manually, then removing all changes
Hi Laurent,

Did you try opening your .svg in a text editor to look for clues? 

Iain

  1. and trying with sugariconify script instead.


 So my guess is that I did the wrong choice for fill and stroke colors,
 when creating entities.


 
 Regards
 
 2014-12-03 11:50 GMT+01:00 Iain Brown Douglas
 i...@browndouglas.plus.com:
 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.bern...@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é
  lio...@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
 
  2014-12-02 11:04 GMT+01:00 laurent bernabe
  laurent.bern...@gmail.com:
  Hi again,
 
 
  Restarting my computer, I was
 finally able to
  run sugarizer in my chrome instance.
  Meanwhile, I can't close my
 application
  (Simple Tic Tagardsc Toe).
 
 
  regards
 
  2014-12-01 18:42 GMT+01:00 laurent
 bernabe
  laurent.bern...@gmail.com:
  I am just using the
 modified chrome
  instance (with allow access
 from
  file), but I am still
 getting the same
  errors in the navigator
 console.
 
 
 
 
  Regards
 
  2014-12-01 15:57 GMT+01:00
 Lionel
  Laské
 lio...@olpc-france.org:
 
 
  2014-12-01 15:25 GMT
 +01:00
  laurent bernabe
 
  laurent.bern...@gmail.com:
 
 
  So it seems
 that the
  option is
 not taken
  into account
 from my
  Chrome
 instance.
  I will look
 for
  another way
 (like in
 
  settings:// ?) to set
  this option.
 
 
  Ensure that no other
 instance
  is running. If one
 instance is
   

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

2014-12-10 Thread laurent bernabe
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é lio...@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.bern...@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é lio...@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-requ...@lists.sugarlabs.org:

 Date: Wed, 03 Dec 2014 10:50:05 +
 From: Iain Brown Douglas i...@browndouglas.plus.com
 To: laurent bernabe laurent.bern...@gmail.com
 Cc: Sugar Devel sugar-devel@lists.sugarlabs.org, Lionel Lask?
 lio...@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@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.bern...@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?
  lio...@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@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




 --
 Laurent Bernabé

 laurent.bern...@gmail.com





-- 
Laurent Bernabé

laurent.bern...@gmail.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-12-09 Thread Lionel Laské
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-requ...@lists.sugarlabs.org:

 Date: Wed, 03 Dec 2014 10:50:05 +
 From: Iain Brown Douglas i...@browndouglas.plus.com
 To: laurent bernabe laurent.bern...@gmail.com
 Cc: Sugar Devel sugar-devel@lists.sugarlabs.org, Lionel Lask?
 lio...@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@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.bern...@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?
  lio...@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@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-12-03 Thread Iain Brown Douglas
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.bern...@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é
 lio...@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
 
 2014-12-02 11:04 GMT+01:00 laurent bernabe
 laurent.bern...@gmail.com:
 Hi again,
 
 
 Restarting my computer, I was finally able to
 run sugarizer in my chrome instance.
 Meanwhile, I can't close my application
 (Simple Tic Tagardsc Toe).
 
 
 regards
 
 2014-12-01 18:42 GMT+01:00 laurent bernabe
 laurent.bern...@gmail.com:
 I am just using the modified chrome
 instance (with allow access from
 file), but I am still getting the same
 errors in the navigator console.
 
 
 
 
 Regards
 
 2014-12-01 15:57 GMT+01:00 Lionel
 Laské lio...@olpc-france.org:
 
 
 2014-12-01 15:25 GMT+01:00
 laurent bernabe
 laurent.bern...@gmail.com:
 
 
 So it seems that the
 option is not taken
 into account from my
 Chrome instance.
 I will look for
 another way (like in
 settings:// ?) to set
 this option.
 
 
 Ensure that no other instance
 is running. If one instance is
 running, it's not possible to
 start one another with another
 setting.
 
 
 Lionel.
 
 
 
 
 -- 
 Laurent Bernabé 
 
 
 laurent.bern...@gmail.com
 
 
 
 
 -- 
 Laurent Bernabé 
 
 
 laurent.bern...@gmail.com
 
 
 
 
 
 
 -- 
 Laurent Bernabé 
 
 
 laurent.bern...@gmail.com
 
 
 
 
 -- 
 Laurent Bernabé 
 
 
 laurent.bern...@gmail.com
 ___
 

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

2014-12-03 Thread Lionel Laské
Ooch, it's a key issue.

In practice, an activity using the Sugarizer sugar-web version could work
both on Sugarizer and Sugar without any change. The bad news is that the
reverse is not true - today.

The problem is that of course, sugar-web must have a different
implementation for Sugarizer and for Sugar. For the datastore for example,
in Sugar the JavaScript code should call Python datastore API, and in
Sugarizer the JavaScript code should call the HTML5 local storage.
From the beginning, sugar-web for Sugarizer use exactly the same interface
than the one for Sugar. It's why there is no need to change an activity
between Sugar and Sugarizer. More, in sugar-web for Sugarizer, both source
code are separate to avoid confusion and collision [1].

However, the multiple attempt I've done to integrate this Sugarizer
specific code into sugar-web repository has failed. All my pull request has
been refused [2]. I must confess that I've lost the courage to insist about
that thought I'm still convinced like you that we should have an unique
sugar-web version. So any help to work on this is welcome.

   Lionel.

[1]
https://github.com/llaske/sugarizer/blob/master/activities/ActivityTemplate/lib/sugar-web/datastore.js
[2] https://github.com/sugarlabs/sugar-web/pull/112


2014-12-02 19:06 GMT+01:00 Gonzalo Odiard godi...@sugarlabs.org:

 Hi Lionel,
 Why we need two different versions of sugar-web?
 That in practice makes the same activity can't run in both environments...

 Gonzalo

 On Tue, Dec 2, 2014 at 3:04 PM, Lionel Laské lio...@olpc-france.org
 wrote:

 It's a nice first start.
 Now replace your lib/sugar-web directory with the one from
 lib/ActivityTemplate directory.
 It should work.

   Lionel

 2014-12-02 11:04 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 Hi again,

 Restarting my computer, I was finally able to run sugarizer in my chrome
 instance.
 Meanwhile, I can't close my application (Simple Tic Tagardsc Toe).

 regards

 2014-12-01 18:42 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 I am just using the modified chrome instance (with allow access from
 file), but I am still getting the same errors in the navigator console.


 Regards

 2014-12-01 15:57 GMT+01:00 Lionel Laské lio...@olpc-france.org:



 2014-12-01 15:25 GMT+01:00 laurent bernabe laurent.bern...@gmail.com
 :


 So it seems that the option is not taken into account from my Chrome
 instance.
 I will look for another way (like in settings:// ?) to set this
 option.

 Ensure that no other instance is running. If one instance is running,
 it's not possible to start one another with another setting.

 Lionel.




 --
 Laurent Bernabé

 laurent.bern...@gmail.com




 --
 Laurent Bernabé

 laurent.bern...@gmail.com



 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




 --
 Gonzalo Odiard

 SugarLabs - Software for children learning

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-12-03 Thread laurent bernabe
Hi

I am aware this could be the solution.
Meanwhile, I would like to use a custom icon, as the idea behind the icon I
designed is more related to my activity.

In fact :

   1. In a first time, I used black lines for the cell lines, and blue/red
   colors for circles and crosses
   2. I replaced all tokens fill color (circles and crosses) by green color
   3. Then I tried to follow the sugar icon guidelness, replacing black
   color with stroke-color entity, and green color with fill-color entity,
   first manually, then removing all changes and trying with sugariconify
   script instead.

So my guess is that I did the wrong choice for fill and stroke colors, when
creating entities.

Regards

2014-12-03 11:50 GMT+01:00 Iain Brown Douglas i...@browndouglas.plus.com:

 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.bern...@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é
  lio...@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
 
  2014-12-02 11:04 GMT+01:00 laurent bernabe
  laurent.bern...@gmail.com:
  Hi again,
 
 
  Restarting my computer, I was finally able to
  run sugarizer in my chrome instance.
  Meanwhile, I can't close my application
  (Simple Tic Tagardsc Toe).
 
 
  regards
 
  2014-12-01 18:42 GMT+01:00 laurent bernabe
  laurent.bern...@gmail.com:
  I am just using the modified chrome
  instance (with allow access from
  file), but I am still getting the same
  errors in the navigator console.
 
 
 
 
  Regards
 
  2014-12-01 15:57 GMT+01:00 Lionel
  Laské lio...@olpc-france.org:
 
 
  2014-12-01 15:25 GMT+01:00
  laurent bernabe
  laurent.bern...@gmail.com:
 
 
  So it seems that the
  option is not taken
  into account from my
  Chrome instance.
  I will look for
  another way (like in
  settings:// ?) to set
  this option.
 
 
  Ensure that no other instance
  is running. If one instance is
  running, it's not possible to
  start one another with another
  setting.
 
 
  Lionel.
 
 
 
 
  --
  Laurent Bernabé
 
 
  laurent.bern...@gmail.com
 
 
 
 
  --
  Laurent Bernabé
 
 
  laurent.bern...@gmail.com
 
 
 
 
 
 
  --
  Laurent Bernabé
 
 
  laurent.bern...@gmail.com
 
 
 
 
  --
  Laurent Bernabé
 
 
  laurent.bern...@gmail.com
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel





-- 
Laurent Bernabé

laurent.bern...@gmail.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-12-02 Thread laurent bernabe
Hi again,

Restarting my computer, I was finally able to run sugarizer in my chrome
instance.
Meanwhile, I can't close my application (Simple Tic Tagardsc Toe).

regards

2014-12-01 18:42 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 I am just using the modified chrome instance (with allow access from
 file), but I am still getting the same errors in the navigator console.


 Regards

 2014-12-01 15:57 GMT+01:00 Lionel Laské lio...@olpc-france.org:



 2014-12-01 15:25 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:


 So it seems that the option is not taken into account from my Chrome
 instance.
 I will look for another way (like in settings:// ?) to set this option.

 Ensure that no other instance is running. If one instance is running,
 it's not possible to start one another with another setting.

 Lionel.




 --
 Laurent Bernabé

 laurent.bern...@gmail.com




-- 
Laurent Bernabé

laurent.bern...@gmail.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-12-02 Thread Lionel Laské
It's a nice first start.
Now replace your lib/sugar-web directory with the one from
lib/ActivityTemplate directory.
It should work.

  Lionel

2014-12-02 11:04 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 Hi again,

 Restarting my computer, I was finally able to run sugarizer in my chrome
 instance.
 Meanwhile, I can't close my application (Simple Tic Tagardsc Toe).

 regards

 2014-12-01 18:42 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 I am just using the modified chrome instance (with allow access from
 file), but I am still getting the same errors in the navigator console.


 Regards

 2014-12-01 15:57 GMT+01:00 Lionel Laské lio...@olpc-france.org:



 2014-12-01 15:25 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:


 So it seems that the option is not taken into account from my Chrome
 instance.
 I will look for another way (like in settings:// ?) to set this option.

 Ensure that no other instance is running. If one instance is running,
 it's not possible to start one another with another setting.

 Lionel.




 --
 Laurent Bernabé

 laurent.bern...@gmail.com




 --
 Laurent Bernabé

 laurent.bern...@gmail.com

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-12-02 Thread Gonzalo Odiard
Hi Lionel,
Why we need two different versions of sugar-web?
That in practice makes the same activity can't run in both environments...

Gonzalo

On Tue, Dec 2, 2014 at 3:04 PM, Lionel Laské lio...@olpc-france.org wrote:

 It's a nice first start.
 Now replace your lib/sugar-web directory with the one from
 lib/ActivityTemplate directory.
 It should work.

   Lionel

 2014-12-02 11:04 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 Hi again,

 Restarting my computer, I was finally able to run sugarizer in my chrome
 instance.
 Meanwhile, I can't close my application (Simple Tic Tagardsc Toe).

 regards

 2014-12-01 18:42 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 I am just using the modified chrome instance (with allow access from
 file), but I am still getting the same errors in the navigator console.


 Regards

 2014-12-01 15:57 GMT+01:00 Lionel Laské lio...@olpc-france.org:



 2014-12-01 15:25 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:


 So it seems that the option is not taken into account from my Chrome
 instance.
 I will look for another way (like in settings:// ?) to set this option.

 Ensure that no other instance is running. If one instance is running,
 it's not possible to start one another with another setting.

 Lionel.




 --
 Laurent Bernabé

 laurent.bern...@gmail.com




 --
 Laurent Bernabé

 laurent.bern...@gmail.com



 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




-- 
Gonzalo Odiard

SugarLabs - Software for children learning
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-12-02 Thread laurent bernabe
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é lio...@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

 2014-12-02 11:04 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 Hi again,

 Restarting my computer, I was finally able to run sugarizer in my chrome
 instance.
 Meanwhile, I can't close my application (Simple Tic Tagardsc Toe).

 regards

 2014-12-01 18:42 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 I am just using the modified chrome instance (with allow access from
 file), but I am still getting the same errors in the navigator console.


 Regards

 2014-12-01 15:57 GMT+01:00 Lionel Laské lio...@olpc-france.org:



 2014-12-01 15:25 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:


 So it seems that the option is not taken into account from my Chrome
 instance.
 I will look for another way (like in settings:// ?) to set this option.

 Ensure that no other instance is running. If one instance is running,
 it's not possible to start one another with another setting.

 Lionel.




 --
 Laurent Bernabé

 laurent.bern...@gmail.com




 --
 Laurent Bernabé

 laurent.bern...@gmail.com





-- 
Laurent Bernabé

laurent.bern...@gmail.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-12-01 Thread Lionel Laské
Look like you didn't launch Chrome using the
--allow-file-access-from-files option.
See [1]. Seeing the Chrome console error log could help too.

   Lionel.


[1] http://sugarizer.org/#client

2014-12-01 14:52 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 Apologizing, I forgot to attach the screenshot

 Regards

 2014-12-01 11:44 GMT+01:00 Lionel Laské lio...@olpc-france.org:

 Hi Laurent,

 No screenshot include :-(

   Lionel.

 2014-11-30 15:20 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 Hello again,

 I've just copied my activity inside Sugarizer, updated activity.json,
 but I can't launch any activity inside my Sugarizer session (I've joined a
 screenshot).
 Also, I don't know if I can find a log file so that I could join it to
 the mail also.

 Regards

 2014-11-30 15:10 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 Thank you, I could launch a chrome session with file access with the
 second link (Cliff's answer).
 Now I am going to try my activity into Sugarizer, and will report
 issues if anyone occurs.

 Regards

 2014-11-30 15:04 GMT+01:00 Iain Brown Douglas 
 i...@browndouglas.plus.com:

 try


 http://askubuntu.com/questions/369310/how-to-fix-missing-libudev-so-0-for-chrome-to-start-again

 or


 http://askubuntu.com/questions/288821/how-do-i-resolve-a-cannot-open-shared-object-file-libudev-so-0-error

 On Sun, 2014-11-30 at 12:02 +0100, laurent bernabe wrote:
  Thank you for your answer.
 
 
  I've installed the official ubuntu package for Chrome, with the
  command
 
 
  sudo dpkg -i chrome_pakage
 
 
  So I am able to launch chrome from the Kubuntu menu icon.
 
 
  Meanwhile, I get an error when I launch it from terminal (problem
 with
  libudev)
 
 ___
 
 
  $ /opt/google/chrome$ ./chrome --allow-file-access-from-files
  ./chrome: error while loading shared libraries: libudev.so.0: cannot
  open shared object file: No such file or directory
 
 
 
 
  Regards
 
 
 
  2014-11-29 21:43 GMT+01:00 Lionel Laské lio...@olpc-france.org:
 
 
  Hi Laurent,
 
 
  Could you try your activity in Sugarizer Client ?
  Just change the sugar web library to get the one compatible
  both with Sugar/Sugarizer and it should work.
  Instruction here [1] and here [2].
 
 
 Lionel.
 
 
  [1] http://developer.sugarlabs.org/activity.md.html
  [2] http://sugarizer.org/#client
 
 
 
  Date: Fri, 28 Nov 2014 23:10:47 +0100
  From: laurent bernabe laurent.bern...@gmail.com
  To: Gonzalo Odiard godi...@sugarlabs.org
  Cc: Sugar Devel sugar-devel@lists.sugarlabs.org
  Subject: Re: [Sugar-devel] Starting a new web
  activity : problem when
  closing activity, and with icon design
  Message-ID:
 
  CAH8mndKz6f7-kSnTZJqWujuPkoTi7FMX=
 bfwkjm6qse5o00...@mail.gmail.com
  Content-Type: text/plain; charset=utf-8
 
  Hi,
 
  I've just pulled the latest version of sugar-build,
  but I still can't close
  the activity.
 
  My icon does not shows up well on the home view : no
  token inside the grid,
  it seems empty.
 
  Regards
 
  2014-11-28 21:21 GMT+01:00 Gonzalo Odiard
  godi...@sugarlabs.org:
 
   Be sure the version of sugar-web included in your
  activity is updated.
   A error avoiding close the activity was solved
  recently.
  
   Gonzalo
  
  
   On Fri, Nov 28, 2014 at 11:00 AM, laurent bernabe 
   laurent.bern...@gmail.com wrote:
  
  
   Hello everyone,
  
   I am starting a new activity in order to get
  started with Web Actvity
   development : a simple tic tac toe : github
 project
  
  
 https://github.com/loloof64/olpc-simple-tictactoe-activity
  
   But when I launch the activity from inside
  sugar-build :
  
  - the icon design seems to be weird, though
 I've
  tried to follow
  advices at
  http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
  - I don't manage to close the application
  
   I've sent the log file that I could read in
   sugar-build/home/dotsugar/default/logs, but I

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

2014-12-01 Thread Lionel Laské
2014-12-01 15:25 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:


 So it seems that the option is not taken into account from my Chrome
 instance.
 I will look for another way (like in settings:// ?) to set this option.

 Ensure that no other instance is running. If one instance is running, it's
not possible to start one another with another setting.

Lionel.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-11-30 Thread laurent bernabe
Thank you for your answer.

I've installed the official ubuntu package for Chrome, with the command

sudo dpkg -i chrome_pakage

So I am able to launch chrome from the Kubuntu menu icon.

Meanwhile, I get an error when I launch it from terminal (problem with
libudev)
___

$ /opt/google/chrome$ ./chrome --allow-file-access-from-files
./chrome: error while loading shared libraries: libudev.so.0: cannot open
shared object file: No such file or directory


Regards


2014-11-29 21:43 GMT+01:00 Lionel Laské lio...@olpc-france.org:


 Hi Laurent,

 Could you try your activity in Sugarizer Client ?
 Just change the sugar web library to get the one compatible both with
 Sugar/Sugarizer and it should work.
 Instruction here [1] and here [2].

Lionel.

 [1] http://developer.sugarlabs.org/activity.md.html
 [2] http://sugarizer.org/#client


 Date: Fri, 28 Nov 2014 23:10:47 +0100
 From: laurent bernabe laurent.bern...@gmail.com
 To: Gonzalo Odiard godi...@sugarlabs.org
 Cc: Sugar Devel sugar-devel@lists.sugarlabs.org
 Subject: Re: [Sugar-devel] Starting a new web activity : problem when
 closing activity, and with icon design
 Message-ID:
 CAH8mndKz6f7-kSnTZJqWujuPkoTi7FMX=
 bfwkjm6qse5o00...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8

 Hi,

 I've just pulled the latest version of sugar-build, but I still can't
 close
 the activity.

 My icon does not shows up well on the home view : no token inside the
 grid,
 it seems empty.

 Regards

 2014-11-28 21:21 GMT+01:00 Gonzalo Odiard godi...@sugarlabs.org:

  Be sure the version of sugar-web included in your activity is updated.
  A error avoiding close the activity was solved recently.
 
  Gonzalo
 
 
  On Fri, Nov 28, 2014 at 11:00 AM, laurent bernabe 
  laurent.bern...@gmail.com wrote:
 
 
  Hello everyone,
 
  I am starting a new activity in order to get started with Web Actvity
  development : a simple tic tac toe : github project
  https://github.com/loloof64/olpc-simple-tictactoe-activity
 
  But when I launch the activity from inside sugar-build :
 
 - the icon design seems to be weird, though I've tried to follow
 advices at http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
 - I don't manage to close the application
 
  I've sent the log file that I could read in
  sugar-build/home/dotsugar/default/logs, but I don't understand it.
 
  What is the best workaround ?
 
  Regards
 
  --
  Laurent Bernab?
 
  laurent.bern...@gmail.com
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 
 
  --
  Gonzalo Odiard
 
  SugarLabs - Software for children learning
 



 --
 Laurent Bernab?

 laurent.bern...@gmail.com



 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




-- 
Laurent Bernabé

laurent.bern...@gmail.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-11-30 Thread Iain Brown Douglas
try

http://askubuntu.com/questions/369310/how-to-fix-missing-libudev-so-0-for-chrome-to-start-again

or

http://askubuntu.com/questions/288821/how-do-i-resolve-a-cannot-open-shared-object-file-libudev-so-0-error

On Sun, 2014-11-30 at 12:02 +0100, laurent bernabe wrote:
 Thank you for your answer.
 
 
 I've installed the official ubuntu package for Chrome, with the
 command
 
 
 sudo dpkg -i chrome_pakage
 
 
 So I am able to launch chrome from the Kubuntu menu icon.
 
 
 Meanwhile, I get an error when I launch it from terminal (problem with
 libudev)
 ___
 
 
 $ /opt/google/chrome$ ./chrome --allow-file-access-from-files
 ./chrome: error while loading shared libraries: libudev.so.0: cannot
 open shared object file: No such file or directory
 
 
 
 Regards
 
 
 
 2014-11-29 21:43 GMT+01:00 Lionel Laské lio...@olpc-france.org:
 
 
 Hi Laurent,
 
 
 Could you try your activity in Sugarizer Client ?
 Just change the sugar web library to get the one compatible
 both with Sugar/Sugarizer and it should work.
 Instruction here [1] and here [2].
 
 
Lionel.
 
 
 [1] http://developer.sugarlabs.org/activity.md.html
 [2] http://sugarizer.org/#client
 
 
 
 Date: Fri, 28 Nov 2014 23:10:47 +0100
 From: laurent bernabe laurent.bern...@gmail.com
 To: Gonzalo Odiard godi...@sugarlabs.org
 Cc: Sugar Devel sugar-devel@lists.sugarlabs.org
 Subject: Re: [Sugar-devel] Starting a new web
 activity : problem when
 closing activity, and with icon design
 Message-ID:
 
 
 CAH8mndKz6f7-kSnTZJqWujuPkoTi7FMX=bfwkjm6qse5o00...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8
 
 Hi,
 
 I've just pulled the latest version of sugar-build,
 but I still can't close
 the activity.
 
 My icon does not shows up well on the home view : no
 token inside the grid,
 it seems empty.
 
 Regards
 
 2014-11-28 21:21 GMT+01:00 Gonzalo Odiard
 godi...@sugarlabs.org:
 
  Be sure the version of sugar-web included in your
 activity is updated.
  A error avoiding close the activity was solved
 recently.
 
  Gonzalo
 
 
  On Fri, Nov 28, 2014 at 11:00 AM, laurent bernabe 
  laurent.bern...@gmail.com wrote:
 
 
  Hello everyone,
 
  I am starting a new activity in order to get
 started with Web Actvity
  development : a simple tic tac toe : github project
 
 https://github.com/loloof64/olpc-simple-tictactoe-activity
 
  But when I launch the activity from inside
 sugar-build :
 
 - the icon design seems to be weird, though I've
 tried to follow
 advices at
 http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
 - I don't manage to close the application
 
  I've sent the log file that I could read in
  sugar-build/home/dotsugar/default/logs, but I
 don't understand it.
 
  What is the best workaround ?
 
  Regards
 
  --
  Laurent Bernab?
 
  laurent.bern...@gmail.com
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 
 
  --
  Gonzalo Odiard
 
  SugarLabs - Software for children learning
 
 
 
 
 --
 Laurent Bernab?
 
 laurent.bern...@gmail.com
 
 
 
 
 ___
 Sugar

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

2014-11-30 Thread laurent bernabe
Thank you, I could launch a chrome session with file access with the second
link (Cliff's answer).
Now I am going to try my activity into Sugarizer, and will report issues if
anyone occurs.

Regards

2014-11-30 15:04 GMT+01:00 Iain Brown Douglas i...@browndouglas.plus.com:

 try


 http://askubuntu.com/questions/369310/how-to-fix-missing-libudev-so-0-for-chrome-to-start-again

 or


 http://askubuntu.com/questions/288821/how-do-i-resolve-a-cannot-open-shared-object-file-libudev-so-0-error

 On Sun, 2014-11-30 at 12:02 +0100, laurent bernabe wrote:
  Thank you for your answer.
 
 
  I've installed the official ubuntu package for Chrome, with the
  command
 
 
  sudo dpkg -i chrome_pakage
 
 
  So I am able to launch chrome from the Kubuntu menu icon.
 
 
  Meanwhile, I get an error when I launch it from terminal (problem with
  libudev)
 
 ___
 
 
  $ /opt/google/chrome$ ./chrome --allow-file-access-from-files
  ./chrome: error while loading shared libraries: libudev.so.0: cannot
  open shared object file: No such file or directory
 
 
 
 
  Regards
 
 
 
  2014-11-29 21:43 GMT+01:00 Lionel Laské lio...@olpc-france.org:
 
 
  Hi Laurent,
 
 
  Could you try your activity in Sugarizer Client ?
  Just change the sugar web library to get the one compatible
  both with Sugar/Sugarizer and it should work.
  Instruction here [1] and here [2].
 
 
 Lionel.
 
 
  [1] http://developer.sugarlabs.org/activity.md.html
  [2] http://sugarizer.org/#client
 
 
 
  Date: Fri, 28 Nov 2014 23:10:47 +0100
  From: laurent bernabe laurent.bern...@gmail.com
  To: Gonzalo Odiard godi...@sugarlabs.org
  Cc: Sugar Devel sugar-devel@lists.sugarlabs.org
  Subject: Re: [Sugar-devel] Starting a new web
  activity : problem when
  closing activity, and with icon design
  Message-ID:
 
  CAH8mndKz6f7-kSnTZJqWujuPkoTi7FMX=
 bfwkjm6qse5o00...@mail.gmail.com
  Content-Type: text/plain; charset=utf-8
 
  Hi,
 
  I've just pulled the latest version of sugar-build,
  but I still can't close
  the activity.
 
  My icon does not shows up well on the home view : no
  token inside the grid,
  it seems empty.
 
  Regards
 
  2014-11-28 21:21 GMT+01:00 Gonzalo Odiard
  godi...@sugarlabs.org:
 
   Be sure the version of sugar-web included in your
  activity is updated.
   A error avoiding close the activity was solved
  recently.
  
   Gonzalo
  
  
   On Fri, Nov 28, 2014 at 11:00 AM, laurent bernabe 
   laurent.bern...@gmail.com wrote:
  
  
   Hello everyone,
  
   I am starting a new activity in order to get
  started with Web Actvity
   development : a simple tic tac toe : github project
  
  
 https://github.com/loloof64/olpc-simple-tictactoe-activity
  
   But when I launch the activity from inside
  sugar-build :
  
  - the icon design seems to be weird, though I've
  tried to follow
  advices at
  http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
  - I don't manage to close the application
  
   I've sent the log file that I could read in
   sugar-build/home/dotsugar/default/logs, but I
  don't understand it.
  
   What is the best workaround ?
  
   Regards
  
   --
   Laurent Bernab?
  
   laurent.bern...@gmail.com
  
   ___
   Sugar-devel mailing list
   Sugar-devel@lists.sugarlabs.org
   http://lists.sugarlabs.org/listinfo/sugar-devel
  
  
  
  
   --
   Gonzalo Odiard
  
   SugarLabs - Software for children learning
  
 
 
 
  --
  Laurent Bernab?
 
  laurent.bern...@gmail.com

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

2014-11-30 Thread laurent bernabe
Hello again,

I've just copied my activity inside Sugarizer, updated activity.json, but I
can't launch any activity inside my Sugarizer session (I've joined a
screenshot).
Also, I don't know if I can find a log file so that I could join it to the
mail also.

Regards

2014-11-30 15:10 GMT+01:00 laurent bernabe laurent.bern...@gmail.com:

 Thank you, I could launch a chrome session with file access with the
 second link (Cliff's answer).
 Now I am going to try my activity into Sugarizer, and will report issues
 if anyone occurs.

 Regards

 2014-11-30 15:04 GMT+01:00 Iain Brown Douglas i...@browndouglas.plus.com
 :

 try


 http://askubuntu.com/questions/369310/how-to-fix-missing-libudev-so-0-for-chrome-to-start-again

 or


 http://askubuntu.com/questions/288821/how-do-i-resolve-a-cannot-open-shared-object-file-libudev-so-0-error

 On Sun, 2014-11-30 at 12:02 +0100, laurent bernabe wrote:
  Thank you for your answer.
 
 
  I've installed the official ubuntu package for Chrome, with the
  command
 
 
  sudo dpkg -i chrome_pakage
 
 
  So I am able to launch chrome from the Kubuntu menu icon.
 
 
  Meanwhile, I get an error when I launch it from terminal (problem with
  libudev)
 
 ___
 
 
  $ /opt/google/chrome$ ./chrome --allow-file-access-from-files
  ./chrome: error while loading shared libraries: libudev.so.0: cannot
  open shared object file: No such file or directory
 
 
 
 
  Regards
 
 
 
  2014-11-29 21:43 GMT+01:00 Lionel Laské lio...@olpc-france.org:
 
 
  Hi Laurent,
 
 
  Could you try your activity in Sugarizer Client ?
  Just change the sugar web library to get the one compatible
  both with Sugar/Sugarizer and it should work.
  Instruction here [1] and here [2].
 
 
 Lionel.
 
 
  [1] http://developer.sugarlabs.org/activity.md.html
  [2] http://sugarizer.org/#client
 
 
 
  Date: Fri, 28 Nov 2014 23:10:47 +0100
  From: laurent bernabe laurent.bern...@gmail.com
  To: Gonzalo Odiard godi...@sugarlabs.org
  Cc: Sugar Devel sugar-devel@lists.sugarlabs.org
  Subject: Re: [Sugar-devel] Starting a new web
  activity : problem when
  closing activity, and with icon design
  Message-ID:
 
  CAH8mndKz6f7-kSnTZJqWujuPkoTi7FMX=
 bfwkjm6qse5o00...@mail.gmail.com
  Content-Type: text/plain; charset=utf-8
 
  Hi,
 
  I've just pulled the latest version of sugar-build,
  but I still can't close
  the activity.
 
  My icon does not shows up well on the home view : no
  token inside the grid,
  it seems empty.
 
  Regards
 
  2014-11-28 21:21 GMT+01:00 Gonzalo Odiard
  godi...@sugarlabs.org:
 
   Be sure the version of sugar-web included in your
  activity is updated.
   A error avoiding close the activity was solved
  recently.
  
   Gonzalo
  
  
   On Fri, Nov 28, 2014 at 11:00 AM, laurent bernabe 
   laurent.bern...@gmail.com wrote:
  
  
   Hello everyone,
  
   I am starting a new activity in order to get
  started with Web Actvity
   development : a simple tic tac toe : github project
  
  
 https://github.com/loloof64/olpc-simple-tictactoe-activity
  
   But when I launch the activity from inside
  sugar-build :
  
  - the icon design seems to be weird, though I've
  tried to follow
  advices at
  http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
  - I don't manage to close the application
  
   I've sent the log file that I could read in
   sugar-build/home/dotsugar/default/logs, but I
  don't understand it.
  
   What is the best workaround ?
  
   Regards
  
   --
   Laurent Bernab?
  
   laurent.bern...@gmail.com
  
   ___
   Sugar-devel mailing list
   Sugar-devel@lists.sugarlabs.org
   http://lists.sugarlabs.org/listinfo/sugar-devel

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

2014-11-30 Thread Walter Bender
Check out http://wiki.sugarlabs.org/go/Sugariconify

On Fri, Nov 28, 2014 at 9:00 AM, laurent bernabe
laurent.bern...@gmail.com wrote:

 Hello everyone,

 I am starting a new activity in order to get started with Web Actvity
 development : a simple tic tac toe : github project

 But when I launch the activity from inside sugar-build :

 the icon design seems to be weird, though I've tried to follow advices at
 http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
 I don't manage to close the application

 I've sent the log file that I could read in
 sugar-build/home/dotsugar/default/logs, but I don't understand it.

 What is the best workaround ?

 Regards

 --
 Laurent Bernabé

 laurent.bern...@gmail.com

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-11-30 Thread laurent bernabe
Thank you very much.

I'll convert my icon with this script

Regards

2014-11-30 22:02 GMT+01:00 Walter Bender walter.ben...@gmail.com:

 Check out http://wiki.sugarlabs.org/go/Sugariconify

 On Fri, Nov 28, 2014 at 9:00 AM, laurent bernabe
 laurent.bern...@gmail.com wrote:
 
  Hello everyone,
 
  I am starting a new activity in order to get started with Web Actvity
  development : a simple tic tac toe : github project
 
  But when I launch the activity from inside sugar-build :
 
  the icon design seems to be weird, though I've tried to follow advices at
  http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
  I don't manage to close the application
 
  I've sent the log file that I could read in
  sugar-build/home/dotsugar/default/logs, but I don't understand it.
 
  What is the best workaround ?
 
  Regards
 
  --
  Laurent Bernabé
 
  laurent.bern...@gmail.com
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 



 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org




-- 
Laurent Bernabé

laurent.bern...@gmail.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-11-29 Thread Lionel Laské
Hi Laurent,

Could you try your activity in Sugarizer Client ?
Just change the sugar web library to get the one compatible both with
Sugar/Sugarizer and it should work.
Instruction here [1] and here [2].

   Lionel.

[1] http://developer.sugarlabs.org/activity.md.html
[2] http://sugarizer.org/#client


 Date: Fri, 28 Nov 2014 23:10:47 +0100
 From: laurent bernabe laurent.bern...@gmail.com
 To: Gonzalo Odiard godi...@sugarlabs.org
 Cc: Sugar Devel sugar-devel@lists.sugarlabs.org
 Subject: Re: [Sugar-devel] Starting a new web activity : problem when
 closing activity, and with icon design
 Message-ID:
 CAH8mndKz6f7-kSnTZJqWujuPkoTi7FMX=
 bfwkjm6qse5o00...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8

 Hi,

 I've just pulled the latest version of sugar-build, but I still can't close
 the activity.

 My icon does not shows up well on the home view : no token inside the grid,
 it seems empty.

 Regards

 2014-11-28 21:21 GMT+01:00 Gonzalo Odiard godi...@sugarlabs.org:

  Be sure the version of sugar-web included in your activity is updated.
  A error avoiding close the activity was solved recently.
 
  Gonzalo
 
 
  On Fri, Nov 28, 2014 at 11:00 AM, laurent bernabe 
  laurent.bern...@gmail.com wrote:
 
 
  Hello everyone,
 
  I am starting a new activity in order to get started with Web Actvity
  development : a simple tic tac toe : github project
  https://github.com/loloof64/olpc-simple-tictactoe-activity
 
  But when I launch the activity from inside sugar-build :
 
 - the icon design seems to be weird, though I've tried to follow
 advices at http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
 - I don't manage to close the application
 
  I've sent the log file that I could read in
  sugar-build/home/dotsugar/default/logs, but I don't understand it.
 
  What is the best workaround ?
 
  Regards
 
  --
  Laurent Bernab?
 
  laurent.bern...@gmail.com
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 
 
  --
  Gonzalo Odiard
 
  SugarLabs - Software for children learning
 



 --
 Laurent Bernab?

 laurent.bern...@gmail.com


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-11-28 Thread Gonzalo Odiard
Be sure the version of sugar-web included in your activity is updated.
A error avoiding close the activity was solved recently.

Gonzalo


On Fri, Nov 28, 2014 at 11:00 AM, laurent bernabe laurent.bern...@gmail.com
 wrote:


 Hello everyone,

 I am starting a new activity in order to get started with Web Actvity
 development : a simple tic tac toe : github project
 https://github.com/loloof64/olpc-simple-tictactoe-activity

 But when I launch the activity from inside sugar-build :

- the icon design seems to be weird, though I've tried to follow
advices at http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
- I don't manage to close the application

 I've sent the log file that I could read in
 sugar-build/home/dotsugar/default/logs, but I don't understand it.

 What is the best workaround ?

 Regards

 --
 Laurent Bernabé

 laurent.bern...@gmail.com

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




-- 
Gonzalo Odiard

SugarLabs - Software for children learning
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-11-28 Thread Gonzalo Odiard
What is wrong with the icon?

On Fri, Nov 28, 2014 at 5:21 PM, Gonzalo Odiard godi...@sugarlabs.org
wrote:

 Be sure the version of sugar-web included in your activity is updated.
 A error avoiding close the activity was solved recently.

 Gonzalo


 On Fri, Nov 28, 2014 at 11:00 AM, laurent bernabe 
 laurent.bern...@gmail.com wrote:


 Hello everyone,

 I am starting a new activity in order to get started with Web Actvity
 development : a simple tic tac toe : github project
 https://github.com/loloof64/olpc-simple-tictactoe-activity

 But when I launch the activity from inside sugar-build :

- the icon design seems to be weird, though I've tried to follow
advices at http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
- I don't manage to close the application

 I've sent the log file that I could read in
 sugar-build/home/dotsugar/default/logs, but I don't understand it.

 What is the best workaround ?

 Regards

 --
 Laurent Bernabé

 laurent.bern...@gmail.com

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




 --
 Gonzalo Odiard

 SugarLabs - Software for children learning




-- 
Gonzalo Odiard

SugarLabs - Software for children learning
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2014-11-28 Thread laurent bernabe
Hi,

I've just pulled the latest version of sugar-build, but I still can't close
the activity.

My icon does not shows up well on the home view : no token inside the grid,
it seems empty.

Regards

2014-11-28 21:21 GMT+01:00 Gonzalo Odiard godi...@sugarlabs.org:

 Be sure the version of sugar-web included in your activity is updated.
 A error avoiding close the activity was solved recently.

 Gonzalo


 On Fri, Nov 28, 2014 at 11:00 AM, laurent bernabe 
 laurent.bern...@gmail.com wrote:


 Hello everyone,

 I am starting a new activity in order to get started with Web Actvity
 development : a simple tic tac toe : github project
 https://github.com/loloof64/olpc-simple-tictactoe-activity

 But when I launch the activity from inside sugar-build :

- the icon design seems to be weird, though I've tried to follow
advices at http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
- I don't manage to close the application

 I've sent the log file that I could read in
 sugar-build/home/dotsugar/default/logs, but I don't understand it.

 What is the best workaround ?

 Regards

 --
 Laurent Bernabé

 laurent.bern...@gmail.com

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




 --
 Gonzalo Odiard

 SugarLabs - Software for children learning




-- 
Laurent Bernabé

laurent.bern...@gmail.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel