Hi everyone... I downloaded the lastest olpc etoys image from
etoys-2.0-latest.zip
I also tried on several VMs and i am getting the same error... To reproduce:
1) Create a new EToy. 2) Throw a Text and a Joystick in the EToy. 3) Add viewers for those to. 4) Associate Text's forward by with Joystick's upDown. Now it should be working OK...start the script...move joystick up and down and the Text is moving. 5) Now try to edit the code of the script which should be ... script1 self forward: Joystick getUpDown 6) And change it.. say to... script1 self forward: Joystick getUpDown * 5. to make it go faster. 7) Hit accept to save it and boom... I am getting a "Unknown variable: Joystick" error... It seems i cannot edit any script. Note that using the official squeakland.org image this works fine...but we need this for OLPC EToys development.
Christos.
Chris,
I also tried on several VMs and i am getting the same error... To reproduce:
It took for a while to get around to work on that, but now I posted an update to solve this problem. Please try that.
(For the first time you try to use the textual code thing, you'll be asked to enter the initial... I think that should go away and I'll fix that soon.)
Thank you for reporting!
-- Yoshiki
etoys-dev@lists.squeakfoundation.org