[Glass] Problem loading Magritte3 / Seaside3 in GemSone

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

Re: [Glass] Problem loading Magritte3 / Seaside3 in GemSone

Dale Henrichs-3
haha ... my original analysis was based on looking at the load transcript and reading the configs an dI didn't see the #import:)

That's intended to work, so it is a bug...

I'll dig into this deeper...





On Fri, May 2, 2014 at 3:25 PM, Johan Brichau <[hidden email]> wrote:
Dale,

This is intended: the ConfigurationOfSeaside3 has a #baseline311gemstone: method that references the BaselineOfSeaside3 on github.
It is supposed to make sure that all loads for Gemstone will use the BaselineOf.

I had the impression this worked since I can do this in Gemstone:

(ConfigurationOfSeaside3 project version: '3.1.1') load: #('CI')

The 'CI' group is defined in the same way as the 'Core' group.

I must be missing something then?

Johan

On 03 May 2014, at 00:10, Dale Henrichs <[hidden email]> wrote:

> Mariano,
>
> It looks like there is a configuration error in ConfigurationOfSeaside3>>baseline311common: ... The spec starts out with:
>
>   spec
>     for: #'squeakCommon'
>     do: [ ...]
>
> and the 'Core' group is defined within the context of squeakCommon ... so for GemStone, there is no 'Core' group defined ...
>
> In ConfigurationOfSeaside3>>baseline310common:  the spec starts out with:
>
>   spec
>     for: #'common'
>     do: [ ...]
>
> .... If I'm not mistaken, Johan, who has been doing the lion's share of work on porting Seaside3.1 is doing his work on github in the glassdb group[1], so I presume that is the recommended version to use for GemStone ...
>
>
> Dale
>
> [1]https://github.com/glassdb/Seaside31
>
>
> On Fri, May 2, 2014 at 2:23 PM, Mariano Martinez Peck <[hidden email]> wrote:
> Ok. So I built a very dummy ConfigurationOfMyApp (fileout attached) that just have Magritte3 and Seaside3 as dependencies. One baseline, one version. You have to first load GLASS1 and Metacello, then you simply execute:
>
> ((Smalltalk at: #ConfigurationOfMyApp) project version: '0.1') load: #('Magritte' 'Seaside').
>
> And you should get the error. I would appreciate if someone can reproduce the problem. I am in GemStone 3.0.1.4.
>
> In case you want to install GLASS1 and Metacello, I did:
>
> MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
>
> [Metacello new
>       baseline:  'Metacello';
>       repository: 'github://dalehenrich/metacello-work:master/repository';
>       load: 'ALL'.
> ] on: Warning do: [ :ex |
>       ex resume.
> ].
>
>
> Metacello new
>   baseline: 'GLASS1';
>   repository: 'github://glassdb/glass:master/repository';
>   onConflict: [ :ex | ex allow ];
>   onWarning: [ :ex |
>         Transcript
>           cr;
>           show: ex description.
>         ex resume ];
>   load: 'default'.
>
> ].
>
>
> Thanks!
>
>
>
> On Fri, May 2, 2014 at 5:19 PM, Mariano Martinez Peck <[hidden email]> wrote:
>
>
>
> On Fri, May 2, 2014 at 3:01 PM, Johan Brichau <[hidden email]> wrote:
> Mariano,
>
> If you tried earlier, I now really fixed the load (Travis told me it was not working, though I had a clean load locally...). Travis is loading the Filesystem package just fine and the tests are green as well. It seems all that was missing to make it work was fixing the configuration and the missing dependencies.
>
> I also tried using the ConfigurationOfSeaside3 directly and that works too. I think I fixed the last bits by also mirroring the Gemstone-specific packages for Grease in the Smalltalkhub repository.
> I vaguely recall that also loading those from github was going to be too much of a hassle changing all the configurations.
>
> Perhaps to only problem still is that #stable is marked as 3.0.10 for Gemstone rather than 3.1.1.
> I think we are ready to fix 3.1.1 for all platforms though. So, let me check that next...
>
> In the meantime, let me know if the load works for you.
> Do you also still have the original problem loading 'Core' ?
>
>
> Thank you so much for your help and support Johan. I tried everything and it still fails....But the thing is very strange.
> This is like Argentinian football team...each one individually is working great...but all together they don't. In my Conf, I have these 2 references in the baseline:
>
>               spec
>                       project: 'Seaside' with: [
>                       spec
>                               className: 'ConfigurationOfSeaside3';
>                               loads: #('Core' 'Zinc-Seaside' 'Javascript-Core' 'JQuery-Core');
>                               file: 'ConfigurationOfSeaside3';
>                               repository: 'http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main' ].
>
>               spec
>                       project: 'Magritte' with: [
>                       spec
>                               className: 'ConfigurationOfMagritte3';
>                               loads: #('Core' 'Tests' 'Seaside');
>                               file: 'ConfigurationOfMagritte3';
>                               repository: 'http://www.smalltalkhub.com/mc/Magritte/Magritte3/main' ].
>
>
> And from my version I define:
>
>               spec
>                       project: 'Seaside' with: '3.1.1';
>                       project: 'Magritte' with: '3.2';
>
>
>
> Now if I do:
>
> (ConfigurationOfMyApp project version: xxx) load: 'Magritte'
> works correct.
>
> (ConfigurationOfMyApp project version: xxx) load: 'Seaside'
> works correct.
>
> (ConfigurationOfMyApp project version: xxx) load: #('Magritte' 'Seaside')
> ERROR!!!! with the 'Core' not found.
>
> Again, thanks for your help. I will try to continue investigating a bit more. Maybe I could create a dummy ConfigurationOf to see if I can reproduce it...
>
> best,
>
>
>
>
> Johan
>
> On 02 May 2014, at 18:25, Johan Brichau <[hidden email]> wrote:
>
> > Mariano,
> >
> > I committed a new BaselineOfSeaside3 that allows to load the FileSystem group in Gemstone.
> > At least, that should get you passed that loading problem. I tried and I can now load it just fine.
> >
> > However, if Magritte really needs the Filesystem package, we will need to make it work in Gemstone. I guess it should not be too difficult and there has been another discussion that raised issues with the same package [1]. So I will take a look ;-)
> >
> > [1] http://lists.squeakfoundation.org/pipermail/seaside/2014-April/030833.html
> >
> > On 02 May 2014, at 17:06, Mariano Martinez Peck <[hidden email]> wrote:
> >
> >>
> >> On Fri, May 2, 2014 at 11:52 AM, Johan Brichau <[hidden email]> wrote:
> >> Mariano,
> >>
> >> I think this is because the loading of Seaside 3.1.1 for Gemstone is not entirely working via the ConfigurationOf.
> >> I was nearly there though... I'll take a look asap..
> >>
> >>
> >> Hi Johan,
> >>
> >> Note that Magritte3 3.2 indeed does load 'Seaside3' with: '3.1.1'.  Which causes the Filesystem issue.
> >> However, Magritte 3.1.1 ("stable") loads Seaside '3.1.0' and causes a spec resolution error with Javascript-GemStone-Core. This one is "expected" as you said Seaside 3.1.0 does not work in GemStone.
> >>
> >> So now we either have Magritte3 with an old version ('3.0.1') that brings Seaside 3.0.9 or.. should make 3.1.1 to work via ConfigurationOf as you suggest.  My problem is that the first option is quite hard because even if in my conf I do refer to Seaside3 3.0.9 and Magritte3 3.0.1 I have other references to other projects that are likely to load Seaside ... so my code ends up trying to load new versions of seaside and Magritte and hence these errors :(
> >>
> >> Thanks for your help.
> >>
> >>
> >>
> >> Johan
> >>
> >> On 02 May 2014, at 16:10, Mariano Martinez Peck <[hidden email]> wrote:
> >>
> >>> Thanks guys. I started again, clean gemstone. The only thing I previously installed was Metacello and GLASS1. Executing:
> >>>
> >>>
> >>> Gofer it
> >>>        url: 'http://www.smalltalkhub.com/mc/Magritte/Magritte3/main';
> >>>        package: 'ConfigurationOfMagritte3';
> >>> load.
> >>> (ConfigurationOfMagritte3 project version: '3.2') load: #('Core' 'Tests' 'Seaside').
> >>>
> >>> Yields the Seaside-FileSystem problem.
> >>> I though OK, it may be broken (since 3.2 is the very last problem). So then I tried loading '3.1.1' which is the "stable" one. Now I get another spec resolution problem with Javascript-GemStone-Core. If I load version '3.0.1' which was the only I have in my original GemStone, it does work and load correctly with seaside 3.0.9.  So I don't know...it looks like ConfigurationOfMagritte3 is quite broken for GemStone for newer versions.
> >>>
> >>> So I will try to see what can I find.
> >>>
> >>> Thank guys.
> >>>
> >>>
> >>>
> >>> On Fri, May 2, 2014 at 6:46 AM, Stephan Eggermont <[hidden email]> wrote:
> >>> Your xml support is suspicious.
> >>>
> >>> Stephan
> >>>
> >>> Sent from my iPad
> >>>
> >>> On 1 mei 2014, at 22:03, Mariano Martinez Peck <[hidden email]> wrote:
> >>>
> >>>> Dale,
> >>>>
> >>>> My configuration class has these 2 project references:
> >>>>
> >>>> spec
> >>>>                     project: 'Seaside' with: [
> >>>>                     spec
> >>>>                             className: 'ConfigurationOfSeaside3';
> >>>>                             loads: #('Core' 'Zinc-Seaside' 'Javascript-Core' 'JQuery-Core');
> >>>>                             file: 'ConfigurationOfSeaside3';
> >>>>                             repository: 'http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main' ].
> >>>>
> >>>>             spec
> >>>>                     project: 'Magritte' with: [
> >>>>                     spec
> >>>>                             className: 'ConfigurationOfMagritte3';
> >>>>                             loads: #('Core' 'Tests' 'Seaside');
> >>>>                             file: 'ConfigurationOfMagritte3';
> >>>>                             repository: 'http://www.smalltalkhub.com/mc/Magritte/Magritte3/main' ].
> >>>>
> >>>>
> >>>> I did a #record: of my project load and this is what I get:
> >>>>
> >>>>
> >>>> Recording 1.5 of ConfigurationOfMyProjet...
> >>>> Project: Seaside
> >>>> Fetched -> ConfigurationOfSeaside3-JohanBrichau.131 ---
> >>>> http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main ---http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main
> >>>>
> >>>> Loaded -> ConfigurationOfSeaside3-JohanBrichau.131 ---
> >>>> http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main
> >>>> --- cache [3.1.0.1]
> >>>> Project: Grease release1.1
> >>>> Fetched -> ConfigurationOfGrease-JohanBrichau.259 ---
> >>>> http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main ---http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main
> >>>>
> >>>> Loaded -> ConfigurationOfGrease-JohanBrichau.259 ---
> >>>> http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main ---http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main
> >>>> [1.1.8]
> >>>> Project: System-Digital-Signatures 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: SMTPMail 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: GsCore 0.245.2
> >>>> Project: UTF8 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: Zinc Project stable
> >>>> Fetched -> ConfigurationOfZincHTTPComponents-SvenVanCaekenberghe.64 ---
> >>>> http://mc.stfx.eu/ZincHTTPComponents --- http://mc.stfx.eu/ZincHTTPComponents
> >>>>
> >>>> Loaded -> ConfigurationOfZincHTTPComponents-SvenVanCaekenberghe.64 ---
> >>>> http://mc.stfx.eu/ZincHTTPComponents --- http://mc.stfx.eu/ZincHTTPComponents
> >>>> [2.4.3]
> >>>> Project: Zinc baseline
> >>>> Project: GsCore 0.247
> >>>> Project: Bootstrap
> >>>> Fetched -> ConfigurationOfBootstrap-TorstenBergmann.38 ---
> >>>> http://smalltalkhub.com/mc/TorstenBergmann/Bootstrap/main/ ---http://smalltalkhub.com/mc/TorstenBergmann/Bootstrap/main/
> >>>>
> >>>> Loaded -> ConfigurationOfBootstrap-TorstenBergmann.38 ---
> >>>> http://smalltalkhub.com/mc/TorstenBergmann/Bootstrap/main/
> >>>> --- cache [0.7.0]
> >>>> Project: Seaside3 3.1.0
> >>>> Project: Grease 1.1.5
> >>>> Project: System-Digital-Signatures 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: SMTPMail 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: GsCore 0.245.2
> >>>> Project: UTF8 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: Zinc Project stable [2.4.3]
> >>>> Project: Zinc baseline
> >>>> Project: GsCore 0.247
> >>>> Project: Magritte
> >>>> Fetched -> ConfigurationOfMagritte3-DiegoLont.85 ---
> >>>> http://www.smalltalkhub.com/mc/Magritte/Magritte3/main --- http://www.smalltalkhub.com/mc/Magritte/Magritte3/main
> >>>>
> >>>> Loaded -> ConfigurationOfMagritte3-DiegoLont.85 ---
> >>>> http://www.smalltalkhub.com/mc/Magritte/Magritte3/main
> >>>> --- cache [3.1.3]
> >>>> Project: Grease release1.1 [1.1.8]
> >>>> Project: System-Digital-Signatures 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: SMTPMail 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: GsCore 0.245.2
> >>>> Project: UTF8 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: Seaside3 release3.1 [3.1.0.1]
> >>>> Project: Grease release1.1 [1.1.8]
> >>>> Project: System-Digital-Signatures 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: SMTPMail 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: GsCore 0.245.2
> >>>> Project: UTF8 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: Grease Core Tests release1.1 [1.1.8]
> >>>> Project: System-Digital-Signatures 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: SMTPMail 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: GsCore 0.245.2
> >>>> Project: UTF8 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: Zinc Project stable [2.4.3]
> >>>> Project: Zinc baseline
> >>>> Project: GsCore 0.247
> >>>> Project: GsCore stable
> >>>> Project: GsCore 0.242
> >>>> Project: MockGemStone
> >>>> Fetched -> ConfigurationOfMockGemStone-PaulDeBruicker.6 ---
> >>>> http://seaside.gemtalksystems.com/ss/MockGemStone --- http://seaside.gemtalksystems.com/ss/MockGemStone
> >>>>
> >>>> Loaded -> ConfigurationOfMockGemStone-PaulDeBruicker.6 ---
> >>>> http://seaside.gemtalksystems.com/ss/MockGemStone
> >>>> --- cache [1.0]
> >>>> Project: HighCharts
> >>>> Fetched -> ConfigurationOfHighchartsSt-MarianoMartinezPeck.6 ---
> >>>> http://smalltalkhub.com/mc/Mercap/HighchartsSt/main --- http://smalltalkhub.com/mc/Mercap/HighchartsSt/main
> >>>>
> >>>> Loaded -> ConfigurationOfHighchartsSt-MarianoMartinezPeck.6 ---
> >>>> http://smalltalkhub.com/mc/Mercap/HighchartsSt/main
> >>>> --- cache [1.0-baseline]
> >>>> Project: XMLSupport 1.2.2
> >>>> Fetched -> ConfigurationOfXMLSupport-PaulDeBruicker.66 ---
> >>>> http://www.squeaksource.com/MetacelloRepository --- http://www.squeaksource.com/MetacelloRepository
> >>>>
> >>>> Loaded -> ConfigurationOfXMLSupport-PaulDeBruicker.66 ---
> >>>> http://www.squeaksource.com/MetacelloRepository
> >>>> --- cache
> >>>> Project: XML-Writer 1.0.5
> >>>> Fetched -> ConfigurationOfXMLWriter-StephaneDucasse.21 ---
> >>>> http://www.squeaksource.com/XMLWriter --- http://www.squeaksource.com/XMLWriter
> >>>>
> >>>> Loaded -> ConfigurationOfXMLWriter-StephaneDucasse.21 ---
> >>>> http://www.squeaksource.com/XMLWriter --- http://www.squeaksource.com/XMLWriter
> >>>>
> >>>> Project: Grease Core 1.0.3 [1.0.7.2]
> >>>> Project: System-Digital-Signatures 0.241.1
> >>>> Project: Core 0.246 [0.247]
> >>>> Project: XML Parser 1.0.5
> >>>> Project: Grease Core 1.0-rc
> >>>> Project: SMTPMail 0.241.1
> >>>> Project: Core 0.246
> >>>> Project: XML Parser 1.0.5
> >>>> Project: GsCore 0.246.1
> >>>> Project: UTF8 0.241.1
> >>>> Project: Core 0.246
> >>>> Project: XML Parser 1.0.5
> >>>> Project: SIXX
> >>>> Fetched -> BaselineOfSIXX-dkh.1 --- github://glassdb/SIXX:master/repository --- github://glassdb/SIXX:master/repository
> >>>> Loaded -> BaselineOfSIXX-dkh.1 --- github://glassdb/SIXX:master/repository --- github://glassdb/SIXX:master/repository
> >>>> Project: XMLSupport stable [1.2.2]
> >>>> Project: XML-Writer 1.0.5
> >>>> Project: Grease Core 1.0.3 [1.0.7.2]
> >>>> Project: System-Digital-Signatures 0.241.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: XML Parser 1.0.5 [1.2.2]
> >>>> Project: XML-Writer 1.0.5
> >>>> Project: Grease Core 1.0.3
> >>>> Project: SMTPMail 0.241.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: XML Parser 1.0.5
> >>>> Project: GsCore 0.246.1
> >>>> Project: UTF8 0.241.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: XML Parser 1.0.5
> >>>> ...finished 1.5
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Thu, May 1, 2014 at 4:12 PM, Dale Henrichs <[hidden email]> wrote:
> >>>> Mariano,
> >>>>
> >>>> If it loaded before and no longer loads, then something has changed ... so that would be the first question ... sometimes configurations get changed out from under you...
> >>>>
> >>>> It would help to see the Transcript of your load attempt and the workspace that you are using ... also version of GemStone/GLASS...
> >>>>
> >>>> Dale
> >>>>
> >>>>
> >>>> On Thu, May 1, 2014 at 12:07 PM, Mariano Martinez Peck <[hidden email]> wrote:
> >>>> Hi guys...
> >>>>
> >>>> I don't know what is going on, but I cannot load Seaside3 and Magritte3 anymore in GemStone. It is hard to find the cause, but I am geting a " 'Core' Not Found". This is from ConfigurationOfMagritte3 >> baseline320CommonExtDeps:
> >>>>
> >>>> Where it does:
> >>>>
> >>>> ect: 'Seaside3'
> >>>>                     with: [
> >>>>                             "note: we do not want to depend on Zinc, since this is not present in Squeak. Currently no adapter is loaded"
> >>>>                                     spec
> >>>>                                             className: 'ConfigurationOfSeaside3';
> >>>>                                             versionString: '3.1.0';
> >>>>                                             loads: #('Core' 'Javascript' 'RSS' 'Filesystem' 'Welcome' );
> >>>>                                             repository: 'http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main' ]
> >>>>
> >>>>
> >>>> Note the 'Core' in #loads:.
> >>>> What is funny is that ConfigurationOfSeaside version 3.1.0 does include a group called Core.
> >>>>
> >>>> Any ideas?
> >>>>
> >>>> Thanks,
> >>>>
> >>>> --
> >>>> Mariano
> >>>> http://marianopeck.wordpress.com
> >>>>
> >>>> _______________________________________________
> >>>> Glass mailing list
> >>>> [hidden email]
> >>>> http://lists.gemtalksystems.com/mailman/listinfo/glass
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Mariano
> >>>> http://marianopeck.wordpress.com
> >>>> _______________________________________________
> >>>> Glass mailing list
> >>>> [hidden email]
> >>>> http://lists.gemtalksystems.com/mailman/listinfo/glass
> >>>
> >>>
> >>>
> >>> --
> >>> Mariano
> >>> http://marianopeck.wordpress.com
> >>> _______________________________________________
> >>> Glass mailing list
> >>> [hidden email]
> >>> http://lists.gemtalksystems.com/mailman/listinfo/glass
> >>
> >>
> >>
> >>
> >> --
> >> Mariano
> >> http://marianopeck.wordpress.com
> >
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Problem loading Magritte3 / Seaside3 in GemSone

Dale Henrichs-3
Welllll, if you use the following expression to do the load:

  Metacello new
          configuration: 'MyApp';
          version: '0.1';
          load: #('Magritte' 'Seaside')

everything loads without error.....

The issue is that there _ARE_ differences in load behavior between:

  ((Smalltalk at: #'ConfigurationOfMyApp') project version: '0.1')
          load: #('Magritte' 'Seaside')

and

  Metacello new
          configuration: 'MyApp';
          version: '0.1';
          load: #('Magritte' 'Seaside')

The former form uses the old semantics for configuration loads, namely with regards to calculating a current version ... the current version calculations results in non-deterministic loading behavior and I want to strongly discourage the use of the old way of loading projects.

The latter form is deterministic and can be relied upon to be repeatable and correct (and if not I will fix the problem).

The #import: statement is a new feature that is only properly supported when using the new way of loading Metacello ....

With GLASS we need to standardize on using `Metacello new` to do loads.

Pharo3.0 has support for using `Metacello new` loaded into the base image, so I don't see any reasons for not being able to standardize...

Dale



On Fri, May 2, 2014 at 4:07 PM, Dale Henrichs <[hidden email]> wrote:
haha ... my original analysis was based on looking at the load transcript and reading the configs an dI didn't see the #import:)

That's intended to work, so it is a bug...

I'll dig into this deeper...





On Fri, May 2, 2014 at 3:25 PM, Johan Brichau <[hidden email]> wrote:
Dale,

This is intended: the ConfigurationOfSeaside3 has a #baseline311gemstone: method that references the BaselineOfSeaside3 on github.
It is supposed to make sure that all loads for Gemstone will use the BaselineOf.

I had the impression this worked since I can do this in Gemstone:

(ConfigurationOfSeaside3 project version: '3.1.1') load: #('CI')

The 'CI' group is defined in the same way as the 'Core' group.

I must be missing something then?

Johan

On 03 May 2014, at 00:10, Dale Henrichs <[hidden email]> wrote:

> Mariano,
>
> It looks like there is a configuration error in ConfigurationOfSeaside3>>baseline311common: ... The spec starts out with:
>
>   spec
>     for: #'squeakCommon'
>     do: [ ...]
>
> and the 'Core' group is defined within the context of squeakCommon ... so for GemStone, there is no 'Core' group defined ...
>
> In ConfigurationOfSeaside3>>baseline310common:  the spec starts out with:
>
>   spec
>     for: #'common'
>     do: [ ...]
>
> .... If I'm not mistaken, Johan, who has been doing the lion's share of work on porting Seaside3.1 is doing his work on github in the glassdb group[1], so I presume that is the recommended version to use for GemStone ...
>
>
> Dale
>
> [1]https://github.com/glassdb/Seaside31
>
>
> On Fri, May 2, 2014 at 2:23 PM, Mariano Martinez Peck <[hidden email]> wrote:
> Ok. So I built a very dummy ConfigurationOfMyApp (fileout attached) that just have Magritte3 and Seaside3 as dependencies. One baseline, one version. You have to first load GLASS1 and Metacello, then you simply execute:
>
> ((Smalltalk at: #ConfigurationOfMyApp) project version: '0.1') load: #('Magritte' 'Seaside').
>
> And you should get the error. I would appreciate if someone can reproduce the problem. I am in GemStone 3.0.1.4.
>
> In case you want to install GLASS1 and Metacello, I did:
>
> MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
>
> [Metacello new
>       baseline:  'Metacello';
>       repository: 'github://dalehenrich/metacello-work:master/repository';
>       load: 'ALL'.
> ] on: Warning do: [ :ex |
>       ex resume.
> ].
>
>
> Metacello new
>   baseline: 'GLASS1';
>   repository: 'github://glassdb/glass:master/repository';
>   onConflict: [ :ex | ex allow ];
>   onWarning: [ :ex |
>         Transcript
>           cr;
>           show: ex description.
>         ex resume ];
>   load: 'default'.
>
> ].
>
>
> Thanks!
>
>
>
> On Fri, May 2, 2014 at 5:19 PM, Mariano Martinez Peck <[hidden email]> wrote:
>
>
>
> On Fri, May 2, 2014 at 3:01 PM, Johan Brichau <[hidden email]> wrote:
> Mariano,
>
> If you tried earlier, I now really fixed the load (Travis told me it was not working, though I had a clean load locally...). Travis is loading the Filesystem package just fine and the tests are green as well. It seems all that was missing to make it work was fixing the configuration and the missing dependencies.
>
> I also tried using the ConfigurationOfSeaside3 directly and that works too. I think I fixed the last bits by also mirroring the Gemstone-specific packages for Grease in the Smalltalkhub repository.
> I vaguely recall that also loading those from github was going to be too much of a hassle changing all the configurations.
>
> Perhaps to only problem still is that #stable is marked as 3.0.10 for Gemstone rather than 3.1.1.
> I think we are ready to fix 3.1.1 for all platforms though. So, let me check that next...
>
> In the meantime, let me know if the load works for you.
> Do you also still have the original problem loading 'Core' ?
>
>
> Thank you so much for your help and support Johan. I tried everything and it still fails....But the thing is very strange.
> This is like Argentinian football team...each one individually is working great...but all together they don't. In my Conf, I have these 2 references in the baseline:
>
>               spec
>                       project: 'Seaside' with: [
>                       spec
>                               className: 'ConfigurationOfSeaside3';
>                               loads: #('Core' 'Zinc-Seaside' 'Javascript-Core' 'JQuery-Core');
>                               file: 'ConfigurationOfSeaside3';
>                               repository: 'http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main' ].
>
>               spec
>                       project: 'Magritte' with: [
>                       spec
>                               className: 'ConfigurationOfMagritte3';
>                               loads: #('Core' 'Tests' 'Seaside');
>                               file: 'ConfigurationOfMagritte3';
>                               repository: 'http://www.smalltalkhub.com/mc/Magritte/Magritte3/main' ].
>
>
> And from my version I define:
>
>               spec
>                       project: 'Seaside' with: '3.1.1';
>                       project: 'Magritte' with: '3.2';
>
>
>
> Now if I do:
>
> (ConfigurationOfMyApp project version: xxx) load: 'Magritte'
> works correct.
>
> (ConfigurationOfMyApp project version: xxx) load: 'Seaside'
> works correct.
>
> (ConfigurationOfMyApp project version: xxx) load: #('Magritte' 'Seaside')
> ERROR!!!! with the 'Core' not found.
>
> Again, thanks for your help. I will try to continue investigating a bit more. Maybe I could create a dummy ConfigurationOf to see if I can reproduce it...
>
> best,
>
>
>
>
> Johan
>
> On 02 May 2014, at 18:25, Johan Brichau <[hidden email]> wrote:
>
> > Mariano,
> >
> > I committed a new BaselineOfSeaside3 that allows to load the FileSystem group in Gemstone.
> > At least, that should get you passed that loading problem. I tried and I can now load it just fine.
> >
> > However, if Magritte really needs the Filesystem package, we will need to make it work in Gemstone. I guess it should not be too difficult and there has been another discussion that raised issues with the same package [1]. So I will take a look ;-)
> >
> > [1] http://lists.squeakfoundation.org/pipermail/seaside/2014-April/030833.html
> >
> > On 02 May 2014, at 17:06, Mariano Martinez Peck <[hidden email]> wrote:
> >
> >>
> >> On Fri, May 2, 2014 at 11:52 AM, Johan Brichau <[hidden email]> wrote:
> >> Mariano,
> >>
> >> I think this is because the loading of Seaside 3.1.1 for Gemstone is not entirely working via the ConfigurationOf.
> >> I was nearly there though... I'll take a look asap..
> >>
> >>
> >> Hi Johan,
> >>
> >> Note that Magritte3 3.2 indeed does load 'Seaside3' with: '3.1.1'.  Which causes the Filesystem issue.
> >> However, Magritte 3.1.1 ("stable") loads Seaside '3.1.0' and causes a spec resolution error with Javascript-GemStone-Core. This one is "expected" as you said Seaside 3.1.0 does not work in GemStone.
> >>
> >> So now we either have Magritte3 with an old version ('3.0.1') that brings Seaside 3.0.9 or.. should make 3.1.1 to work via ConfigurationOf as you suggest.  My problem is that the first option is quite hard because even if in my conf I do refer to Seaside3 3.0.9 and Magritte3 3.0.1 I have other references to other projects that are likely to load Seaside ... so my code ends up trying to load new versions of seaside and Magritte and hence these errors :(
> >>
> >> Thanks for your help.
> >>
> >>
> >>
> >> Johan
> >>
> >> On 02 May 2014, at 16:10, Mariano Martinez Peck <[hidden email]> wrote:
> >>
> >>> Thanks guys. I started again, clean gemstone. The only thing I previously installed was Metacello and GLASS1. Executing:
> >>>
> >>>
> >>> Gofer it
> >>>        url: 'http://www.smalltalkhub.com/mc/Magritte/Magritte3/main';
> >>>        package: 'ConfigurationOfMagritte3';
> >>> load.
> >>> (ConfigurationOfMagritte3 project version: '3.2') load: #('Core' 'Tests' 'Seaside').
> >>>
> >>> Yields the Seaside-FileSystem problem.
> >>> I though OK, it may be broken (since 3.2 is the very last problem). So then I tried loading '3.1.1' which is the "stable" one. Now I get another spec resolution problem with Javascript-GemStone-Core. If I load version '3.0.1' which was the only I have in my original GemStone, it does work and load correctly with seaside 3.0.9.  So I don't know...it looks like ConfigurationOfMagritte3 is quite broken for GemStone for newer versions.
> >>>
> >>> So I will try to see what can I find.
> >>>
> >>> Thank guys.
> >>>
> >>>
> >>>
> >>> On Fri, May 2, 2014 at 6:46 AM, Stephan Eggermont <[hidden email]> wrote:
> >>> Your xml support is suspicious.
> >>>
> >>> Stephan
> >>>
> >>> Sent from my iPad
> >>>
> >>> On 1 mei 2014, at 22:03, Mariano Martinez Peck <[hidden email]> wrote:
> >>>
> >>>> Dale,
> >>>>
> >>>> My configuration class has these 2 project references:
> >>>>
> >>>> spec
> >>>>                     project: 'Seaside' with: [
> >>>>                     spec
> >>>>                             className: 'ConfigurationOfSeaside3';
> >>>>                             loads: #('Core' 'Zinc-Seaside' 'Javascript-Core' 'JQuery-Core');
> >>>>                             file: 'ConfigurationOfSeaside3';
> >>>>                             repository: 'http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main' ].
> >>>>
> >>>>             spec
> >>>>                     project: 'Magritte' with: [
> >>>>                     spec
> >>>>                             className: 'ConfigurationOfMagritte3';
> >>>>                             loads: #('Core' 'Tests' 'Seaside');
> >>>>                             file: 'ConfigurationOfMagritte3';
> >>>>                             repository: 'http://www.smalltalkhub.com/mc/Magritte/Magritte3/main' ].
> >>>>
> >>>>
> >>>> I did a #record: of my project load and this is what I get:
> >>>>
> >>>>
> >>>> Recording 1.5 of ConfigurationOfMyProjet...
> >>>> Project: Seaside
> >>>> Fetched -> ConfigurationOfSeaside3-JohanBrichau.131 ---
> >>>> http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main ---http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main
> >>>>
> >>>> Loaded -> ConfigurationOfSeaside3-JohanBrichau.131 ---
> >>>> http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main
> >>>> --- cache [3.1.0.1]
> >>>> Project: Grease release1.1
> >>>> Fetched -> ConfigurationOfGrease-JohanBrichau.259 ---
> >>>> http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main ---http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main
> >>>>
> >>>> Loaded -> ConfigurationOfGrease-JohanBrichau.259 ---
> >>>> http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main ---http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main
> >>>> [1.1.8]
> >>>> Project: System-Digital-Signatures 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: SMTPMail 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: GsCore 0.245.2
> >>>> Project: UTF8 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: Zinc Project stable
> >>>> Fetched -> ConfigurationOfZincHTTPComponents-SvenVanCaekenberghe.64 ---
> >>>> http://mc.stfx.eu/ZincHTTPComponents --- http://mc.stfx.eu/ZincHTTPComponents
> >>>>
> >>>> Loaded -> ConfigurationOfZincHTTPComponents-SvenVanCaekenberghe.64 ---
> >>>> http://mc.stfx.eu/ZincHTTPComponents --- http://mc.stfx.eu/ZincHTTPComponents
> >>>> [2.4.3]
> >>>> Project: Zinc baseline
> >>>> Project: GsCore 0.247
> >>>> Project: Bootstrap
> >>>> Fetched -> ConfigurationOfBootstrap-TorstenBergmann.38 ---
> >>>> http://smalltalkhub.com/mc/TorstenBergmann/Bootstrap/main/ ---http://smalltalkhub.com/mc/TorstenBergmann/Bootstrap/main/
> >>>>
> >>>> Loaded -> ConfigurationOfBootstrap-TorstenBergmann.38 ---
> >>>> http://smalltalkhub.com/mc/TorstenBergmann/Bootstrap/main/
> >>>> --- cache [0.7.0]
> >>>> Project: Seaside3 3.1.0
> >>>> Project: Grease 1.1.5
> >>>> Project: System-Digital-Signatures 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: SMTPMail 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: GsCore 0.245.2
> >>>> Project: UTF8 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: Zinc Project stable [2.4.3]
> >>>> Project: Zinc baseline
> >>>> Project: GsCore 0.247
> >>>> Project: Magritte
> >>>> Fetched -> ConfigurationOfMagritte3-DiegoLont.85 ---
> >>>> http://www.smalltalkhub.com/mc/Magritte/Magritte3/main --- http://www.smalltalkhub.com/mc/Magritte/Magritte3/main
> >>>>
> >>>> Loaded -> ConfigurationOfMagritte3-DiegoLont.85 ---
> >>>> http://www.smalltalkhub.com/mc/Magritte/Magritte3/main
> >>>> --- cache [3.1.3]
> >>>> Project: Grease release1.1 [1.1.8]
> >>>> Project: System-Digital-Signatures 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: SMTPMail 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: GsCore 0.245.2
> >>>> Project: UTF8 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: Seaside3 release3.1 [3.1.0.1]
> >>>> Project: Grease release1.1 [1.1.8]
> >>>> Project: System-Digital-Signatures 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: SMTPMail 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: GsCore 0.245.2
> >>>> Project: UTF8 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: Grease Core Tests release1.1 [1.1.8]
> >>>> Project: System-Digital-Signatures 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: SMTPMail 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: GsCore 0.245.2
> >>>> Project: UTF8 0.240.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: Zinc Project stable [2.4.3]
> >>>> Project: Zinc baseline
> >>>> Project: GsCore 0.247
> >>>> Project: GsCore stable
> >>>> Project: GsCore 0.242
> >>>> Project: MockGemStone
> >>>> Fetched -> ConfigurationOfMockGemStone-PaulDeBruicker.6 ---
> >>>> http://seaside.gemtalksystems.com/ss/MockGemStone --- http://seaside.gemtalksystems.com/ss/MockGemStone
> >>>>
> >>>> Loaded -> ConfigurationOfMockGemStone-PaulDeBruicker.6 ---
> >>>> http://seaside.gemtalksystems.com/ss/MockGemStone
> >>>> --- cache [1.0]
> >>>> Project: HighCharts
> >>>> Fetched -> ConfigurationOfHighchartsSt-MarianoMartinezPeck.6 ---
> >>>> http://smalltalkhub.com/mc/Mercap/HighchartsSt/main --- http://smalltalkhub.com/mc/Mercap/HighchartsSt/main
> >>>>
> >>>> Loaded -> ConfigurationOfHighchartsSt-MarianoMartinezPeck.6 ---
> >>>> http://smalltalkhub.com/mc/Mercap/HighchartsSt/main
> >>>> --- cache [1.0-baseline]
> >>>> Project: XMLSupport 1.2.2
> >>>> Fetched -> ConfigurationOfXMLSupport-PaulDeBruicker.66 ---
> >>>> http://www.squeaksource.com/MetacelloRepository --- http://www.squeaksource.com/MetacelloRepository
> >>>>
> >>>> Loaded -> ConfigurationOfXMLSupport-PaulDeBruicker.66 ---
> >>>> http://www.squeaksource.com/MetacelloRepository
> >>>> --- cache
> >>>> Project: XML-Writer 1.0.5
> >>>> Fetched -> ConfigurationOfXMLWriter-StephaneDucasse.21 ---
> >>>> http://www.squeaksource.com/XMLWriter --- http://www.squeaksource.com/XMLWriter
> >>>>
> >>>> Loaded -> ConfigurationOfXMLWriter-StephaneDucasse.21 ---
> >>>> http://www.squeaksource.com/XMLWriter --- http://www.squeaksource.com/XMLWriter
> >>>>
> >>>> Project: Grease Core 1.0.3 [1.0.7.2]
> >>>> Project: System-Digital-Signatures 0.241.1
> >>>> Project: Core 0.246 [0.247]
> >>>> Project: XML Parser 1.0.5
> >>>> Project: Grease Core 1.0-rc
> >>>> Project: SMTPMail 0.241.1
> >>>> Project: Core 0.246
> >>>> Project: XML Parser 1.0.5
> >>>> Project: GsCore 0.246.1
> >>>> Project: UTF8 0.241.1
> >>>> Project: Core 0.246
> >>>> Project: XML Parser 1.0.5
> >>>> Project: SIXX
> >>>> Fetched -> BaselineOfSIXX-dkh.1 --- github://glassdb/SIXX:master/repository --- github://glassdb/SIXX:master/repository
> >>>> Loaded -> BaselineOfSIXX-dkh.1 --- github://glassdb/SIXX:master/repository --- github://glassdb/SIXX:master/repository
> >>>> Project: XMLSupport stable [1.2.2]
> >>>> Project: XML-Writer 1.0.5
> >>>> Project: Grease Core 1.0.3 [1.0.7.2]
> >>>> Project: System-Digital-Signatures 0.241.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: XML Parser 1.0.5 [1.2.2]
> >>>> Project: XML-Writer 1.0.5
> >>>> Project: Grease Core 1.0.3
> >>>> Project: SMTPMail 0.241.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: XML Parser 1.0.5
> >>>> Project: GsCore 0.246.1
> >>>> Project: UTF8 0.241.1 [0.242]
> >>>> Project: Core 0.247
> >>>> Project: XML Parser 1.0.5
> >>>> ...finished 1.5
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Thu, May 1, 2014 at 4:12 PM, Dale Henrichs <[hidden email]> wrote:
> >>>> Mariano,
> >>>>
> >>>> If it loaded before and no longer loads, then something has changed ... so that would be the first question ... sometimes configurations get changed out from under you...
> >>>>
> >>>> It would help to see the Transcript of your load attempt and the workspace that you are using ... also version of GemStone/GLASS...
> >>>>
> >>>> Dale
> >>>>
> >>>>
> >>>> On Thu, May 1, 2014 at 12:07 PM, Mariano Martinez Peck <[hidden email]> wrote:
> >>>> Hi guys...
> >>>>
> >>>> I don't know what is going on, but I cannot load Seaside3 and Magritte3 anymore in GemStone. It is hard to find the cause, but I am geting a " 'Core' Not Found". This is from ConfigurationOfMagritte3 >> baseline320CommonExtDeps:
> >>>>
> >>>> Where it does:
> >>>>
> >>>> ect: 'Seaside3'
> >>>>                     with: [
> >>>>                             "note: we do not want to depend on Zinc, since this is not present in Squeak. Currently no adapter is loaded"
> >>>>                                     spec
> >>>>                                             className: 'ConfigurationOfSeaside3';
> >>>>                                             versionString: '3.1.0';
> >>>>                                             loads: #('Core' 'Javascript' 'RSS' 'Filesystem' 'Welcome' );
> >>>>                                             repository: 'http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main' ]
> >>>>
> >>>>
> >>>> Note the 'Core' in #loads:.
> >>>> What is funny is that ConfigurationOfSeaside version 3.1.0 does include a group called Core.
> >>>>
> >>>> Any ideas?
> >>>>
> >>>> Thanks,
> >>>>
> >>>> --
> >>>> Mariano
> >>>> http://marianopeck.wordpress.com
> >>>>
> >>>> _______________________________________________
> >>>> Glass mailing list
> >>>> [hidden email]
> >>>> http://lists.gemtalksystems.com/mailman/listinfo/glass
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Mariano
> >>>> http://marianopeck.wordpress.com
> >>>> _______________________________________________
> >>>> Glass mailing list
> >>>> [hidden email]
> >>>> http://lists.gemtalksystems.com/mailman/listinfo/glass
> >>>
> >>>
> >>>
> >>> --
> >>> Mariano
> >>> http://marianopeck.wordpress.com
> >>> _______________________________________________
> >>> Glass mailing list
> >>> [hidden email]
> >>> http://lists.gemtalksystems.com/mailman/listinfo/glass
> >>
> >>
> >>
> >>
> >> --
> >> Mariano
> >> http://marianopeck.wordpress.com
> >
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>




_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
12