Hi all,
I'm using the current Etoys-To-Go-4.1.1 on ubuntu maverick with firefox 3.6.15. I ran the npetoysregister-script in order to register Etoys with firefox. The output was: ---8X---------------------------------------------- „/home/markus/.mozilla/plugins/npetoys.so“ -> „/usr/local/share/Etoys-4.1.1.app/Contents/Linux-i686/npetoys.so“ „/home/markus/.npsqueak/npetoysrun“ -> „/usr/local/share/Etoys-4.1.1.app/Contents/Linux-i686/npetoysrun“ ---X8---------------------------------------------- When I try to launch a project on squeakland's showcase, Etoys starts and shows the following ---8X---------------------------------------------- Syntax Error Object as yet unclassified c ---------------------------- c | renderedMorph Vertical bar expected ->_ costume renderedMorph. renderedMorph == aMorph ifTrue: [^ self]. baseGraphic _ costume renderedMorph valueOfProperty: #baseGraphic. rememberCostume ifTrue: [self rememberCostume: renderedMorph]. renderedMorph changed. w _ renderedMorph world. "Copy 'player state' (e.g., state which should be associated with the player but is stored in the morph itself these days) from the old rendered morph the new morph." aMorph rotationStyle: renderedMorph rotationStyle. aMorph forwardDirection: renderedMorph forwardDirection. "Note: referencePosition is *not* state but #moveTo: behavior" aMorph referencePosition: renderedMorph referencePosition. anEventHandler _ renderedMorph eventHandler. costume isFlexMorph ifTrue: [costume adjustAfter: [costume replaceSubmorph: renderedMorph by: aMorph]] ifFalse: [costume owner ifNotNil: [costume owner replaceSubmorph: costume by: aMorph]. aMorph player: self. aMorph actorState: costume actorState. (known _ costume knownName) ifNotNil: [aMorph setNameTo: known]. costume _ aMorph. w ifNotNil: [w stopStepping: renderedMorph. w startStepping: aMorph]]. baseGraphic ifNotNil: [self setBaseGraphic: baseGraphic]. aMorph eventHandler: anEventHandler. aMorph changed ---X8---------------------------------------------- There appears also an "Error: a primitive has failed". On debugging I see this: UnixFileDirectory(Object)>>error: ---8X---------------------------------------------- Object as yet unclassified these these daysNothing more expected ->) from the old rendered morph the new morph." aMorph rotationStyle: renderedMorph rotationStyle. aMorph forwardDirection: renderedMorph forwardDirection. "Note: referencePosition is *not* state but #moveTo: behavior" aMorph referencePosition: renderedMorph referencePosition. anEventHandler _ renderedMorph eventHandler. costume isFlexMorph ifTrue: [costume adjustAfter: [costume replaceSubmorph: renderedMorph by: aMorph]] ifFalse: [costume owner ifNotNil: [costume owner replaceSubmorph: costume by: aMorph]. aMorph player: self. aMorph actorState: costume actorState. (known _ costume knownName) ifNotNil: [aMorph setNameTo: known]. costume _ aMorph. w ifNotNil: [w stopStepping: renderedMorph. w startStepping: aMorph]]. baseGraphic ifNotNil: [self setBaseGraphic: baseGraphic]. aMorph eventHandler: anEventHandler. aMorph changed ---X8---------------------------------------------- What's wrong? When I download the .pr-File and load it into Etoys everything works fine. Markus _______________________________________________ squeakland mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/squeakland |
Me too!
On Tue, Mar 15, 2011 at 5:55 PM, Markus Schlager wrote (at http://forum.world.st/Browser-Plugin-fails-fwd-td3357731.html ) > I'm using the current Etoys-To-Go-4.1.1 on ubuntu maverick with firefox > 3.6.15. > > I ran the npetoysregister-script in order to register Etoys with firefox. Unfortunately Markus I don't think the Firefox plugin is supported in Etoys To Go, and the documentation discourages the plugin. However please post if you do figure out what is wrong. * <FORKING THE CONVERSATION> Meanwhile, the Firefox browser plugin in the official Maverick Meerkat (Ubuntu 10.10) package did not seem to automatically install for me (on 32 bit x86), though it is only Etoys 4.0. Unfortunately, I don't see any updates in the pipeline for the April Ubuntu release (11.04 Natty Narwhal) but perhaps I looked in the wrong places: http://packages.ubuntu.com/natty/etoys http://packages.debian.org/sid/etoys http://packages.ubuntu.com/natty/sugar-etoys-activity If anyone has suggestions, please post. If it is only me that experienced the plugin failure on the official package, then I won't file a bug report with Ubuntu. _______________________________________________ squeakland mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/squeakland |
In reply to this post by Markus Schlager-2
On 15.03.2011, at 18:55, Markus Schlager wrote: > Hi all, > > I'm using the current Etoys-To-Go-4.1.1 on ubuntu maverick with firefox 3.6.15. > > I ran the npetoysregister-script in order to register Etoys with firefox. The output was: > > ---8X---------------------------------------------- > „/home/markus/.mozilla/plugins/npetoys.so“ -> „/usr/local/share/Etoys-4.1.1.app/Contents/Linux-i686/npetoys.so“ > „/home/markus/.npsqueak/npetoysrun“ -> „/usr/local/share/Etoys-4.1.1.app/Contents/Linux-i686/npetoysrun“ > ---X8---------------------------------------------- That does not look like a fresh Etoys-To-Go. Did you move it to /usr/local/share and rename? That's not a good idea, because the to-go version is set up to write its files next to its install location. Normally that is a USB stick, but your home directory would work as well. /usr/local won't work because it is write-protected. > When I try to launch a project on squeakland's showcase, Etoys starts and shows the following > > What's wrong? Not quite sure. Does this happen with other projects, too? > When I download the .pr-File and load it into Etoys everything works fine. > > Markus Great! :) - Bert - _______________________________________________ squeakland mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/squeakland |
Hi Bert,
On Wed, 16 Mar 2011, Bert Freudenberg wrote: > > On 15.03.2011, at 18:55, Markus Schlager wrote: > >> I'm using the current Etoys-To-Go-4.1.1 on ubuntu maverick with firefox 3.6.15. >> >> I ran the npetoysregister-script in order to register Etoys with firefox. The output was: >> >> ---8X---------------------------------------------- >> „/home/markus/.mozilla/plugins/npetoys.so“ -> „/usr/local/share/Etoys-4.1.1.app/Contents/Linux-i686/npetoys.so“ >> „/home/markus/.npsqueak/npetoysrun“ -> „/usr/local/share/Etoys-4.1.1.app/Contents/Linux-i686/npetoysrun“ >> ---X8---------------------------------------------- > > That does not look like a fresh Etoys-To-Go. Did you move it to > /usr/local/share and rename? That's not a good idea, because the to-go > version is set up to write its files next to its install location. > Normally that is a USB stick, but your home directory would work as > well. /usr/local won't work because it is write-protected. ---8X----------------------- # editiert von Markus Schlager #export SQUEAK_SECUREDIR="$TOP/.etoys" #export SQUEAK_USERDIR="$TOP/Etoys" export SQUEAK_SECUREDIR="$HOME/.etoys" export SQUEAK_USERDIR="$HOME/Etoys" ---X8----------------------- Meanwhile the plugin works, too. I had to alter these two lines in npetoysrun as well. That was all. Markus _______________________________________________ squeakland mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/squeakland |
On 16.03.2011, at 22:35, Markus Schlager wrote: > Hi Bert, > > On Wed, 16 Mar 2011, Bert Freudenberg wrote: > >> >> On 15.03.2011, at 18:55, Markus Schlager wrote: >> >>> I'm using the current Etoys-To-Go-4.1.1 on ubuntu maverick with firefox 3.6.15. >>> >>> I ran the npetoysregister-script in order to register Etoys with firefox. The output was: >>> >>> ---8X---------------------------------------------- >>> „/home/markus/.mozilla/plugins/npetoys.so“ -> „/usr/local/share/Etoys-4.1.1.app/Contents/Linux-i686/npetoys.so“ >>> „/home/markus/.npsqueak/npetoysrun“ -> „/usr/local/share/Etoys-4.1.1.app/Contents/Linux-i686/npetoysrun“ >>> ---X8---------------------------------------------- >> >> That does not look like a fresh Etoys-To-Go. Did you move it to /usr/local/share and rename? That's not a good idea, because the to-go version is set up to write its files next to its install location. Normally that is a USB stick, but your home directory would work as well. /usr/local won't work because it is write-protected. > > You're right, but it works fine. I altered these two lines in etoys.sh: > > ---8X----------------------- > # editiert von Markus Schlager > #export SQUEAK_SECUREDIR="$TOP/.etoys" > #export SQUEAK_USERDIR="$TOP/Etoys" > export SQUEAK_SECUREDIR="$HOME/.etoys" > export SQUEAK_USERDIR="$HOME/Etoys" > ---X8----------------------- > > Meanwhile the plugin works, too. I had to alter these two lines in npetoysrun as well. That was all. > > Markus Ah, great :) I guess npetoysrun should execute etoys.sh, there is some duplication of functionality. - Bert - _______________________________________________ squeakland mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/squeakland |
Free forum by Nabble | Edit this page |