Re: About loading Seaside into Squeak6.0a-17082 ....

Tobias Pape <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside,gmane.comp.lang.smalltalk.squeak.general
Message-ID <[email protected]>
Hi,
(cc squeak-dev)

> On 26.04.2017, at 19:52, Esteban A. Maringolo <[email protected]> wrote:
> 
> You should have a GRSqueakPlatform as subclass, and then evaluate
> "GRSqueakPlatform select", this will create and assign the new
> instance as GRPlatform singleton.
> 

Sadly, in his image won't be a GRSqueakPlatform.
Why? because (SystemVersion current version asString) returns 'Squeak6.0alpha', but
MetacelloSqueakPlatform>>defaultPlatformAttributes does not know about that.
And ConfigurationOfGrease>>baseline117: only has an idea of #'squeak4.x' and #'squeak5.x'.

I've no good idea how to fix that yet. 

Any takers?

best regards
	-Tobias


> Regards.
> Esteban A. Maringolo
> 
> 
> 2017-04-26 14:27 GMT-03:00 H. Hirzel <[email protected]>:
>> The issue is that
>> 
>>     GRPlatform current
>> 
>> 
>> returns nil.
>> 
>> On 4/26/17, H. Hirzel <[email protected]> wrote:
>>> After replacing
>>> 
>>>      #greaseInteger
>>> 
>>> with
>>> 
>>>     #asInteger
>>> 
>>> I get an error in
>>> 
>>> 
>>> WAKeyGenerator>>initialize
>>> 
>>> initialize
>>>      super initialize.
>>>      self generator: GRPlatform current newRandom.
>>>      self space:
>>> 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-'
>>> 
>>> 
>>> 
>>> So there are issues with the Grease compatibility layer.
>>> 
>>> Maybe the configuration map loads the wrong version?
>>> 
>>> 
>>> Suggestions?
>>> 
>>> 
>>> On 4/26/17, H. Hirzel <[email protected]> wrote:
>>>> Hello
>>>> 
>>>> Loading Seaside into Squeak6.0a-17082 .... gives the following error
>>>> 
>>>> Character(Object)>>doesNotUnderstand: #greaseInteger
>>>> 
>>>> Details [1]
>>>> 
>>>> Is there a particular Squeak6.0a version where Seaside loads fine?
>>>> http://files.squeak.org/6.0alpha/
>>>> 
>>>> Any suggestions how a fix to Grease should look like?
>>>> 
>>>> Regards
>>>> --Hannes
>>>> 
>>>> ---------------------------------------------------------------------------------------------
>>>> Character(Object)>>doesNotUnderstand: #greaseInteger
>>>>        Receiver: Character null
>>>>        Arguments and temporary variables:
>>>>                aMessage:       greaseInteger
>>>>                exception:      MessageNotUnderstood:
>>>> Character>>greaseInteger
>>>>                resumeValue:    nil
>>>>        Receiver's instance variables:
>>>> Character null
>>>> 
>>>> WAUrlEncoder class>>encode:on:
>>>>        Receiver: WAUrlEncoder
>>>>        Arguments and temporary variables:
>>>>                aCharacter:     Character null
>>>>                aStream:        a WriteStream
>>>>                printer:        a GRNumberPrinter
>>>>        Receiver's instance variables:
>>>>                superclass:     WATableBasedEncoder
>>>>                methodDict:     a MethodDictionary()
>>>>                format:         65538
>>>>                instanceVariables:      nil
>>>>                organization:   ('as yet unclassified')
>>>> 
>>>>                subclasses:     nil
>>>>                name:   #WAUrlEncoder
>>>>                classPool:      nil
>>>>                sharedPools:    nil
>>>>                environment:    Smalltalk
>>>>                category:       #'Seaside-Core-Document'
>>>>                table:  #(nil nil nil nil nil nil nil nil nil nil nil
>>>> nil nil nil
>>>> nil nil nil ni...etc...
>>>> 
>>>> WAUrlEncoder class>>initializeTable
>>>>        Receiver: WAUrlEncoder
>>>>        Arguments and temporary variables:
>>>>                stream:         a WriteStream
>>>>                characterLimit:         255
>>>>                index:  0
>>>>                character:      Character null
>>>>                value:  nil
>>>>        Receiver's instance variables:
>>>>                superclass:     WATableBasedEncoder
>>>>                methodDict:     a MethodDictionary()
>>>>                format:         65538
>>>>                instanceVariables:      nil
>>>>                organization:   ('as yet unclassified')
>>>> 
>>>>                subclasses:     nil
>>>>                name:   #WAUrlEncoder
>>>>                classPool:      nil
>>>>                sharedPools:    nil
>>>>                environment:    Smalltalk
>>>>                category:       #'Seaside-Core-Document'
>>>>                table:  #(nil nil nil nil nil nil nil nil nil nil nil
>>>> nil nil nil
>>>> nil nil nil ni...etc...
>>>> 
>>> 
>> _______________________________________________
>> seaside mailing list
>> [email protected]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> seaside mailing list
> [email protected]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.