[Glass] Load Seaside30 in GLASS 3.1.0.6

Johan Brichau johan at yesplan.be
Tue Jun 10 10:12:49 PDT 2014


Dale,

Okidoki! 
It's a good thing to use the Metacello preview but I thought it was still in the 'preview' phase.
I've been using it but I have tended not to rely on using it for public projects such as Seaside.

Johan

On 10 Jun 2014, at 18:31, Dale Henrichs <dale.henrichs at gemtalksystems.com> wrote:

> Johan,
> 
> I am "insisting upon using the Metacello load api" mainly because moving forward this will be the way to do things with Metacello so we might as well get used to it ...
> 
> Of course when #baseline:with: shows up in a stack, it _is_ because the Metacello load api is _not_ being used...
> 
> Perhaps it was a mistake to allow the new version of Metacello to be backwards compatible? 
> 
> I don't like the idea of breaking things, but I kinda understand why the Pharo folks are so aggressive in making very little effort to make each release of Pharo compatible with the previous version:)
> 
> The point of creating a "load api" is to isolate the implementation of configurations from the code used to manipulate them ... the next phase will involve creating tools for building and updating configurations and then the next phase will be to move away from class-based configurations ... 
> 
> Dale
> 
> Dale
> 
> 
> On Tue, Jun 10, 2014 at 8:46 AM, Johan Brichau <johan at yesplan.be> wrote:
> For what it's worth: I'm pretty sure you can still load ConfigurationOfSeaside3 in GLASS without the Metacello preview constructs.
> The following works if you have GLASS 1.0-beta.9
> 
> (ConfigurationOfSeaside project version: #stable) load
> 
> Johan
> 
> On 10 Jun 2014, at 15:11, Dale Henrichs <dale.henrichs at gemtalksystems.com> wrote:
> 
> > The "a MessageNotUnderstood occurred (error 2010), a MetacelloVersionConstructor does not understand  #'baseline:with:' -  G/S[MeetingRoberta3106:5]" is occurring because you are not using the new Metacello driver:
> >
> > GsDeployer bulkMigrate: [
> >   Metacello new
> >     configuration: 'fPier3AddOns';
> >     squeaksource: 'MetacelloRepository';
> >     version: '???';
> >     load: #('??').
> > ].
> >
> > Seaside and other projects have started using features that are only present when the new loading form is used ...
> >
> > Gofer Project is a predecessor to the new Metacello loading form ... not sure what the error is there ...
> >
> > I should probably delete all of the wiki pages on the ttps://code.google.com/p/glassdb site, but there are links from all of my blog posts and other places that would be broken, but then I should probably delete all of the blog posts, too because they contain obsolete instructions as well ... so I can't do that ... if I am going to rewrite the posts instead the changes I make should refer to tODE ... wait you aren't using tODE yet...
> >
> > All I can do is apologize...
> >
> > Dale
> >
> >
> >
> > On Tue, Jun 10, 2014 at 5:43 AM, Dario Trussardi <dario.trussardi at tiscali.it> wrote:
> > Ciao,
> >
> >         i do some test.
> >
> > > Ciao,
> > >
> > >       i have a new GLASS 3.1.0.6 image where i need to load **** Seaside30 - Magritte - Pier Package,
> > >
> > >       In GLASS 3.1.0.4 i load all from Gemtools ( without error )  with the command:
> > >
> > >
> > >       A)      Gofer it
> > >               squeaksource: 'MetacelloRepository';
> > >               package: 'ConfigurationOfPier3AddOns';
> > >               load
> > >
> > >       B)      ConfigurationOfPier3AddOns load
> > >
> > >       Now when i do B into new GLASS 3.1.0.6 the system erase the error:
> > >
> > >                       Error: VM temporary object memory is full
> > >                       , almost out of memory, too many markSweeps since last successful scavenge
> > >
> > >
> > >       Can anyone suggest the best method to load All   ***
> >
> > A) i load Seaside30 with the command:
> >
> >         MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
> >     ConfigurationOfMetacello project updateProject.
> >     ConfigurationOfMetacello loadLatestVersion.
> >     Gofer project load: 'Seaside30'.
> >          ].
> >
> >
> > B1) After A when i do:
> >
> >                 ConfigurationOfPier3AddOns load
> >
> >         the system answer:
> >
> > a MessageNotUnderstood occurred (error 2010), a MetacelloVersionConstructor does not understand  #'baseline:with:' -  G/S[MeetingRoberta3106:5]
> >
> > MessageNotUnderstood >> defaultAction (envId 0)
> > AbstractException >> _signalWith: (envId 0)
> > AbstractException >> signal (envId 0)
> > Object >> doesNotUnderstand: (envId 0)
> > Object >> _doesNotUnderstand:args:envId:reason: (envId 0)
> > [] in  ConfigurationOfSeaside3 >> baseline311gemstone: (envId 0)
> > ExecBlock >> ensure: (envId 0)
> > MetacelloAbstractVersionConstructor >> with:during: (envId 0)
> > [] in  MetacelloVersionConstructor >> specResolverBlock (envId 0)
> > Collection >> do: (envId 0)
> > [] in  MetacelloVersionConstructor >> specResolverBlock (envId 0)
> > Collection >> do: (envId 0)
> > [] in  MetacelloVersionConstructor >> specResolverBlock (envId 0)
> > [] in  MetacelloVersionConstructor >> collectAllVersionsFromVersionPragmasInto:using: (envId 0)
> > Collection >> do: (envId 0)
> > [] in  MetacelloVersionConstructor >> collectAllVersionsFromVersionPragmasInto:using: (envId 0)
> > Dictionary >> keysAndValuesDo: (envId 0)
> > MetacelloVersionConstructor >> collectAllVersionsFromVersionPragmasInto:using: (envId 0)
> > MetacelloVersionConstructor >> calculate:project: (envId 0)
> > [] in  MetacelloVersionConstructor >> on:project: (envId 0)
> > [] in  MetacelloPlatform >> stackCacheFor:cacheClass:at:doing: (envId 0)
> > [] in  MetacelloPlatform >> useStackCacheDuring:defaultDictionary: (envId 0)
> > ExecBlock >> on:do: (envId 0)
> > MetacelloPlatform >> useStackCacheDuring:defaultDictionary: (envId 0)
> > MetacelloPlatform >> stackCacheFor:cacheClass:at:doing: (envId 0)
> > MetacelloPlatform >> stackCacheFor:at:doing: (envId 0)
> > MetacelloVersionConstructor >> on:project: (envId 0)
> > MetacelloVersionConstructor class >> on:project: (envId 0)
> > ConfigurationOfSeaside3 >> project (envId 0)
> > MetacelloMCProjectSpec >> projectClassProject (envId 0)
> > MetacelloMCProjectSpec >> version (envId 0)
> > [] in  MetacelloMCProjectSpec >> versionOrNil (envId 0)
> > ExecBlock >> on:do: (envId 0)
> > MetacelloMCProjectSpec >> versionOrNil (envId 0)
> > MetacelloProjectReferenceSpec >> versionOrNil (envId 0)
> > [] in  MetacelloMCVersionSpec >> isPartiallyCurrentAgainst: (envId 0)
> > MetacelloProjectReferenceSpec >> projectDo:packageDo:groupDo: (envId 0)
> > [] in  MetacelloMCVersionSpec >> specsNamed:projectDo:packageDo:groupDo: (envId 0)
> > Collection >> do: (envId 0)
> > MetacelloMCVersionSpec >> specsNamed:projectDo:packageDo:groupDo: (envId 0)
> > MetacelloMCVersionSpec >> isPartiallyCurrentAgainst: (envId 0)
> > [] in  MetacelloProject >> currentVersionAgainst: (envId 0)
> > Collection >> do: (envId 0)
> > [] in  MetacelloProject >> currentVersionAgainst: (envId 0)
> > [] in  MetacelloPlatform >> stackCacheFor:cacheClass:at:doing: (envId 0)
> > [] in  MetacelloPlatform >> useStackCacheDuring:defaultDictionary: (envId 0)
> > ExecBlock >> on:do: (envId 0)
> > MetacelloPlatform >> useStackCacheDuring:defaultDictionary: (envId 0)
> > MetacelloPlatform >> stackCacheFor:cacheClass:at:doing: (envId 0)
> > MetacelloPlatform >> stackCacheFor:at:doing: (envId 0)
> > MetacelloProject >> currentVersionAgainst: (envId 0)
> > MetacelloMCProjectSpec >> relativeCurrentVersion (envId 0)
> > MetacelloProjectReferenceSpec >> relativeCurrentVersion (envId 0)
> > [] in  MetacelloMCVersionSpec >> isPartiallyCurrentAgainst: (envId 0)
> > MetacelloProjectReferenceSpec >> projectDo:packageDo:groupDo: (envId 0)
> > [] in  MetacelloMCVersionSpec >> specsNamed:projectDo:packageDo:groupDo: (envId 0)
> > Collection >> do: (envId 0)
> > MetacelloMCVersionSpec >> specsNamed:projectDo:packageDo:groupDo: (envId 0)
> > MetacelloMCVersionSpec >> isPartiallyCurrentAgainst: (envId 0)
> > MetacelloMCVersionSpec >> isPartiallyCurrent (envId 0)
> > [] in  MetacelloProject >> currentVersionAgainst: (envId 0)
> > Collection >> do: (envId 0)
> > [] in  MetacelloProject >> currentVersionAgainst: (envId 0)
> > [] in  MetacelloPlatform >> stackCacheFor:cacheClass:at:doing: (envId 0)
> > [] in  MetacelloPlatform >> useStackCacheDuring:defaultDictionary: (envId 0)
> > ExecBlock >> on:do: (envId 0)
> > MetacelloPlatform >> useStackCacheDuring:defaultDictionary: (envId 0)
> > MetacelloPlatform >> stackCacheFor:cacheClass:at:doing: (envId 0)
> > MetacelloPlatform >> stackCacheFor:at:doing: (envId 0)
> > MetacelloProject >> currentVersionAgainst: (envId 0)
> > [] in  MetacelloProject >> currentVersion (envId 0)
> > [] in  MetacelloPlatform >> stackCacheFor:cacheClass:at:doing: (envId 0)
> > [] in  MetacelloPlatform >> useStackCacheDuring:defaultDictionary: (envId 0)
> > ExecBlock >> on:do: (envId 0)
> > MetacelloPlatform >> useStackCacheDuring:defaultDictionary: (envId 0)
> > MetacelloPlatform >> stackCacheFor:cacheClass:at:doing: (envId 0)
> > MetacelloPlatform >> stackCacheFor:at:doing: (envId 0)
> > MetacelloProject >> currentVersion (envId 0)
> > MetacelloMCProjectSpec >> compareCurrentVersion:targetVersionStatus:using: (envId 0)
> > [] in  MetacelloMCVersionSpecLoader >> load (envId 0)
> > Collection >> do: (envId 0)
> > MetacelloMCVersionSpecLoader >> load (envId 0)
> > MetacelloMCVersion >> executeLoadFromArray: (envId 0)
> > [] in  MetacelloMCVersion >> fetchRequiredFromArray: (envId 0)
> > [] in  MetacelloPlatform >> useStackCacheDuring:defaultDictionary: (envId 0)
> > ExecBlock >> on:do: (envId 0)
> > MetacelloPlatform >> useStackCacheDuring:defaultDictionary: (envId 0)
> > [] in  MetacelloMCVersion >> fetchRequiredFromArray: (envId 0)
> > ExecBlock >> ensure: (envId 0)
> > [] in  MetacelloMCVersion >> fetchRequiredFromArray: (envId 0)
> > MetacelloPlatform >> do:displaying: (envId 0)
> > MetacelloMCVersion >> fetchRequiredFromArray: (envId 0)
> > [] in  MetacelloMCVersion >> doLoadRequiredFromArray: (envId 0)
> > ExecBlock >> ensure: (envId 0)
> > MetacelloMCVersion >> doLoadRequiredFromArray: (envId 0)
> > MetacelloMCVersion >> load (envId 0)
> > ConfigurationOfPier3AddOns class >> load (envId 0)
> > Executed Code
> > String >> evaluateInContext:symbolList: (envId 0)
> > JadeServer >> evaluate:inContext: (envId 0)
> > JadeServer >> printIt:in: (envId 0)
> > GsNMethod class >> _gsReturnToC (envId 0)
> >
> >
> > B2) if i do:
> >
> >         MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
> >           ConfigurationOfMetacello project updateProject.
> >           ConfigurationOfMetacello loadLatestVersion.
> >           Gofer project load: 'ConfigurationOfPier3AddOns'.
> >           ].
> >
> >         the system answer:
> >
> >
> > a UserDefinedError occurred (error 2318), reason:halt, Project not found -  G/S[MeetingRoberta3106:5]
> >
> > AbstractException >> _signalWith: (envId 0)
> > AbstractException >> signal (envId 0)
> > Object >> error: (envId 0)
> > [] in  GoferProjectLoader >> findRepositoryContaining: (envId 0)
> > SequenceableCollection >> detect:ifNone: (envId 0)
> > GoferProjectLoader >> findRepositoryContaining: (envId 0)
> > GoferProjectLoader >> findOrCreateProject: (envId 0)
> > GoferProjectLoader >> load:version:group: (envId 0)
> > GoferProjectLoader >> load:version: (envId 0)
> > GoferProjectLoader >> load: (envId 0)
> > [] in  Executed Code  (envId 0)
> > [] in  MCPlatformSupport class >> commitOnAlmostOutOfMemoryDuring: (envId 0)
> > ExecBlock >> ensure: (envId 0)
> > MCPlatformSupport class >> commitOnAlmostOutOfMemoryDuring: (envId 0)
> > Executed Code
> > String >> evaluateInContext:symbolList: (envId 0)
> > JadeServer >> evaluate:inContext: (envId 0)
> > JadeServer >> printIt:in: (envId 0)
> > GsNMethod class >> _gsReturnToC (envId 0)
> >
> >
> >         where projectString is set to:  ConfigurationOfPier3AddOns
> >
> >
> > Thanks for any considerations.
> >
> >         Dario
> >
> >
> > _______________________________________________
> > Glass mailing list
> > Glass at lists.gemtalksystems.com
> > http://lists.gemtalksystems.com/mailman/listinfo/glass
> >
> > _______________________________________________
> > Glass mailing list
> > Glass at lists.gemtalksystems.com
> > http://lists.gemtalksystems.com/mailman/listinfo/glass
> 
> 



More information about the Glass mailing list