[Seaside] Re: [ANN] Magma Tutorial

Chris Muller asqueaker at gmail.com
Tue Dec 18 00:00:10 UTC 2007


Magma includes an external package called "WriteBarrier" to speed up
commits, even though the default setting is not to use it.  It is not
required, and will install and run fine without it.

However, did you look at your WBMethodBuilder hierarchy to see which
defined Cache?  That would be the conflicting package.

On Dec 17, 2007 1:54 PM, itsme213 <itsme213 at hotmail.com> wrote:
> Magma or Installer code? Any idea what I might do to get past it? I am
> chomping at the bit to try out Magma ;)
>
> - Sophie
>
> "Chris Muller" <asqueaker at gmail.com> wrote in message
> news:b73f92970712171044q7f6bbd34je297f74b7f518788 at mail.gmail.com...
>
> > It appears to be complaining of a class-variable named 'Cache'
> > "defined elsewhere" in the hierarchy of WBMethodBuilder.
> > Interestingly, WBMethodBuilder inherits from Object..
> >
> > - Chris
> >
> >
> >
> > On Dec 16, 2007 5:59 PM, itsme213 <itsme213 at hotmail.com> wrote:
> >> "Keith Hodges" <keith_hodges at yahoo.co.uk> wrote
> >> > To use an americanism "my bad"
> >> >
> >> > fixed now I hope
> >>
> >> It got further than before, but not all the way :-(  Below are the
> >> Transcript messages followed by the error stack.
> >>
> >> Sophie.
> >>
> >> First some warnings on Transcript (not sure if some of the early ones are
> >> from an earlier attempt)
> >> =================================
> >> =================================
> >> Warning: pane workingCopyTreeRoots not found.
> >> Warning: pane summary not found.
> >> finding Installer-Core... found Installer-Core-kph.146.mcz...loaded
> >> File UniversesMCAndProvidesPatch successfully filed in to change set
> >> UniversesMCAndProvidesPatch
> >> File InstallerInstallLogging successfully filed in to change set
> >> InstallerInstallLogging (ActionMaps is Undeclared)  (Q2Session is
> >> Undeclared)  (Q2Session is Undeclared)  (FLHandlerEditor is Undeclared)
> >> (WASessionHelper is Undeclared)  (WAStandardFilesPlus is Undeclared)
> >> (configuration is Undeclared)  (configuration is Undeclared)
> >> (configuration
> >> is Undeclared)  (configuration is Undeclared)
> >> ========== Ma exception handling-cmm.24 ==========
> >>
> >> - Removed MaHardwareError, it was unused.
> >>
> >> ========== Ma base additions-cmm.88 ==========
> >>
> >> - Merged Ma base additions-cmm.87.
> >>  (MaObject is Undeclared)
> >> ========== Ma proxy support-cmm.32 ==========
> >>
> >> - Lint cleanup; removed unused methods.
> >>
> >> ========== Ma traverse object graphs-cmm.24 ==========
> >>
> >> Trying new prereq strategy.
> >>
> >> ========== Ma object serialization-cmm.166 ==========
> >>
> >> - Support for alerting when someone tries to dynamically extend a "Ma
> >> client
> >> server" protocol, which is not supported.
> >>  (MaBlockContextStorage is Undeclared)  (MaOidCalculator is Undeclared)
> >> (MaMethodContextStorage is Undeclared)  (MaClassReference is Undeclared)
> >> (MaClassDefinition is Undeclared)  (MaObjectSerializationSoftwareError is
> >> Undeclared)  (MaClassDefinition is Undeclared)
> >> (MaObjectSerializationSoftwareError is Undeclared)
> >> (MaObjectSerializationSoftwareError is Undeclared)
> >> (MaObjectSerializationSoftwareError is Undeclared)
> >> (MaObjectSerializationSoftwareError is Undeclared)
> >> (MaObjectSerializationUserError is Undeclared)
> >> (MaObjectSerializationSoftwareError is Undeclared)  (MaClassDefinition is
> >> Undeclared)  (MaObjectSerializationWarning is Undeclared)
> >> (MaObjectSerializationSoftwareError is Undeclared)  (MaOidCalculator is
> >> Undeclared)  (MaOidCalculator is Undeclared)  (MaByteObjectBuffer is
> >> Undeclared)  (MaVariableObjectBuffer is Undeclared)
> >> (MaVariableWordBuffer
> >> is Undeclared)  (MaStorageObjectBuffer is Undeclared)
> >> (MaObjectSerializationSecurityViolation is Undeclared)
> >> (MaSerializedGraphBuffer is Undeclared)  (MaObjectSerializerPreferences
> >> is
> >> Undeclared)  (MaOidManager is Undeclared)
> >> (MaObjectSerializationUserError
> >> is Undeclared)  (MaSerializedGraphBuffer is Undeclared)
> >> (MaSerializedGraphBuffer is Undeclared)  (MaObjectSerializationUserError
> >> is
> >> Undeclared)  (MaWeakValueDictionary is Undeclared)
> >> (MaObjectSerializationSoftwareError is Undeclared)
> >> ========== Collections-BTree-lr.68 ==========
> >>
> >> - make it loadable into a new compiler image
> >>
> >> ========== Ma special collections-cmm.83 ==========
> >>
> >> - Lint cleanups.
> >>  (MaFileRecordBroker is Undeclared)  (MaInImageRecordBroker is
> >> Undeclared)
> >> (MaFileRecordBroker is Undeclared)  (MaHashIndexUserError is Undeclared)
> >> (MaSpecialCollectionsSoftwareError is Undeclared)
> >> ========== Ma client server-cmm.138 ==========
> >>
> >> - Support for alerting when someone tries to dynamically extend a "Ma
> >> client
> >> server" protocol, which is not supported.
> >>  (MaRequestServerConsole is Undeclared)  (MaServerSocket is Undeclared)
> >> (MaMalformedRequestError is Undeclared)  (MaServerConsole is Undeclared)
> >> (MaClientServerUserError is Undeclared)  (MaMalformedRequestError is
> >> Undeclared)
> >> ========== WriteBarrier-pmm.26 ==========
> >>
> >> - adding methods silently
> >>  (BytecodeGenerator is Undeclared)  (WBMethodBuilder is Undeclared)
> >>
> >>
> >> Then an error:
> >> ================================
> >> ================================
> >> VM: Win32 - a SmalltalkImage
> >> Image: Squeak3.9 [latest update: #7067]
> >>
> >> SecurityManager state:
> >> Restricted: false
> >> FileAccess: true
> >> SocketAccess: true
> >> Working Dir C:\des\desktop\ocean\ramon dec 07
> >> Trusted Dir C:\des\desktop\ocean\ramon dec 07\desmond
> >> Untrusted Dir C:\My Squeak\desmond
> >>
> >> WBMethodBuilder class(Object)>>error:
> >>  Receiver: WBMethodBuilder
> >>  Arguments and temporary variables:
> >>   aString:  'Cache is defined elsewhere'
> >>  Receiver's instance variables:
> >>   superclass:  Object
> >>   methodDict:  a MethodDictionary()
> >>   format:  138
> >>   instanceVariables:  #('selector' 'class' 'fields' 'generator')
> >>   organization:  nil
> >>   subclasses:  nil
> >>   name:  #WBMethodBuilder
> >>   classPool:  nil
> >>   sharedPools:  nil
> >>   environment:  nil
> >>   category:  nil
> >>   traitComposition:  nil
> >>   localSelectors:  nil
> >>
> >> [] in WBMethodBuilder class(Class)>>declare: {[:var | (self bindingOf:
> >> var)
> >> notNil   ifTrue: [self error: var , ' is defin...]}
> >>  Arguments and temporary variables:
> >>   varString:  'Cache'
> >>   newVars:  #(#Cache)
> >>   conflicts:  false
> >>   x:  'Cache'
> >>   var:  #Cache
> >>
> >> Array(SequenceableCollection)>>do:
> >>  Receiver: #(#Cache)
> >>  Arguments and temporary variables:
> >>   aBlock:  [] in WBMethodBuilder class(Class)>>declare: {[:var | (self
> >> bindingOf: ...etc...
> >>   index:  1
> >>   indexLimiT:  1
> >>  Receiver's instance variables:
> >> #(#Cache)
> >>
> >> WBMethodBuilder class(Class)>>declare:
> >>  Receiver: WBMethodBuilder
> >>  Arguments and temporary variables:
> >>   varString:  'Cache'
> >>   newVars:  #(#Cache)
> >>   conflicts:  false
> >>   x:  'Cache'
> >>   var:  #Cache
> >>  Receiver's instance variables:
> >>   superclass:  Object
> >>   methodDict:  a MethodDictionary()
> >>   format:  138
> >>   instanceVariables:  #('selector' 'class' 'fields' 'generator')
> >>   organization:  nil
> >>   subclasses:  nil
> >>   name:  #WBMethodBuilder
> >>   classPool:  nil
> >>   sharedPools:  nil
> >>   environment:  nil
> >>   category:  nil
> >>   traitComposition:  nil
> >>   localSelectors:  nil
> >>
> >>
> >> --- The full stack ---
> >> WBMethodBuilder class(Object)>>error:
> >> [] in WBMethodBuilder class(Class)>>declare: {[:var | (self bindingOf:
> >> var)
> >> notNil   ifTrue: [self error: var , ' is defin...]}
> >> Array(SequenceableCollection)>>do:
> >> WBMethodBuilder class(Class)>>declare:
> >>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >> [] in
> >> ClassBuilder>>name:inEnvironment:subclassOf:type:instanceVariableNames:classVariableNames:poolDictionaries:category:unsafe:
> >> {[unsafe   ifFalse: [(self validateSuperclass: newSuper forSubclass:
> >> oldClass...]}
> >> BlockContext>>ensure:
> >> ClassBuilder>>name:inEnvironment:subclassOf:type:instanceVariableNames:classVariableNames:poolDictionaries:category:unsafe:
> >> ClassBuilder>>name:inEnvironment:subclassOf:type:instanceVariableNames:classVariableNames:poolDictionaries:category:
> >> MCClassDefinition>>createClass
> >> MCClassDefinition>>load
> >> MCClassDefinition(MCDefinition)>>loadOver:
> >> [] in MCPackageLoader>>basicLoad {[:ea | ea   loadOver: (self
> >> obsoletionFor:
> >> ea)]}
> >> [] in OrderedCollection(SequenceableCollection)>>do:displayingProgress:
> >> {[:each :i |  bar value: i.  aBlock value: each]}
> >> OrderedCollection(SequenceableCollection)>>withIndexDo:
> >> [] in OrderedCollection(SequenceableCollection)>>do:displayingProgress:
> >> {[:bar | self   withIndexDo: [:each :i |     bar value: i.    aBlock
> >> value:
> >> e...]}
> >> [] in ProgressInitiationException>>defaultMorphicAction {[result :=
> >> workBlock value: progress]}
> >> BlockContext>>ensure:
> >> ProgressInitiationException>>defaultMorphicAction
> >> 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:
> >> OrderedCollection(SequenceableCollection)>>do:displayingProgress:
> >> [] in MCPackageLoader>>basicLoad {[additions   do: [:ea | self tryToLoad:
> >> ea]   displayingProgress: 'Loading.....]}
> >> BlockContext>>on:do:
> >> [] in MCPackageLoader>>basicLoad {[[additions   do: [:ea | self
> >> tryToLoad:
> >> ea]   displayingProgress: 'Loading....]}
> >> BlockContext>>ensure:
> >> MCPackageLoader>>basicLoad
> >> [] in MCPackageLoader>>loadWithNameLike: {[self basicLoad]}
> >> [] in MCPackageLoader>>useChangeSetNamed:during: {[aBlock value]}
> >> ...etc...
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> seaside mailing list
> >> seaside at lists.squeakfoundation.org
> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>
>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list