wonderland in the plugin (fwd)

John Voiklis voiklis
Fri Apr 18 14:54:13 PDT 2003


I tried filing in SwikiNavigation.st and I get me a "MessageNotUnderstood: reset" error. The guilty block of code seems to be:

formFromStream: aBinaryStream
	"Answer a ColorForm stored on the given stream.  closes the
stream"
	| reader readerClass form  |

	readerClass _ self withAllSubclasses
		detect: [:subclass | aBinaryStream reset. (subclass new
on: aBinaryStream) understandsImageFormat]
		ifNone: [
			(aBinaryStream respondsTo: #close) ifTrue: [
aBinaryStream close ].
			^self error: 'image format not recognized'].
	reader _ readerClass new on: aBinaryStream reset.
	Cursor read showWhile: [
		form _ reader nextImage.
		reader close].
	^ form

Thanks--John

---------- Forwarded message ----------
Date: Wed, 19 Jun 2002 16:15:24 -0400 (EDT)
From: John Voiklis <voiklis at redfigure.org>
To: squeakland at squeakland.org
Subject: Re: wonderland in the plugin

Hi Michael,

That works fine for most projects, but it chokes on the project swiki's
SwikiNavigation. Again it may be easier to debug the SwikiNavigation (if I
only knew how...I'll try nevertheless). Could I ask what were the very
good reasons for removing 3D and text-to-voice classes; I am asking in all
earnestness, because knowing will keep me from obsessing about it?

Thank you,

John

-----Original Message-----
From: owner-squeakland at squeakland.org
[mailto:owner-squeakland at squeakland.org]On Behalf Of Michael Rueger
Sent: Tuesday, June 18, 2002 10:15 PM
To: squeakland at squeakland.org
Subject: Re: wonderland in the plugin


John,

it probably would be more effective to just take a regular 3.2 image,
rename it to SqueakPlugin.image and replace the installed image with
this one. Every Squeak image has the ability to function as a plugin
image, although a number of settings etc are different.

Michael


John Voiklis wrote:
> I am trying to use Wonderland in the plugin version of Squeak. I filed
out
> all the Balloon3d stuff from the 3.2 image and filed it back into the
plugin
> image--no problems appeared through that process. But something still
seems
> to be missing; doing "Wonderland new" gives me "Error: key not found." I
> believe this has something to do with initializing the Wonderland
constants,
> or so I surmised from reading through the debugger stack. That's not
much to
> go on, but does anyone have any ideas so far?
>
> Thank you,
>
> John
>







More information about the Squeakland mailing list