[Sugar-devel] Web activities canvas element

2013-10-09 Thread laurent bernabe
Hello, *) I am wondering whether I can safely replace, in an index.html file of a web activity, the div id=canvas/div with canvas id=canvas/canvas ? Because the library I am using need a real canvas element. *) Also, if I can use a real canvas element, how can set its size to the remaining size

Re: [Sugar-devel] Web activities canvas element

2013-10-09 Thread laurent bernabe
Thanks, I'll watch at ClockWeb activity. Regards 2013/10/10 Manuel Quiñones ma...@laptop.org 2013/10/9 laurent bernabe laurent.bern...@gmail.com: Hello, *) I am wondering whether I can safely replace, in an index.html file of a web activity, the div id=canvas/div with canvas id

Re: [Sugar-devel] Web activity : adding a library (not AMD-ready).

2013-10-04 Thread laurent bernabe
Hello, thanks for your answer. 2013/10/4 Manuel Quiñones ma...@laptop.org In fabricjs README says it can be build with AMD support https://github.com/kangax/fabric.js/ I think that, in my case, the best use of Fabric.js is to configure it in Require.js (as in the link you gave me) rather

Re: [Sugar-devel] Web activity : adding a library (not AMD-ready).

2013-10-04 Thread laurent bernabe
Thanks, so is js/loader.js the place where I must modify in order to include the fabricjs all.require.js ? Regards 2013/10/4 Manuel Quiñones ma...@laptop.org 2013/10/4 laurent bernabe laurent.bern...@gmail.com: Hello, thanks for your answer. 2013/10/4 Manuel Quiñones ma

Re: [Sugar-devel] Using the DojoToolkit in a Sugar WebService ?

2013-10-03 Thread laurent bernabe
2013/10/3 Manuel Quiñones ma...@laptop.org OK, I suggest you give a try to Dojo and come back later to tell us how it went. Your investigation can be valuable for future activity developers. The only drawback, apart to the one you pointed to me, is the size of Dojo when installing with

Re: [Sugar-devel] Using the DojoToolkit in a Sugar WebService ?

2013-10-03 Thread laurent bernabe
/3 Manuel Quiñones ma...@laptop.org 2013/10/3 Manuel Quiñones ma...@laptop.org: 2013/10/3 laurent bernabe laurent.bern...@gmail.com: 2013/10/3 Manuel Quiñones ma...@laptop.org OK, I suggest you give a try to Dojo and come back later to tell us how it went. Your investigation can

Re: [Sugar-devel] Using the DojoToolkit in a Sugar WebService ?

2013-10-03 Thread laurent bernabe
Ok, so I can download the latest version. Regards 2013/10/3 Manuel Quiñones ma...@laptop.org 2013/10/3 laurent bernabe laurent.bern...@gmail.com: 2013/10/3 Manuel Quiñones ma...@laptop.org OK, I suggest you give a try to Dojo and come back later to tell us how it went. Your

Re: [Sugar-devel] Using the DojoToolkit in a Sugar WebService ?

2013-10-03 Thread laurent bernabe
tried with something like rm -Rf FILE_PATTERN but it is not it purpose (it is rather for removing a directory and its subdirectories), and fail. Regards 2013/10/3 Manuel Quiñones ma...@laptop.org 2013/10/3 Manuel Quiñones ma...@laptop.org: 2013/10/3 laurent bernabe laurent.bern...@gmail.com

Re: [Sugar-devel] Testing the activity bundle of my activity before submitting it to ASLO.

2013-10-02 Thread laurent bernabe
Yes, in the commits of the Tuesday October 01 2013. 2013/10/2 James Cameron qu...@laptop.org I see nothing new, did you push? On Tue, Oct 01, 2013 at 01:20:57PM +0200, laurent bernabe wrote: Thanks for these patch : I've applied all and commited them. I must admit I am yet far from

[Sugar-devel] My application idea : chess learning software. What do you think ?

