[Seaside] Error loading Seaside in Pharo

Lukas Renggli renggli at gmail.com
Wed Sep 21 13:30:29 UTC 2011


Works for me. The variable is set in GRNumberPrinter>>#initialize.

Are you sure you are using the latest configuration, because there was
a bug recently in the configuration that loaded an insanely old
version of Seaside.

Lukas

On 21 September 2011 14:45, Mariano Martinez Peck <marianopeck at gmail.com> wrote:
> Hi guys. I am loading seaside in Pharo 1.2.1 or 1.3 and in both I have the
> same problem.
>
> GRNumberPrinter >> digitsOf: aNumber base: aBaseInteger
>     "Answer the absolute digits of aNumber in the base aBaseInteger."
>
>     | integer stream next |
>     integer := aNumber truncated abs.
>     integer = 0 ifTrue: [ ^ '0' ].
>     stream := WriteStream on: (String new: 10).
>     [ integer > 0 ] whileTrue: [
>         next := integer quo: aBaseInteger.
>         stream nextPut: (characters
>             at: 1 + integer - (next * aBaseInteger)).
>         integer := next ].
>     ^ stream contents reverse
>
>
> is being called and the instVar 'characters'  is nil.
>
> If I replace stream nextPut: (characters
> with
>     stream nextPut: ((characters ifNil: NumbersToCharactersLowercase)
>
> it seems to "work".
>
> The way I install it is:
>
>   Gofer new squeaksource: 'MetacelloRepository'; package:
> 'ConfigurationOfSeaside30'; load.
>                (Smalltalk at: #ConfigurationOfSeaside30) project
> latestVersion
> load: #(Core)
>
> Any ideas?
>
> Thanks
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



-- 
Lukas Renggli
www.lukas-renggli.ch


More information about the seaside mailing list