[Seaside] Problem installing seaside

Marcus Denker denker at iam.unibe.ch
Fri Dec 3 21:58:34 CET 2004


Am 03.12.2004 um 20:35 schrieb Avi Bryant:

> On Fri, 3 Dec 2004 20:25:52 +0100, Avi Bryant <avi.bryant at gmail.com> 
> wrote:
>
>> Oops, no, that's not quite it either... still investigating.
>
> Ok, this works better (though again, this is a hack without actually
> understanding what's wrong with SocketStream, so almost certainly
> breaks something else):
>
> At the bottom of SocketStream>>upToAll: instead of
>   currentContents copyFrom: 1 to: (0 max: index -1)
> put
>    currentContents copyFrom: 1 to: (0 max: index)
>
> I can't look into it any further right now, but maybe that will hold
> things together for your demo... ?
>

Thanks a lot! It works.

The changeset that introduces the bug seems to be this: (I'l add a bug 
report to mantis)

"Change Set:		socketStreamEnh-mir
Date:			16 November 2004
Author:			MIchael Rueger, Luciano Notarfrancesco, miso

This change set adds support for binary and ascii modes in 
SocketStreams, and implements the methods nextAvailable and 
nextAvailable:.
Based on a suggestion by miso upToAll: was optimized.
SocketStream is now a subclass of PositionableStream, allowing it to 
use all the data reading methods.
Also undoes update 6366Socket."



More information about the Seaside mailing list