2013-10-02 Thread laurent bernabe
Hi, First, I apologize for the length of this mail. __ My new idea (I've already exposed it on the mailing list, but without all specifications) : I think about making a new Web activity : a kind of chess learning software series. So, the first

Re: [Sugar-devel] My application idea : chess learning software. What do you think ?

2013-10-02 Thread laurent bernabe
://www.ajedrezyleyendas.com/ On Wed, Oct 2, 2013 at 6:44 AM, laurent bernabe laurent.bern...@gmail.com wrote: Hi, First, I apologize for the length of this mail. __ My new idea (I've already exposed it on the mailing list, but without all

[Sugar-devel] Using the DojoToolkit in a Sugar WebService ?

2013-10-02 Thread laurent bernabe
Hi, Has anyone tried to use the DojoToolkit in a web activity ? Because, as the documentation says that it should be used in a web server. Otherwise some functionnalities may not be available. So, is using DojoToolkit safe inside a sugar web activity ? Otherwise, I'll look for another javascript

Re: [Sugar-devel] Using the DojoToolkit in a Sugar WebService ?

2013-10-02 Thread laurent bernabe
Hi, thanks for your answer. 2013/10/3 Manuel Quiñones ma...@laptop.org What do you want to archive? I don't know Dojo, but acoording to their website there are independient modules that are AMD-ready, so you might be able to use them. See our docs:

Re: [Sugar-devel] Using the DojoToolkit in a Sugar WebService ?

2013-10-02 Thread laurent bernabe
. So I keep looking for a better solution. Regards. 2013/10/3 Manuel Quiñones ma...@laptop.org 2013/10/2 laurent bernabe laurent.bern...@gmail.com: Hi, Has anyone tried to use the DojoToolkit in a web activity ? Because, as the documentation says that it should be used in a web server

Re: [Sugar-devel] My application idea : chess learning software. What do you think ?

2013-10-02 Thread laurent bernabe
Thanks. 2013/10/3 Walter Bender walter.ben...@gmail.com Feel free to grab elements from the GNU Chess activity [1] regards. -walter [1] http://activities.sugarlabs.org/en-US/sugar/addon/4593 On Wed, Oct 2, 2013 at 7:35 AM, laurent bernabe laurent.bern...@gmail.com wrote: Thanks

Re: [Sugar-devel] Testing the activity bundle of my activity before submitting it to ASLO.

2013-10-01 Thread laurent bernabe
, no, the file need not have .patch in the name for you to use it with the patch command. On Tue, Oct 01, 2013 at 02:21:32AM +0200, laurent bernabe wrote: Thanks, the patch extension file must be .patch ? (I've no example on my disk and I forgot the git patch extension : so that I can paste your

Re: [Sugar-devel] Testing the activity bundle of my activity before submitting it to ASLO.

2013-10-01 Thread laurent bernabe
--rebase so that the Pootle changes will be merged with your repository, then if that goes well you can try git push again. On Tue, Oct 01, 2013 at 10:14:24AM +0200, laurent bernabe wrote: Hello, thank you. In fact I could not push the changes, as (I think) Pootle has commited

Re: [Sugar-devel] Testing the activity bundle of my activity before submitting it to ASLO.

2013-10-01 Thread laurent bernabe
...@laptop.org On Sat, Sep 28, 2013 at 01:42:50PM +0200, laurent bernabe wrote: But as the computer where I inserted the key was a very old one (it has an old AMD processor and it seems to me it has just 1GB of RAM), the animation where too slow : very slower than the result I got on my laptop (which

Re: [Sugar-devel] Testing the activity bundle of my activity before submitting it to ASLO.

2013-10-01 Thread laurent bernabe
No problem : so I'll wait for an answer. 2013/10/1 James Cameron qu...@laptop.org Sorry, I'm one of those monolinguists, so I've no idea. Chris Leonard can advise. On Tue, Oct 01, 2013 at 10:25:58AM +0200, laurent bernabe wrote: Thanks, It was that : I had to merge the Pootle changes

Re: [Sugar-devel] Testing the activity bundle of my activity before submitting it to ASLO.

2013-10-01 Thread laurent bernabe
Thanks, so I'll go to Pootle page (I will search it for a while) and register. Regards 2013/10/1 Gonzalo Odiard gonz...@laptop.org Yes, you need register as a pootle user to translate. Gonzalo On Tue, Oct 1, 2013 at 5:38 AM, laurent bernabe laurent.bern...@gmail.com wrote

Re: [Sugar-devel] Testing the activity bundle of my activity before submitting it to ASLO.

2013-10-01 Thread laurent bernabe
Thanks for these patch : I've applied all and commited them. I must admit I am yet far from good practises. 2013/10/1 James Cameron qu...@laptop.org On Tue, Oct 01, 2013 at 10:34:54AM +0200, laurent bernabe wrote: But I don't think I can avoid repainting all screen at each frame

Re: [Sugar-devel] Testing the activity bundle of my activity before submitting it to ASLO.

2013-09-30 Thread laurent bernabe
, and I should submit the bundle to ASLO soon. I suggest fixing performance soon. On Sat, Sep 28, 2013 at 05:54:30PM +0200, laurent bernabe wrote: As my computer has 2*2.16Ghz processor, is it possible to configure sugar-build so that the speed is locked under 433 Mhz ? No. You raise

[Sugar-devel] Sugar Wiki : is it possible to upload images files from my desktop ?

2013-09-28 Thread laurent bernabe
Hi, I would like to upload images files from my desktop to the page I've started to edit in the Sugar Labs wiki (the page for my new activity) : but I did not find any way of doing that. So, is this possible, or is using an external hosting site mandatory ? Regards

Re: [Sugar-devel] Testing the activity bundle of my activity before submitting it to ASLO.

2013-09-28 Thread laurent bernabe
I managed to run my application bundle thanks to a Soas usb key (sugar 0.98.8), without installing the bundle. But as the computer where I inserted the key was a very old one (it has an old AMD processor and it seems to me it has just 1GB of RAM), the animation where too slow : very slower than

Re: [Sugar-devel] Sugar Wiki : is it possible to upload images files from my desktop ?

2013-09-28 Thread laurent bernabe
my desktop ? Thanks, done : http://wiki.sugarlabs.org/go/Activities/HitTheBalls#Goal Regards 2013/9/28 Thomas Gilliard satelli...@gmail.com On 09/28/2013 03:55 AM, laurent bernabe wrote: Hi, I would like to upload images files from my desktop to the page I've started to edit

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-27 Thread laurent bernabe
Thank you very much. I fixed the problem with a lazy intialisation method inside the Game class. Now I will be more careful about where I call pygame.init(). I've also commited the changes. Thanks 2013/9/26 Alan Jhonn Aguiar Schwyn alan...@hotmail.com You can't call pygame.init in the game

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-27 Thread laurent bernabe
Thank you very much. In fact I had already solved the problem and commited when I read your message : my idea was the same than yours, but I've done it with a lazy initialisation, thanks to a flag self._initialized (boolean). Thanks :) 2013/9/26 Alan Jhonn Aguiar Schwyn alan...@hotmail.com A

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-27 Thread laurent bernabe
Ok. I've understood. I must call pygames related functions inside show_menu as it is the method declared to be run by SugarGames wrapper. Thanks. 2013/9/27 Alan Jhonn Aguiar Schwyn alan...@hotmail.com There are not problem with call pygame.init all times that you want (see the

[Sugar-devel] Setting translations : is Pootle still up to date for that ?

2013-09-27 Thread laurent bernabe
Hello everyone, Now I feel I am ready to set up translation system to my aplication (HitTheBalls) : so I am wondering whether I should use Pootle, or whether this mechanism has been replaced in 0.100 (or close minor versions). Also, I went to this page : http://wiki.laptop.org/go/Pootle. As I

Re: [Sugar-devel] Setting translations : is Pootle still up to date for that ?

2013-09-27 Thread laurent bernabe
at 7:53 AM, laurent bernabe laurent.bern...@gmail.com wrote: Hello everyone, Now I feel I am ready to set up translation system to my aplication (HitTheBalls) : so I am wondering whether I should use Pootle, or whether this mechanism has been replaced in 0.100 (or close minor versions). Also

Re: [Sugar-devel] Setting translations : is Pootle still up to date for that ?

2013-09-27 Thread laurent bernabe
:53 AM, laurent bernabe laurent.bern...@gmail.com wrote: Hello everyone, Now I feel I am ready to set up translation system to my aplication (HitTheBalls) : so I am wondering whether I should use Pootle, or whether this mechanism has been replaced in 0.100 (or close minor versions

Re: [Sugar-devel] Setting translations : is Pootle still up to date for that ?

2013-09-27 Thread laurent bernabe
Thank you very much. 2013/9/27 Chris Leonard cjlhomeaddr...@gmail.com Try this chapter http://en.flossmanuals.net/make-your-own-sugar-activities/going-international-with-pootle/ On Fri, Sep 27, 2013 at 7:38 AM, laurent bernabe laurent.bern...@gmail.com wrote: Thanks, I even think

[Sugar-devel] Adding pootle as user

2013-09-27 Thread laurent bernabe
Hello everyone, As I would like to manage intertionalization for my activity (HitTheBalls), I know that I need to add pootle as a private commiter. But what is the git command in order to do it ? Regards. ___ Sugar-devel mailing list

Re: [Sugar-devel] Adding pootle as user

2013-09-27 Thread laurent bernabe
Oh, also, what is the trac page for making the new ticket, in order to intertionalize my application, please ? (I have no account yet). Regards. 2013/9/27 laurent bernabe laurent.bern...@gmail.com Hello everyone, As I would like to manage intertionalization for my activity (HitTheBalls), I

Re: [Sugar-devel] Adding pootle as user

2013-09-27 Thread laurent bernabe
Thanks 2013/9/27 Chris Leonard cjlhomeaddr...@gmail.com http://bugs.sugarlabs.org/ On Fri, Sep 27, 2013 at 8:47 AM, laurent bernabe laurent.bern...@gmail.com wrote: Oh, also, what is the trac page for making the new ticket, in order to intertionalize my application, please ? (I have

Re: [Sugar-devel] Testing the activity bundle of my activity before submitting it to ASLO.

2013-09-27 Thread laurent bernabe
Thanks, So I'll try with the SoaS v8 appliance for Virtual Box. I will report the success or failure, and possibly post bundle on ASLO. 2013/9/27 Manuel Quiñones ma...@laptop.org Yes, I think you will not have a problem. Please try and tell us. 2013/9/27 laurent bernabe laurent.bern

[Sugar-devel] PyGame can be run only once assertion error

2013-09-26 Thread laurent bernabe
Hello, everyone, In my project HitTheBalls, which I've just commited the last modifications, I have a bug I that I don't manage to solve. If I launch the game without sugar, however, it runs fine. Also I modified the activity.py in order to fit my main_game module modifications. Maybe that the

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-25 Thread laurent bernabe
. In fact, tusmath is a c game, and that is a problem, because is not multiplatform. Go ahead, but look at it to see what they do. Gonzalo On Tue, Sep 24, 2013 at 2:49 PM, laurent bernabe laurent.bern...@gmail.com wrote: Oups sorry I did not notice that there was a similar game

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-25 Thread laurent bernabe
there was a kind of restriction (though I can't remember which) with threads coding. Regards 2013/9/25 laurent bernabe laurent.bern...@gmail.com Thank you very much : I'll apply those changes today. 2013/9/25 Alan Jhonn Aguiar Schwyn alan...@hotmail.com Copy the patch to your GIT folder and do

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-25 Thread laurent bernabe
there was a kind of restriction (though I can't remember which) with threads coding. Regards 2013/9/25 laurent bernabe laurent.bern...@gmail.com Thank you very much : I'll apply those changes today. 2013/9/25 Alan Jhonn Aguiar Schwyn alan...@hotmail.com Copy the patch to your GIT folder and do

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-25 Thread laurent bernabe
, laurent bernabe laurent.bern...@gmail.comwrote: I've applied the patch : but, as Gonzalo Odiard made me notice, perhaps I'd better not rely on deprecated sugargame library any more : right ? So I think I have to use plain gtk3 fonts and canvas (is there one ? I did not find any note on the official

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-25 Thread laurent bernabe
can't remember which) with threads coding. Regards 2013/9/25 laurent bernabe laurent.bern...@gmail.com Thank you very much : I'll apply those changes today. 2013/9/25 Alan Jhonn Aguiar Schwyn alan...@hotmail.com Copy the patch to your GIT folder and do: git apply 0001- After

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-25 Thread laurent bernabe
Aplogiezes : I did not read very well : for the compatibility with old sugar versions, you said that a wrapper should be available. So this point is not a problem. 2013/9/25 laurent bernabe laurent.bern...@gmail.com I thought about translating my application into a Sugar Web applications

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-25 Thread laurent bernabe
To be more clear, a wrapper that works on 0.98 is being developed. For 0.94 it should be theoretically possible to write one, but afaik no one is working on it. (I'm not sure about 0.96, I don't know if it has webkit or xulrunner). On 25 September 2013 18:56, laurent bernabe laurent.bern

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-25 Thread laurent bernabe
2013/9/25 Daniel Narvaez dwnarv...@gmail.com That would be awesome, please reach out to the list if you run into any issue! Ok, no problem. I've downloaded the WelcomeWeb activity, and looking at activity_custom.js, it does not seems to me that there is any difficult point, at least for a

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-25 Thread laurent bernabe
It worked : thanks :) 2013/9/25 Alan Jhonn Aguiar Schwyn alan...@hotmail.com A new patch based on your latest commit. Now will must work. -- Date: Wed, 25 Sep 2013 19:28:11 +0200 From: laurent.bern...@gmail.com To: dwnarv...@gmail.com CC: alan...@hotmail.com;

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-25 Thread laurent bernabe
Thank you very much. Maybe I can try developping the html activity version of my nearly finished application HitTheBalls (there are little stuffs to add like setting up some games levels, a main screen, and i18n) - renaming it to HitTheBallsWeb - and adding it as a branch of my repository

[Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-24 Thread laurent bernabe
Hello everyone, As I am developping my game HitTheBalls for sugar 0.100 (I have, I think, the latest sugar-build), I am planning to switch it from OLPCGames 1.6 to sugargames. But the sugargames tells that pango font is not supported. So, what is the best way to get started with fonts in

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-24 Thread laurent bernabe
development, and pygame/gtk do not work really well together. Gonzalo On Tue, Sep 24, 2013 at 11:16 AM, laurent bernabe laurent.bern...@gmail.com wrote: Hello everyone, As I am developping my game HitTheBalls for sugar 0.100 (I have, I think, the latest sugar-build), I am planning

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-24 Thread laurent bernabe
application, I suggest you use something else. You can use any of the html5 frameworks, or plain python/cairo stuff. sugargames de not have to much development, and pygame/gtk do not work really well together. Gonzalo On Tue, Sep 24, 2013 at 11:16 AM, laurent bernabe laurent.bern...@gmail.com

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-24 Thread laurent bernabe
. sugargames de not have to much development, and pygame/gtk do not work really well together. Gonzalo On Tue, Sep 24, 2013 at 11:16 AM, laurent bernabe laurent.bern...@gmail.com wrote: Hello everyone, As I am developping my game HitTheBalls for sugar 0.100 (I have, I think, the latest

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-24 Thread laurent bernabe
Oh : I forgot there is the Ubuntu package for sugar-emulator. I will try it again. Thanks. Regards 2013/9/24 laurent bernabe laurent.bern...@gmail.com Thank you. So I think I'll try to develop for both GTK2 and GTK3. It's a game, and I have nearly finished it for OLPC 0.100 : https

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-24 Thread laurent bernabe
ask for it Gonzalo On Tue, Sep 24, 2013 at 2:37 PM, laurent bernabe laurent.bern...@gmail.com wrote: Thank you. So I think I'll try to develop for both GTK2 and GTK3. It's a game, and I have nearly finished it for OLPC 0.100 : https://git.sugarlabs.org/hittheballs/hittheballs It's

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-24 Thread laurent bernabe
Thanks I'll keep developing it so. Regards 2013/9/24 Gonzalo Odiard gonz...@laptop.org No problem. In fact, tusmath is a c game, and that is a problem, because is not multiplatform. Go ahead, but look at it to see what they do. Gonzalo On Tue, Sep 24, 2013 at 2:49 PM, laurent bernabe

Re: [Sugar-devel] SugarGames, GTK3 and fonts ?

2013-09-24 Thread laurent bernabe
of tuxmath is not the best, every deployment ask for it Gonzalo On Tue, Sep 24, 2013 at 2:37 PM, laurent bernabe laurent.bern...@gmail.com wrote: Thank you. So I think I'll try to develop for both GTK2 and GTK3. It's a game, and I have nearly finished it for OLPC 0.100 : https

[Sugar-devel] Bad push on my sugar labas gitorious project ?

2013-09-16 Thread laurent bernabe
Hello, I've just created my HitTheBalls project on sugar labs gitorious. Unfortunately, I did not manage to push only the revelant part of the project, though I used the .gitignore file. Indeed, I wanted to push the project HitTheBalls.activity, which is inside folder OLPCGames1.6 : but I pushed

Re: [Sugar-devel] Bad push on my sugar labas gitorious project ?

2013-09-16 Thread laurent bernabe
Hello again, it seems that my project used the .git folder of sugar-build topfolder, instead of its own. So I missed a command inside my project (git new ?), and must erase all files and restart, I bet. 2013/9/16 laurent bernabe laurent.bern...@gmail.com Hello, I've just created my

Re: [Sugar-devel] Is there a way to delete my project repository (in order to restart a new one) ?

2013-09-16 Thread laurent bernabe
to delete it. It takes a while to learn Git, be patient, it's worth. Gonzalo On Mon, Sep 16, 2013 at 10:46 AM, laurent bernabe laurent.bern...@gmail.com wrote: Hello, as I am not very comfortable with git, and I've done too problems on my project, I would like to delete

[Sugar-devel] I don't manage to put code in my project repository

2013-09-16 Thread laurent bernabe
Hello again, sorry for the trivial question again, but I don't manage to push my code on my project HitTheBalls (user : loloof64). This is the error from my terminal (I set up the alias HitTheBallsProject as gitori...@git.sugarlabs.org:hittheballs/hittheballs.git)

Re: [Sugar-devel] I don't manage to put code in my project repository

2013-09-16 Thread laurent bernabe
Thanks, Now I managed to push on my repository (I hadn't notice that Git had a different behaviour). Regards 2013/9/16 Alan Jhonn Aguiar Schwyn alan...@hotmail.com If you read , it says that the default behavior changes. There are 2 modes: push all or the default simple. To push with

[Sugar-devel] Pushing a project built onto OLPCGames onto github : files to exclude ?

2013-09-15 Thread laurent bernabe
Hello, I am building an activity based on OLPCGames 1.6, so I downloaded the version 1.6, and used the skeleton in order to generate my project fondations. But the project contains a symlink (added during the project generation) to a subfolder of OLPCGame folder, the one containing classes

Re: [Sugar-devel] Pushing a project built onto OLPCGames onto github : files to exclude ?

2013-09-15 Thread laurent bernabe
yes, it points to a folder above. 2013/9/15 Daniel Narvaez dwnarv...@gmail.com The symlink points somewhere outside your activity directory? On 15 September 2013 14:08, laurent bernabe laurent.bern...@gmail.comwrote: Hello, I am building an activity based on OLPCGames 1.6, so I

Re: [Sugar-devel] Pushing a project built onto OLPCGames onto github : files to exclude ?

2013-09-15 Thread laurent bernabe
Ok, thanks, so I'll exclude this symlink. Regards 2013/9/15 Daniel Narvaez dwnarv...@gmail.com I know nothing about olpcgames but I wouldn't put that symlink in git. It will just be a broken symlink for people that clone the repository... On 15 September 2013 16:14, laurent bernabe

[Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread laurent bernabe
Hello, From the sugar-build emulator, I tried to access to my host system home folder - let's say for example /home/me_as_user/ - but when I try cd /home/me_as_user/, I get an error No such file or directory, though it does exists. So is it possible to access this folder from Sugar-build ?

[Sugar-devel] Using Pippy and Pygame in Sugar-build

2013-09-14 Thread laurent bernabe
Hello, When I try to launch Pong script from PyGame, in Sugar-build, it says me that the PyGame module does not exists, though PyGame is already installed on my host system (Ubuntu). So, what is the best workaround ? Regards ___ Sugar-devel mailing

[Sugar-devel] Fwd: Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread laurent bernabe
-- Forwarded message -- From: laurent bernabe laurent.bern...@gmail.com Date: 2013/9/14 Subject: Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ? To: Daniel Narvaez dwnarv...@gmail.com Thank you :) 2013/9/14 Daniel Narvaez

Re: [Sugar-devel] Using Pippy and Pygame in Sugar-build

2013-09-14 Thread laurent bernabe
the output you get. On 14 September 2013 10:42, laurent bernabe laurent.bern...@gmail.comwrote: Hello, When I try to launch Pong script from PyGame, in Sugar-build, it says me that the PyGame module does not exists, though PyGame is already installed on my host system (Ubuntu). So, what

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread laurent bernabe
still can't access to its contents : If i try to get into it, I still get No such file or directory error = $ cd HitTheBalls.activity No such file or directory So, what did I misunderstood ? Regards 2013/9/14 laurent bernabe laurent.bern...@gmail.com -- Forwarded message

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread laurent bernabe
bash-4.2$ ls -l total 184 lrwxrwxrwx 1 broot broot96 Sep 14 09:47 HitTheBalls.activity - /home/laurent-bernabe/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity -rw-rw-r-- 1 broot broot 598 Sep 13 12:59 README.md drwxrwxr-x 8 broot broot 4096 Sep 13 19:01 at-spi2-atk

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread laurent bernabe
installed the program with python setup.py dev ? Regards 2013/9/14 Daniel Narvaez dwnarv...@gmail.com Hmm yeah, a symlink won't actually work, sorry. You need to move the directory inside the sugar-build directory. On 14 September 2013 18:01, laurent bernabe laurent.bern...@gmail.comwrote

Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-14 Thread laurent bernabe
Ok, thanks, I'll work this way, so. 2013/9/14 Daniel Narvaez dwnarv...@gmail.com On 14 September 2013 19:42, laurent bernabe laurent.bern...@gmail.comwrote: Thanks, I'll try this way. Just one more question please : what should be the best practice ? 1. Either to copy the folder

[Sugar-devel] Sugar-build : can't see my own activity

2013-09-14 Thread laurent bernabe
Hello, I've just installed my own activity in sugar-build, by the command $python setup.py dev But, though I've restarted Sugar-build, I can't see my own application, even looking at the table view of the activities. And I did not see any trace of my own activity in the logs. Meanwhile, I

Re: [Sugar-devel] Sugar-build : can't see my own activity

2013-09-14 Thread laurent bernabe
I don't develop activities myself so your feedback is very useful) On Saturday, 14 September 2013, laurent bernabe wrote: Hello, I've just installed my own activity in sugar-build, by the command $python setup.py dev But, though I've restarted Sugar-build, I can't see my own application

Re: [Sugar-devel] Sugar-build : can't see my own activity

2013-09-14 Thread laurent bernabe
is fine, you are inside the chroot. Looks like a bug somewhere, investigating... On 14 September 2013 22:03, laurent bernabe laurent.bern...@gmail.comwrote: I don't think, as I started the sugar emulator with $ ./osbuild run rather than running $ ./osbuild shell And from the terminal

Re: [Sugar-devel] Sugar-build : can't see my own activity

2013-09-14 Thread laurent bernabe
September 2013 23:38, laurent bernabe laurent.bern...@gmail.comwrote: no it is a pygame activity built upon sugar olpc games 2013/9/14 Daniel Narvaez dwnarv...@gmail.com Is it a gtk2 activity? If not, is it using from sugar3.activity import bundlebuilder in the setup.py? On 14 September

Re: [Sugar-devel] Sugar-build : can't see my own activity

2013-09-14 Thread laurent bernabe
it implements its own dev command. On 14 September 2013 23:47, laurent bernabe laurent.bern...@gmail.comwrote: no neither import sugar, nor import sugar3 (and it does not seems to me that I must rely on OLPC Games code for that) : maybe I missed that point. 2013/9/14 Daniel Narvaez dwnarv

Re: [Sugar-devel] Sugar-build : can't see my own activity

2013-09-14 Thread laurent bernabe
must be importing sugar or sugar3, unless it implements its own dev command. On 14 September 2013 23:47, laurent bernabe laurent.bern...@gmail.comwrote: no neither import sugar, nor import sugar3 (and it does not seems to me that I must rely on OLPC Games code for that) : maybe I missed

[Sugar-devel] Sugar build is blocking at broot setup (Ubuntu 13.04)

2013-09-13 Thread laurent bernabe
Hello everyone, I cloned the sugar build repository. But when launching ./osbuild pull, the program blocks : this is my output $ ./osbuild pull = Setup the host build system = * Create the python virtualenv * Install python packages * Pull latest

[Sugar-devel] Is git.sugarlabs.org down ?

2013-09-13 Thread laurent bernabe
Hello everyone, I launched the sugar-build pulling, but suddenly I am ending with many connections errors : failed to connect to git.sugarlabs.org So I tried to access to it and to another page from my browser, but it seems that I can't access to git.sugarlabs.org. So is git.sugarlabs.org down

Re: [Sugar-devel] Is git.sugarlabs.org down ?

2013-09-13 Thread laurent bernabe
Ok thanks, so I stop the sugar-build for now. I'll try it later again. 2013/9/13 Walter Bender walter.ben...@gmail.com seems to be :( On Fri, Sep 13, 2013 at 11:28 AM, laurent bernabe laurent.bern...@gmail.com wrote: Hello everyone, I launched the sugar-build pulling, but suddenly I

[Sugar-devel] Sugar-Build : installing a custom activity in dev mode

2013-09-13 Thread laurent bernabe
Hello, I have set up sugar build on my computer, and developped a small pygame test program (with olpc game wrapper). But I am failing to install it in dev mode. Indeed, from the terminal activity, I don't manage to access my project folder. (I noticed that the terminal path starts with

Re: [Sugar-devel] Sugar-Build : installing a custom activity in dev mode

2013-09-13 Thread laurent bernabe
dev? There are a error? Gonzalo On Fri, Sep 13, 2013 at 6:20 PM, laurent bernabe laurent.bern...@gmail.com wrote: Hello, I have set up sugar build on my computer, and developped a small pygame test program (with olpc game wrapper). But I am failing to install it in dev mode

Re: [Sugar-devel] Is PyGame already installed on real XO ?

2013-06-28 Thread laurent bernabe
), and - for the theory part - to animate pieces on the board. (Though I think it can be better to use a child window instead when teaching pieces movement : so the animations would be managed in this child window). Regards 2013/6/28 laurent bernabe laurent.bern...@gmail.com Ok. So I keep the main

Re: [Sugar-devel] Is PyGame already installed on real XO ?

2013-06-28 Thread laurent bernabe
teaching pieces movement : so the animations would be managed in this child window). Regards 2013/6/28 laurent bernabe laurent.bern...@gmail.com Ok. So I keep the main idea of an exiting GCompris application extension. I've looked at the mainline branch of the GCompris repository on Git

[Sugar-devel] Would like to extends a GCompris activity (Chess MoveLearn) : the best git sugarlabs method ?

2013-06-28 Thread laurent bernabe
Hello again, Sorry if my question is too obvious : I ask it because I never did it before. (I found the GCompris developper wiki and I am reading it). If I want to improve a GCompris activity, is the best way to clone the GCompris git repository ? And is the merge request the functionnality

Re: [Sugar-devel] Would like to extends a GCompris activity (Chess MoveLearn) : the best git sugarlabs method ?

2013-06-28 Thread laurent bernabe
as a standalone program. It was repackaged as a series of Activities for Sugar, and these were among the first Activities available. So technically if you want to work on GCompris you probably want to work on the non-Sugar version. James Simmons On Fri, Jun 28, 2013 at 10:27 AM, laurent bernabe

Re: [Sugar-devel] Is PyGame already installed on real XO ?

2013-06-28 Thread laurent bernabe
worth checking out. There has been a LOT of discussion on the list lately about how best to do this, so this chapter cannot be considered the last word on the subject, but it should be a good place to begin. James Simmons On Thu, Jun 27, 2013 at 7:04 PM, laurent bernabe laurent.bern

Re: [Sugar-devel] Would like to extends a GCompris activity (Chess MoveLearn) : the best git sugarlabs method ?

2013-06-28 Thread laurent bernabe
in their developer wiki. Regards 2013/6/28 Daniel Narvaez dwnarv...@gmail.com You really should ask this on the GCompris mailing list. On Friday, 28 June 2013, laurent bernabe wrote: Hello again, Sorry if my question is too obvious : I ask it because I never did it before. (I found

[Sugar-devel] Sugar Build : is it possible to test for several sugar versions ?

2013-06-27 Thread laurent bernabe
Hello everyone, I managed to install and run the latest SugarBuild (on Ubuntu 13.04). But is it possible to test applications in several sugar versions (0.100 and under) this way ? Also, how could I check which version am I running ? Thanks in advance

[Sugar-devel] Is PyGame already installed on real XO ?

2013-06-27 Thread laurent bernabe
Hello everyone, I plan to write an activity in order to let users learn basics chess rules. But I am wondering whether I should write it in GTK3 or PyGame as I don't know if the real XO (not the emulator instances like in my environment) has already an installation of PyGame, so that no extra

Re: [Sugar-devel] Sugar Build : is it possible to test for several sugar versions ?

2013-06-27 Thread laurent bernabe
Thank you very much :) So for now, I'll write at least for the latest Sugar version. 2013/6/27 Daniel Narvaez dwnarv...@gmail.com On 27 June 2013 11:48, laurent bernabe laurent.bern...@gmail.com wrote: Hello everyone, I managed to install and run the latest SugarBuild (on Ubuntu 13.04

Re: [Sugar-devel] Is PyGame already installed on real XO ?

2013-06-27 Thread laurent bernabe
Thank you very much :) 2013/6/27 Alan Jhonn Aguiar Schwyn alan...@hotmail.com Yes.. Pygame is in Sugar. In early versions ( 0.92 ?) there are pygame 1.8.1 and in newest ( 0.92? ) there are pygame 1.9.1 -- Date: Thu, 27 Jun 2013 11:56:15 +0200 From:

Re: [Sugar-devel] Is PyGame already installed on real XO ?

2013-06-27 Thread laurent bernabe
use Gtk3 or do a web activity. Gonzalo On Thu, Jun 27, 2013 at 6:56 AM, laurent bernabe laurent.bern...@gmail.com wrote: Hello everyone, I plan to write an activity in order to let users learn basics chess rules. But I am wondering whether I should write it in GTK3 or PyGame as I

[Sugar-devel] Problem with SugarBuild in Ubuntu 13.04

2013-06-25 Thread laurent bernabe
Hello everyone, I've just downloaded the git code for SugarBuild on Ubuntu Gnome 13.04, and then (when Sugar Build asked me to do it) I installed python-dev package. But I get the following error stacktrace : --- $ ./osbuild build = Setup

Re: [Sugar-devel] Problem with SugarBuild in Ubuntu 13.04

2013-06-25 Thread laurent bernabe
recent call last): File /home/laurent-bernabe/Programmes/sugar-build/build/out/sandbox/cache/virtualenv-1.9.1/virtualenv.py, line 2577, in module main() File /home/laurent-bernabe/Programmes/sugar-build/build/out/sandbox/cache/virtualenv-1.9.1/virtualenv.py, line 979, in main no_pip

Re: [Sugar-devel] Problem with SugarBuild in Ubuntu 13.04

2013-06-25 Thread laurent bernabe
Are you running this inside a VM? If so, is the network working reliably in the VM? On Tuesday, 25 June 2013, laurent bernabe wrote: Hello, Thanks for your answer. So I fetch the tarball with wget directly from the sugar build folder, and launched again the command

Re: [Sugar-devel] Problem with SugarBuild in Ubuntu 13.04

2013-06-25 Thread laurent bernabe
Hello again, when I launch run from the sugar build shell, I get a kind of conflict with my npm installation : --- Command failed: npm install -g --prefix /home/laurent-bernabe/Programmes/sugar-build/build/out/install npm ERR! addLocal Could not install

Re: [Sugar-devel] Problem with SugarBuild in Ubuntu 13.04

2013-06-25 Thread laurent bernabe
Daniel Narvaez dwnarv...@gmail.com with my npm installation you mean you have installed npm also outside sugar-build? The permissions of your .npm directory looks broken, your user doesn't seem to have access to the lock file inside it. On Tuesday, 25 June 2013, laurent bernabe wrote: Hello

Re: [Sugar-devel] Problem with SugarBuild in Ubuntu 13.04

2013-06-25 Thread laurent bernabe
I've deleted the .npm directory. I've also reset the git folder as the problem was not solved. And I am building all from the beginning. I will tell you if this time it works. Regards 2013/6/25 Daniel Narvaez dwnarv...@gmail.com On 25 June 2013 17:17, laurent bernabe laurent.bern

Re: [Sugar-devel] Problem with SugarBuild in Ubuntu 13.04

2013-06-25 Thread laurent bernabe
I get the same problem : what make me think that I must unistall npm first and then retry to build and run sugar build. -- Command failed: npm install -g --prefix /home/laurent-bernabe/Programmes/sugar-build/build/out/install npm ERR! addLocal Could not install . npm

<    1   2   3   4   >