Hi, Bert. I am trying your DiceWars xo bundle to understand developing etoys-based activity (and to study how to translate activities). Please let me newbie ask :
+ On my B4 (with Build650/Q2D07), the activity wouldn't start (I waited a few minutes and gave it up). I installed it by sending *.xo to myself by gmail and just download from gmail on XO :-) ("To install an activity" of http://wiki.laptop.org/go/Activities says that launching from Journal entry is needed to complete installing. But I just downloaded it and activity appeared in task bar) Am I doing wrong? (ok, I will try again with the proper installation step in http://wiki.laptop.org/go/Creating_an_activity) Or Do I need to upgrade my box to newer unstable release? Or Is launching etoys-based activity incredibly slow?
+ How can I know home path of currently running activity in etoys code? By the information I can tweak to search path for activity MOs.
Any hint will be appreciated. Thanks in advance! /Korakurider
On Dec 14, 2007, at 7:27 , Korakurider wrote:
Hi, Bert. I am trying your DiceWars xo bundle to understand developing etoys-based activity (and to study how to translate activities). Please let me newbie ask :
- On my B4 (with Build650/Q2D07), the activity wouldn't start (I
waited a few minutes and gave it up). I installed it by sending *.xo to myself by gmail and just download from gmail on XO :-) ("To install an activity" of http://wiki.laptop.org/go/Activities says that launching from Journal entry is needed to complete installing. But I just downloaded it and activity appeared in task bar) Am I doing wrong? (ok, I will try again with the proper installation step in http://wiki.laptop.org/go/Creating_an_activity) Or Do I need to upgrade my box to newer unstable release? Or Is launching etoys-based activity incredibly slow?
The DiceWars bundle is old, will only work on old Sugar. I think the EPaati bundle is newer, and best is probably to just copy the Etoys bundle and edit it. The latest Etoys bundle contains two scripts, one for old Sugar and one for current Sugar. 650 already has new Sugar I think.
- How can I know home path of currently running activity in etoys
code? By the information I can tweak to search path for activity MOs.
You could extract that from the path of the project or changeset that is loaded from the bundle.
Another way would be to pass the path on the command line explicitely. Something like
args="$args MO_PATH $SUGAR_BUNDLE_PATH/locales/"
in the etoys-activity script.
- Bert -
The DiceWars bundle is old, will only work on old Sugar. I think the EPaati bundle is newer, and best is probably to just copy the Etoys bundle and edit it. The latest Etoys bundle contains two scripts, one for old Sugar and one for current Sugar. 650 already has new Sugar I think.
- How can I know home path of currently running activity in etoys
code? By the information I can tweak to search path for activity MOs.
You could extract that from the path of the project or changeset that is loaded from the bundle.
Another way would be to pass the path on the command line explicitely. Something like
args="$args MO_PATH $SUGAR_BUNDLE_PATH/locales/"
in the etoys-activity script.
Let me know if you succeed. I'm toying with EPaati I hope to really start monday (right now finishing to paint my house).
stef
On Dec 14, 2007, at 12:35 , Bert Freudenberg wrote:
The DiceWars bundle is old, will only work on old Sugar. I think the EPaati bundle is newer, and best is probably to just copy the Etoys bundle and edit it. The latest Etoys bundle contains two scripts, one for old Sugar and one for current Sugar. 650 already has new Sugar I think.
Correction: I just tried to run EPaati and it does not work in Joyride because it does not have the Rainbow compatibility fixes. So you really should compare the EPaati bundle to the latest Etoys bundle, copy Etoys to your own bundle, and apply the necessary changes (activity.info, the icon, and the scripts).
- Bert -
argh does it mean that I really have to update to a last recent build? I guess so. Because I still could not find an haarddisc to do it :(
I will produce a xo and see if someone can test it, and update in parallel stef
On 14 déc. 07, at 11:26, Bert Freudenberg wrote:
On Dec 14, 2007, at 12:35 , Bert Freudenberg wrote:
The DiceWars bundle is old, will only work on old Sugar. I think the EPaati bundle is newer, and best is probably to just copy the Etoys bundle and edit it. The latest Etoys bundle contains two scripts, one for old Sugar and one for current Sugar. 650 already has new Sugar I think.
Correction: I just tried to run EPaati and it does not work in Joyride because it does not have the Rainbow compatibility fixes. So you really should compare the EPaati bundle to the latest Etoys bundle, copy Etoys to your own bundle, and apply the necessary changes (activity.info, the icon, and the scripts).
- Bert -
Etoys mailing list Etoys@lists.laptop.org http://lists.laptop.org/listinfo/etoys
No, don't worry. It should work on older builds, too.
There are multiple scripts in the bundle, one for the new Sugar and three for the old Sugar. They are not refactored, you need to edit the scripts for both the new and old Sugar. Also, "etoys-activity" in the bundle's root (not the one in "bin/", that is for new Sugar) should actually be a symlink to "old-etoys-activity", but the .xo does not preserve symlinks so you will find it is actually a copy. You could just delete "old-etoys-activity" to simplify things.
When I find the time I will add a "save project as .xo bundle" to Etoys, but for now you will have to understand the scripts :/
- Bert -
On Dec 14, 2007, at 17:37 , stephane ducasse wrote:
argh does it mean that I really have to update to a last recent build? I guess so. Because I still could not find an haarddisc to do it :(
I will produce a xo and see if someone can test it, and update in parallel stef
On 14 déc. 07, at 11:26, Bert Freudenberg wrote:
On Dec 14, 2007, at 12:35 , Bert Freudenberg wrote:
The DiceWars bundle is old, will only work on old Sugar. I think the EPaati bundle is newer, and best is probably to just copy the Etoys bundle and edit it. The latest Etoys bundle contains two scripts, one for old Sugar and one for current Sugar. 650 already has new Sugar I think.
Correction: I just tried to run EPaati and it does not work in Joyride because it does not have the Rainbow compatibility fixes. So you really should compare the EPaati bundle to the latest Etoys bundle, copy Etoys to your own bundle, and apply the necessary changes (activity.info, the icon, and the scripts).
- Bert -
Etoys mailing list Etoys@lists.laptop.org http://lists.laptop.org/listinfo/etoys
On Dec 14, 2007 9:06 PM, Bert Freudenberg bert@freudenbergs.de wrote:
No, don't worry. It should work on older builds, too.
There are multiple scripts in the bundle, one for the new Sugar and three for the old Sugar. They are not refactored, you need to edit the scripts for both the new and old Sugar. Also, "etoys-activity" in the bundle's root (not the one in "bin/", that is for new Sugar) should actually be a symlink to "old-etoys-activity", but the .xo does not preserve symlinks so you will find it is actually a copy. You could just delete "old-etoys-activity" to simplify things.
Are you saying that we will need to support both old and new Sugar? And when you say "old Sugar" I don't know how old is that :-)
Cheers, /Korakuder
On Dec 14, 2007, at 19:53 , Korakurider wrote:
On Dec 14, 2007 9:06 PM, Bert Freudenberg bert@freudenbergs.de wrote:
No, don't worry. It should work on older builds, too.
There are multiple scripts in the bundle, one for the new Sugar and three for the old Sugar. They are not refactored, you need to edit the scripts for both the new and old Sugar. Also, "etoys-activity" in the bundle's root (not the one in "bin/", that is for new Sugar) should actually be a symlink to "old-etoys-activity", but the .xo does not preserve symlinks so you will find it is actually a copy. You could just delete "old-etoys-activity" to simplify things.
Are you saying that we will need to support both old and new Sugar? And when you say "old Sugar" I don't know how old is that :-)
Ship.2 has the "new Sugar", Ship.1 and earlier the "old Sugar".
As long as it is not too hard to support older builds I think we should try.
- Bert -
Hi all
I'm trying to produce a bundle for BotsInc.
I could not find a page describing how to fill the activities forms? So I'm guessing :(. I edited the epaathi bundle and mixed it with the DiceWars one. Does anybody know where I can get the info? I read a lot of webpages but could not find the one that brings the light.
Apparently I cannot get internet working on my XO machine (I cannot say ok once I typed the network password).
Then I do not know how I can try the bundle I produced myself. :(
I tried with an usb stick but I do not know how I can read it.
I tried via the console and the sharing of my other machine but I could get the Ip number. Before I was used to do: su - dhclient
then ftp://ducasse:mypass@theip
Now I cannot get an ip.
So I do not know how I can read that file. Quite efficient. 3 hours for nothing.
So if somebody could tell me how I can read that file this would help me a lot. I put the xo file also on the web http://stephane.ducasse.free.fr/Web/BotsInc/BotsInc2.xo
and here is the file
Thanks for trying the .xo files but it will be a pain to debug and to produce another one if I cannot try it to fix that. For now I guess I will stop trying in the dark.
Stef
Quite frustrating experience....
Hi, Stef. Got your own unit? Great!
On Dec 26, 2007 5:38 AM, stephane ducasse stephane.ducasse@free.fr wrote:
Hi all
I'm trying to produce a bundle for BotsInc.
I could not find a page describing how to fill the activities forms? So I'm guessing :(. I edited the epaathi bundle and mixed it with the DiceWars one. Does anybody know where I can get the info? I read a lot of webpages but could not find the one that brings the light.
These might help you: http://wiki.laptop.org/go/Activity_tutorial http://wiki.laptop.org/go/Activity_bundles http://wiki.laptop.org/go/Low-level_Activity_API (Note that these might not be fully consistent to current stack. For instance, MANIFEST isn't mentioned in http://wiki.laptop.org/go/Activity_bundles)
Apparently I cannot get internet working on my XO machine (I cannot
say ok once I typed the network password).
You could try Support_FAQ in wiki, this is growing and you might find similar problem and workaround.
Then I do not know how I can try the bundle I produced myself. :(
I tried with an usb stick but I do not know how I can read it.
When usb stick is inserted, the volume is mounted under /media/XXXX where XXX is some ID-like string. Then you can just copy your stuff from there. The steps to manually install bundle is described in "Put the activity on an XO or emulator" of http://wiki.laptop.org/go/Creating_an_activity
I put the xo file also on the web http://stephane.ducasse.free.fr/Web/BotsInc/BotsInc2.xo
and here is the file
I am going to try yours on real XO later...
Cheers, /Korakurider p.s. I adjusted DiceWars for "new" Sugar and it run successfully on Build650. I will publish it for an example after I finish work on translation support.
Thanks for trying the .xo files but it will be a pain to debug and to produce another one if I cannot try it to fix that. For now I guess I will stop trying in the dark.
Stef
Quite frustrating experience....
Etoys mailing list Etoys@lists.laptop.org http://lists.laptop.org/listinfo/etoys
Ok thanks
I will try again with the USB stick later. If my xo work for you please let me know.
Hi, Stef. Got your own unit? Great!
On Dec 26, 2007 5:38 AM, stephane ducasse stephane.ducasse@free.fr wrote: Hi all
I'm trying to produce a bundle for BotsInc.
I could not find a page describing how to fill the activities forms? So I'm guessing :(. I edited the epaathi bundle and mixed it with the DiceWars one. Does anybody know where I can get the info? I read a lot of webpages but could not find the one that brings the light. These might help you: http://wiki.laptop.org/go/Activity_tutorial http://wiki.laptop.org/go/Activity_bundles http://wiki.laptop.org/go/Low-level_Activity_API (Note that these might not be fully consistent to current stack. For instance, MANIFEST isn't mentioned in http:// wiki.laptop.org/go/Activity_bundles)
Apparently I cannot get internet working on my XO machine (I cannot say ok once I typed the network password). You could try Support_FAQ in wiki, this is growing and you might find similar problem and workaround.
Then I do not know how I can try the bundle I produced myself. :(
I tried with an usb stick but I do not know how I can read it. When usb stick is inserted, the volume is mounted under / media/XXXX where XXX is some ID-like string. Then you can just copy your stuff from there. The steps to manually install bundle is described in "Put the activity on an XO or emulator" of http://wiki.laptop.org/go/ Creating_an_activity
I put the xo file also on the web http://stephane.ducasse.free.fr/Web/BotsInc/BotsInc2.xo
and here is the file
I am going to try yours on real XO later...
Cheers, /Korakurider p.s. I adjusted DiceWars for "new" Sugar and it run successfully on Build650. I will publish it for an example after I finish work on translation support.
Thanks for trying the .xo files but it will be a pain to debug and to produce another one if I cannot try it to fix that. For now I guess I will stop trying in the dark.
Stef
Quite frustrating experience....
Etoys mailing list Etoys@lists.laptop.org http://lists.laptop.org/listinfo/etoys
hi all
I need help. I have a lot of deadlines (reseach proposal and so on) for the next two months at least. And lot of other stuff to do, so I think that I will stop working on BotsInc. Now if someone want to help I can provide some help but not at the xo bundle level. I'm sorry but this is better that I stop lying to myself.
stef
Hi. I noticed Bert's bundle packager was pushed to stream (1875xoBundle-bf) recently. Packaging work will be much easier and straightforward, great!
Bert, Is this going to be included in update.1 ?
Stef, I will try to tweak menu stuff of botsinc and repackage it with the packager.
Cheers, /Korakurider
On Jan 19, 2008 5:33 AM, stephane ducasse stephane.ducasse@free.fr wrote:
hi all
I need help. I have a lot of deadlines (reseach proposal and so on) for the next two months at least. And lot of other stuff to do, so I think that I will stop working on BotsInc. Now if someone want to help I can provide some help but not at the xo bundle level. I'm sorry but this is better that I stop lying to myself.
stef
http://olpcnews.com/forum/index.php is a source of XO help.
etoys-dev@lists.squeakfoundation.org