Attempting to update from Squeak4.5-13352

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Attempting to update from Squeak4.5-13352

Jeff Gonis-2
Hi Folks,

So I grabbed the Squeak4.513352 zip from the build.squeak.org server and attempted to update it from trunk.  I received an MNU for environments comment from Installer I believe.  Below is the full stack from the debugger popup:

VM: Win32 - Smalltalk
Image: Squeak4.5 [latest update: #13352]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir D:\jeffs Folder\squeakCog\4.5
Trusted Dir D:\jeffs Folder\squeakCog\4.5\VGW44765
Untrusted Dir C:\Users\jgonis\Documents\My Squeak

Environment(Object)>>doesNotUnderstand: #undeclare:from:
    Receiver: Smalltalk
    Arguments and temporary variables:
        aMessage:     undeclare: #Remembered from: a Dictionary(#InstallerBindings->nil #Is...etc...
        exception:     MessageNotUnderstood: Environment>>undeclare:from:
        resumeValue:     nil
    Receiver's instance variables:
        info:     SmalltalkInfo
        declarations:     an IdentityDictionary(size 2211)
        bindings:     an IdentityDictionary(size 2211)
        undeclared:     an IdentityDictionary(#AllOffImage->nil #AllOnImage->nil #AllPresse...etc...
        policies:     {a BindingPolicy}
        observers:     an IdentitySet()

[] in [] in Installer class(Class)>>removeClassVarName:
    Receiver: Installer
    Arguments and temporary variables:
<<error during printing>
    Receiver's instance variables:
        superclass:     Object
        methodDict:     a MethodDictionary(size 101)
        format:     142
        instanceVariables:     #('answers' 'packages' 'messagesToSuppress' 'useFileIn' 'noi...etc...
        organization:     ('action report' reportFor:page:on: reportSection:on:)
('auto ans...etc...
        subclasses:     {InstallerCruft . InstallerFile . InstallerInternetBased . Installe...etc...
        name:     #Installer
        classPool:     a Dictionary(#InstallerBindings->nil #IsSetToTrapErrors->nil #Rememb...etc...
        sharedPools:     nil
        environment:     Smalltalk
        category:     #'Installer-Core'

Array(SequenceableCollection)>>do:
    Receiver: {Installer . Installer class}
    Arguments and temporary variables:
        aBlock:     [closure] in [] in Installer class(Class)>>removeClassVarName:
        index:     2
        indexLimiT:     2
    Receiver's instance variables:
{Installer . Installer class}

[] in Installer class(Class)>>removeClassVarName:
    Receiver: Installer
    Arguments and temporary variables:
        aString:     Installer
        aSymbol:     #Remembered
        subclass:     #Remembered
    Receiver's instance variables:
        superclass:     Object
        methodDict:     a MethodDictionary(size 101)
        format:     142
        instanceVariables:     #('answers' 'packages' 'messagesToSuppress' 'useFileIn' 'noi...etc...
        organization:     ('action report' reportFor:page:on: reportSection:on:)
('auto ans...etc...
        subclasses:     {InstallerCruft . InstallerFile . InstallerInternetBased . Installe...etc...
        name:     #Installer
        classPool:     a Dictionary(#InstallerBindings->nil #IsSetToTrapErrors->nil #Rememb...etc...
        sharedPools:     nil
        environment:     Smalltalk
        category:     #'Installer-Core'

OrderedCollection>>do:
    Receiver: an OrderedCollection(Installer InstallerCruft InstallerFile InstallerInternetBased Install...etc...
    Arguments and temporary variables:
        aBlock:     [closure] in Installer class(Class)>>removeClassVarName:
        index:     16
    Receiver's instance variables:
        array:     {nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil ....etc...
        firstIndex:     16
        lastIndex:     29

Installer class(Class)>>removeClassVarName:
    Receiver: Installer
    Arguments and temporary variables:
        aString:     #Remembered
        aSymbol:     #Remembered
    Receiver's instance variables:
        superclass:     Object
        methodDict:     a MethodDictionary(size 101)
        format:     142
        instanceVariables:     #('answers' 'packages' 'messagesToSuppress' 'useFileIn' 'noi...etc...
        organization:     ('action report' reportFor:page:on: reportSection:on:)
('auto ans...etc...
        subclasses:     {InstallerCruft . InstallerFile . InstallerInternetBased . Installe...etc...
        name:     #Installer
        classPool:     a Dictionary(#InstallerBindings->nil #IsSetToTrapErrors->nil #Rememb...etc...
        sharedPools:     nil
        environment:     Smalltalk
        category:     #'Installer-Core'

[] in Installer class(Class)>>declare:
    Receiver: Installer
    Arguments and temporary variables:
<<error during printing>
    Receiver's instance variables:
        superclass:     Object
        methodDict:     a MethodDictionary(size 101)
        format:     142
        instanceVariables:     #('answers' 'packages' 'messagesToSuppress' 'useFileIn' 'noi...etc...
        organization:     ('action report' reportFor:page:on: reportSection:on:)
('auto ans...etc...
        subclasses:     {InstallerCruft . InstallerFile . InstallerInternetBased . Installe...etc...
        name:     #Installer
        classPool:     a Dictionary(#InstallerBindings->nil #IsSetToTrapErrors->nil #Rememb...etc...
        sharedPools:     nil
        environment:     Smalltalk
        category:     #'Installer-Core'

Array(SequenceableCollection)>>do:
    Receiver: #(#Remembered)
    Arguments and temporary variables:
        aBlock:     [closure] in Installer class(Class)>>declare:
        index:     1
        indexLimiT:     1
    Receiver's instance variables:
#(#Remembered)

Installer class(Class)>>declare:
    Receiver: Installer
    Arguments and temporary variables:
        varString:     'InstallerBindings IsSetToTrapErrors Repositories SkipLoadingTests V...etc...
        newVars:     #(#InstallerBindings #IsSetToTrapErrors #Repositories #SkipLoadingTest...etc...
        conflicts:     #(false)
    Receiver's instance variables:
        superclass:     Object
        methodDict:     a MethodDictionary(size 101)
        format:     142
        instanceVariables:     #('answers' 'packages' 'messagesToSuppress' 'useFileIn' 'noi...etc...
        organization:     ('action report' reportFor:page:on: reportSection:on:)
('auto ans...etc...
        subclasses:     {InstallerCruft . InstallerFile . InstallerInternetBased . Installe...etc...
        name:     #Installer
        classPool:     a Dictionary(#InstallerBindings->nil #IsSetToTrapErrors->nil #Rememb...etc...
        sharedPools:     nil
        environment:     Smalltalk
        category:     #'Installer-Core'

[] in ClassBuilder>>name:inEnvironment:subclassOf:type:instanceVariableNames:classVariableNames:poolDictionaries:category:unsafe:
    Receiver: a ClassBuilder
    Arguments and temporary variables:
<<error during printing>
    Receiver's instance variables:
        environ:     Smalltalk
        classMap:     nil
        instVarMap:     an IdentityDictionary()
        progress:     nil
        maxClassIndex:     nil
        currentClassIndex:     nil

BlockClosure>>ensure:
    Receiver: [closure] in ClassBuilder>>name:inEnvironment:subclassOf:type:instanceVariableNames:classV...etc...
    Arguments and temporary variables:
        aBlock:     [closure] in ClassBuilder>>name:inEnvironment:subclassOf:type:instanceV...etc...
        complete:     nil
        returnValue:     nil
    Receiver's instance variables:
        outerContext:     ClassBuilder>>name:inEnvironment:subclassOf:type:instanceVariable...etc...
        startpc:     332
        numArgs:     0

ClassBuilder>>name:inEnvironment:subclassOf:type:instanceVariableNames:classVariableNames:poolDictionaries:category:unsafe:
    Receiver: a ClassBuilder
    Arguments and temporary variables:
        className:     #Installer
        env:     Smalltalk
        newSuper:     Object
        type:     #normal
        instVarString:     'answers packages messagesToSuppress useFileIn noiseLevel curren...etc...
        classVarString:     'InstallerBindings IsSetToTrapErrors Repositories SkipLoadingTe...etc...
        poolString:     ''
        category:     #'Installer-Core'
        unsafe:     false
        oldClass:     Installer
        instVars:     #('answers' 'packages' 'messagesToSuppress' 'useFileIn' 'noiseLevel' ...etc...
        classVars:     #(#InstallerBindings #IsSetToTrapErrors #Repositories #SkipLoadingTe...etc...
        copyOfOldClass:     Installer
        newClass:     {Installer}
    Receiver's instance variables:
        environ:     Smalltalk
        classMap:     nil
        instVarMap:     an IdentityDictionary()
        progress:     nil
        maxClassIndex:     nil
        currentClassIndex:     nil

ClassBuilder>>name:inEnvironment:subclassOf:type:instanceVariableNames:classVariableNames:poolDictionaries:category:
    Receiver: a ClassBuilder
    Arguments and temporary variables:
        className:     #Installer
        env:     Smalltalk
        newSuper:     Object
        type:     #normal
        instVarString:     'answers packages messagesToSuppress useFileIn noiseLevel curren...etc...
        classVarString:     'InstallerBindings IsSetToTrapErrors Repositories SkipLoadingTe...etc...
        poolString:     ''
        category:     #'Installer-Core'
    Receiver's instance variables:
        environ:     Smalltalk
        classMap:     nil
        instVarMap:     an IdentityDictionary()
        progress:     nil
        maxClassIndex:     nil
        currentClassIndex:     nil

[] in MCClassDefinition>>createClass
    Receiver: a MCClassDefinition(Installer)
    Arguments and temporary variables:
<<error during printing>
    Receiver's instance variables:
        name:     #Installer
        superclassName:     #Object
        variables:     an OrderedCollection(a MCInstanceVariableDefinition(answers) a MCIns...etc...
        category:     #'Installer-Core'
        type:     #normal
        comment:     'Documentation now available at http://installer.pbwiki.com/Installer
...etc...
        commentStamp:     'kph 3/30/2009 01:29'
        traitComposition:     nil
        classTraitComposition:     nil

BlockClosure>>on:do:
    Receiver: [closure] in MCClassDefinition>>createClass
    Arguments and temporary variables:
        exception:     an ExceptionSet
        handlerAction:     [closure] in MCClassDefinition>>createClass
        handlerActive:     true
    Receiver's instance variables:
        outerContext:     MCClassDefinition>>createClass
        startpc:     144
        numArgs:     0

MCClassDefinition>>createClass
    Receiver: a MCClassDefinition(Installer)
    Arguments and temporary variables:
        superClass:     Object
        composition:     nil
        traitComposition:     nil
        traitComposition:     nil
        class:     #(nil)
    Receiver's instance variables:
        name:     #Installer
        superclassName:     #Object
        variables:     an OrderedCollection(a MCInstanceVariableDefinition(answers) a MCIns...etc...
        category:     #'Installer-Core'
        type:     #normal
        comment:     'Documentation now available at http://installer.pbwiki.com/Installer
...etc...
        commentStamp:     'kph 3/30/2009 01:29'
        traitComposition:     nil
        classTraitComposition:     nil

MCClassDefinition>>load
    Receiver: a MCClassDefinition(Installer)
    Arguments and temporary variables:
        class:     nil
    Receiver's instance variables:
        name:     #Installer
        superclassName:     #Object
        variables:     an OrderedCollection(a MCInstanceVariableDefinition(answers) a MCIns...etc...
        category:     #'Installer-Core'
        type:     #normal
        comment:     'Documentation now available at http://installer.pbwiki.com/Installer
...etc...
        commentStamp:     'kph 3/30/2009 01:29'
        traitComposition:     nil
        classTraitComposition:     nil

[] in [] in [] in [] in [] in MCPackageLoader>>basicLoad
    Receiver: a MCPackageLoader
    Arguments and temporary variables:
<<error during printing>
    Receiver's instance variables:
        requirements:     #()
        unloadableDefinitions:     a SortedCollection()
        obsoletions:     a Dictionary(a MCClassDefinition(Installer)->a MCClassDefinition(I...etc...
        additions:     an OrderedCollection(a MCClassDefinition(Installer))
        removals:     an OrderedCollection(a MCMethodDefinition(Installer class>>remembered...etc...
        errorDefinitions:     an OrderedCollection(a MCClassDefinition(Installer))
        provisions:     a Set(#FormTest #ClassListBrowser #HSVColorSelectorMorph #SystemDic...etc...
        methodAdditions:     an OrderedCollection()
        preamble:     nil

[] in [] in OrderedCollection(Collection)>>do:displayingProgress:every:
    Receiver: an OrderedCollection(a MCClassDefinition(Installer))
    Arguments and temporary variables:
<<error during printing>
    Receiver's instance variables:
        array:     {a MCClassDefinition(Installer) . nil . nil . nil . nil . nil . nil . ni...etc...
        firstIndex:     1
        lastIndex:     1


--- The full stack ---
Environment(Object)>>doesNotUnderstand: #undeclare:from:
[] in [] in Installer class(Class)>>removeClassVarName:
Array(SequenceableCollection)>>do:
[] in Installer class(Class)>>removeClassVarName:
OrderedCollection>>do:
Installer class(Class)>>removeClassVarName:
[] in Installer class(Class)>>declare:
Array(SequenceableCollection)>>do:
Installer class(Class)>>declare:
[] in ClassBuilder>>name:inEnvironment:subclassOf:type:instanceVariableNames:classVariableNames:poolDictionaries:category:unsafe:
BlockClosure>>ensure:
ClassBuilder>>name:inEnvironment:subclassOf:type:instanceVariableNames:classVariableNames:poolDictionaries:category:unsafe:
ClassBuilder>>name:inEnvironment:subclassOf:type:instanceVariableNames:classVariableNames:poolDictionaries:category:
[] in MCClassDefinition>>createClass
BlockClosure>>on:do:
MCClassDefinition>>createClass
MCClassDefinition>>load
[] in [] in [] in [] in [] in MCPackageLoader>>basicLoad
[] in [] in OrderedCollection(Collection)>>do:displayingProgress:every:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OrderedCollection>>do:
[] in OrderedCollection(Collection)>>do:displayingProgress:every:
[] in [] in MorphicUIManager>>displayProgress:at:from:to:during:
BlockClosure>>on:do:
[] in MorphicUIManager>>displayProgress:at:from:to:during:
BlockClosure>>ensure:
MorphicUIManager>>displayProgress:at:from:to:during:
ProgressInitiationException>>defaultResumeValue
ProgressInitiationException(Exception)>>resume
ProgressInitiationException>>defaultAction
UndefinedObject>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
ProgressInitiationException class>>display:at:from:to:during:
ByteString(String)>>displayProgressAt:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
OrderedCollection(Collection)>>do:displayingProgress:every:
OrderedCollection(Collection)>>do:displayingProgress:
[] in [] in [] in [] in MCPackageLoader>>basicLoad
BlockClosure>>on:do:
[] in [] in [] in MCPackageLoader>>basicLoad
BlockClosure>>on:do:
CurrentReadOnlySourceFiles class>>cacheDuring:
[] in [] in MCPackageLoader>>basicLoad
BlockClosure>>ensure:
[] in MCPackageLoader>>basicLoad
BlockClosure>>ensure:
RecentMessages>>suspendWhile:
MCPackageLoader>>basicLoad
[] in MCPackageLoader>>loadWithNameLike:
BlockClosure>>ensure:
MCPackageLoader>>useChangeSetNamed:during:
MCPackageLoader>>useNewChangeSetNamedLike:during:
MCPackageLoader>>loadWithNameLike:
MCThreeWayMerger(MCMerger)>>loadWithNameLike:
MCVersionMerger>>mergeWithNameLike:
MCVersionMerger class>>mergeVersion:
MCDiffyVersion(MCVersion)>>merge
-- and more not shown --



Reply | Threaded
Open this post in threaded view
|

Re: Attempting to update from Squeak4.5-13352

Frank Shearar-3
On 21 January 2014 00:15, Jeff Gonis <[hidden email]> wrote:
> Hi Folks,
>
> So I grabbed the Squeak4.513352 zip from the build.squeak.org server and
> attempted to update it from trunk.  I received an MNU for environments
> comment from Installer I believe.  Below is the full stack from the debugger
> popup:

>From build.squeak.org or from here?:
http://ftp.squeak.org/4.5alpha/Squeak4.5-13352.zip

build.squeak.org jobs now use this image as the basis of all CI jobs.

frank

Reply | Threaded
Open this post in threaded view
|

Re: Attempting to update from Squeak4.5-13352

Colin Putney-3
In reply to this post by Jeff Gonis-2
On Mon, Jan 20, 2014 at 7:15 PM, Jeff Gonis <[hidden email]> wrote:
> Hi Folks,
>
> So I grabbed the Squeak4.513352 zip from the build.squeak.org server and
> attempted to update it from trunk.  I received an MNU for environments
> comment from Installer I believe.

I guess that's my fault. I added some methods for dealing with
Undeclared to Environment and made other parts of the image use them.
It looks like the senders of #undeclare:from: are getting loaded
before the implementation. I'll add a configuration to prevent that.

Colin

Reply | Threaded
Open this post in threaded view
|

Re: Attempting to update from Squeak4.5-13352

Frank Shearar-3
On 21 January 2014 13:11, Colin Putney <[hidden email]> wrote:

> On Mon, Jan 20, 2014 at 7:15 PM, Jeff Gonis <[hidden email]> wrote:
>> Hi Folks,
>>
>> So I grabbed the Squeak4.513352 zip from the build.squeak.org server and
>> attempted to update it from trunk.  I received an MNU for environments
>> comment from Installer I believe.
>
> I guess that's my fault. I added some methods for dealing with
> Undeclared to Environment and made other parts of the image use them.
> It looks like the senders of #undeclare:from: are getting loaded
> before the implementation. I'll add a configuration to prevent that.

Thanks! There's also a bug in our (my) build scripts. Notice the lack
of error in http://build.squeak.org/job/SqueakTrunk/768/console. That
means that those tests ran against some image of unknown version. That
MNU ought to have failed the entire build.

frank

> Colin
>

Reply | Threaded
Open this post in threaded view
|

Re: Attempting to update from Squeak4.5-13352

Jeff Gonis-2
Hi Frank and Colin,

I grabbed the image from the build server and not from the ftp site. Thanks to both of you for looking into this and the quick feedback.  Great work!

Jeff


Reply | Threaded
Open this post in threaded view
|

Re: Attempting to update from Squeak4.5-13352

Chris Muller-3
In reply to this post by Colin Putney-3
Hey Colin, FYI, I went ahead and moved Environments above Kernel in
update-cwp.277.mcm and that seems to clear up the issue.

On Tue, Jan 21, 2014 at 7:11 AM, Colin Putney <[hidden email]> wrote:

> On Mon, Jan 20, 2014 at 7:15 PM, Jeff Gonis <[hidden email]> wrote:
>> Hi Folks,
>>
>> So I grabbed the Squeak4.513352 zip from the build.squeak.org server and
>> attempted to update it from trunk.  I received an MNU for environments
>> comment from Installer I believe.
>
> I guess that's my fault. I added some methods for dealing with
> Undeclared to Environment and made other parts of the image use them.
> It looks like the senders of #undeclare:from: are getting loaded
> before the implementation. I'll add a configuration to prevent that.
>
> Colin
>

Reply | Threaded
Open this post in threaded view
|

Re: Attempting to update from Squeak4.5-13352

Colin Putney-3
On Wed, Jan 22, 2014 at 3:58 PM, Chris Muller <[hidden email]> wrote:
> Hey Colin, FYI, I went ahead and moved Environments above Kernel in
> update-cwp.277.mcm and that seems to clear up the issue.

Oh, beauty. Thanks!

Reply | Threaded
Open this post in threaded view
|

Re: Attempting to update from Squeak4.5-13352

Jeff Gonis-2
In reply to this post by Chris Muller-3
Hi Chris,

Thanks a ton for looking into this.  I just completed a full update which is fantastic!

Jeff


On Wed, Jan 22, 2014 at 1:58 PM, Chris Muller <[hidden email]> wrote:
Hey Colin, FYI, I went ahead and moved Environments above Kernel in
update-cwp.277.mcm and that seems to clear up the issue.


Reply | Threaded
Open this post in threaded view
|

Re: Attempting to update from Squeak4.5-13352

Eliot Miranda-2



On Wed, Jan 22, 2014 at 1:38 PM, Jeff Gonis <[hidden email]> wrote:
Hi Chris,

Thanks a ton for looking into this.  I just completed a full update which is fantastic!

Indeed, this is great!  It prompted me to wonder whether the CI update processes test both the direct update from 4.4 to 4.5, /and/ the incremental update from the last successful update to the next update.  I think we should be testing both.  Certainly the incremental update is what I use from day to day.

--
best,
Eliot


Reply | Threaded
Open this post in threaded view
|

Re: Attempting to update from Squeak4.5-13352

Frank Shearar-3
On 23 January 2014 23:22, Eliot Miranda <[hidden email]> wrote:

>
>
>
> On Wed, Jan 22, 2014 at 1:38 PM, Jeff Gonis <[hidden email]> wrote:
>>
>> Hi Chris,
>>
>> Thanks a ton for looking into this.  I just completed a full update which
>> is fantastic!
>
>
> Indeed, this is great!  It prompted me to wonder whether the CI update
> processes test both the direct update from 4.4 to 4.5, /and/ the incremental
> update from the last successful update to the next update.  I think we
> should be testing both.  Certainly the incremental update is what I use from
> day to day.

We used to, but I disabled the all-the-way-from-4.4 job because it
takes a really, really long time. But perhaps over the weekend I'll
have time to bring that job up to date with the New Style Ruby jobs.

frank