[Seaside] Error loading Seaside in Pharo

Mariano Martinez Peck marianopeck at gmail.com
Wed Sep 21 12:45:10 UTC 2011

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
    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
load: #(Core)

Any ideas?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110921/d9897c57/attachment.htm

More information about the seaside mailing list