[Glass] Load Seaside30 in GLASS 3.1.0.6

Dale Henrichs dale.henrichs at gemtalksystems.com
Tue Jun 10 10:15:53 PDT 2014


Dario,

As I think about we are trying too many different things, so let's back up
..

You have a 3.1.0.2 image with everything that you want loaded in it? is
that correct?

Let's start with an `Admin >> doit.. >> Version Report` where the version
of each loaded configuration is displayed. Send that to me ..

Again without any details, I am suspicious that Pier is going to require a
different version of Seaside than the one that we need to have loaded in
GemStone3.x so we'll need to build the system in layers and let's do the
build using 3.1.0.2  so that we have as few differences as possible (humor
me and use GsDeployer and Metacello load api) :

0. Load the configuration/version of GLASS
1. Load the configuration/version for seaside
2. Load the configuration/version for magritte
3. Load the configuration/verion for Pier
4. Load the configuration/version for Pier add ons.

do a unique backup after each step (also make a backup prior to doing
anything at all)... so we can try multiple times with the exact same
starting ...

The point of this exercise is to isolate the problem ... loading in layers
should isolate any effects that may occur because of changes in
configurations and we can focus on those issues without trying to take on
the whole load process ...

Dale



On Tue, Jun 10, 2014 at 9:29 AM, Dario Trussardi <dario.trussardi at tiscali.it
> wrote:

>
> Dale
>
> Dario,
>
> Johan's expression uses `ConfigurationofSeaside` and you are using
> `ConfigurationOfSeaside30` these are two completely different
> configurations ...
>
>
> If i not wrong i used ConfigurationOfSeaside30 because i need to load not
> last stable version, but 3.0.8 version
>
> Into GLASS 3.1.0.4 ( a valid environment ) the  ConfigurationOfSeaside30
> project currentVersion report:  >=3.0.8 [ConfigurationOfSeaside30]
>
> Have you tried loading things based on my suggestion using GsDeployer and
> the Metacello load api?
>
>
> I follow your indication:
>
> GsDeployer bulkMigrate: [
>   Metacello new
>
>     configuration: 'Pier3AddOns';
>     squeaksource: 'MetacelloRepository';
>     version: #stable;
>     load.
> ].
>
> but i found some problems.
>
> i do some test starting whenever from clear GLASS.
>
>
> 1) The first time the system work for some minutes, but when end ( without
> error )  none package is found in the GLASS
>
> 2) The second time the system work for eight minutes and after erase the
> error:
>
>
> a UserDefinedError occurred (error 2318), reason:halt, Compile error in
> Class: #'ConfigurationOfSeaside3' method:    version3102: spec
>            <version: '3.1.0.2' imports: #('3.1.0-baseline' )>
>
> 3) the third time the system work for more 50 minutes and other.
>
> After i interup the command.
>
> This is all, for now,
>
> Dario
>
>
>
> On Tue, Jun 10, 2014 at 9:14 AM, Dario Trussardi <
> dario.trussardi at tiscali.it> wrote:
>
>> Ciao Johan,
>>
>>
>> > 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
>>
>>         My  GemTools  when open the new 3.1.0.6         report  GLASS
>> 1.0-beta.9
>>
>>
>> > (ConfigurationOfSeaside project version: #stable) load
>> >
>>
>> I do this commmand:
>>
>>         A) Gofer it
>>                 squeaksource: 'MetacelloRepository';
>>                 package: 'ConfigurationOfSeaside30';
>>                 load.
>>
>>         B) (ConfigurationOfSeaside30 project version: #stable) load
>>
>>         But after some times the system answer:
>>
>>                 Error: VM temporary object memory is full
>>                         , almost out of memory, too many markSweeps since
>> last successful scavenge
>>
>>
>>         Your indication is same of my hold notes when i setup 3.1.0.4 ,
>>  in it i load all ( Seaside30 - Magritte - Pier )
>>
>>         with only the command :
>>
>>         A)      Gofer it
>>                         squeaksource: 'MetacelloRepository';
>>                         package: 'ConfigurationOfPier3AddOns';
>>                         load
>>
>>         B)      ConfigurationOfPier3AddOns load
>>
>>
>> Now what i can do to manage the  VM temporary object memory is full.
>>
>> I need to setup some parameters?
>>
>>         Thanks for any indications,
>>
>>         Dario
>>
>> > 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
>> >
>>
>> _______________________________________________
>> Glass mailing list
>> Glass at lists.gemtalksystems.com
>> http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140610/40c3d91a/attachment-0001.html>


More information about the Glass mailing list