a question forwarded from PWS about SwikiNavigation and v3.2 gamma

John Voiklis voiklis at redfigure.org
Tue Jun 25 15:32:36 UTC 2002


Hi,

I'm trying to use Wonderland in the Project Swiki. Replacing the plugin
image with the 3.2 image was simple enough, but it seems to choke on the
SwikiNavigation (for those who haven't worked with a project swiki, go to
http://manatee.cc.gatech.edu:8080/beta/18; the buttons on the left are the
SwikiNavigation). I tried filing in the SwikiNavigation code
(http://manatee.cc.gatech.edu:8080/plug-in/SwikiNavigation.st) and it gives
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

I wrote to the PWS list, Je77 seemed equally confused; to quote him:

"Strange. It doesn't seem to want to take in the images at the bottom of
the change set. If you can find some more compatible way of getting those
images in, let me know."

My question is: does anyone know of a "more compatible way of getting those
images in?"

Thank you for any help you can offer,

John




More information about the Squeak-dev mailing list