[Glass] Problem loading Magritte3 / Seaside3 in GemSone

Dale Henrichs dale.henrichs at gemtalksystems.com
Fri May 2 15:10:38 PDT 2014


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 <marianopeck at gmail.com
> 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 <
> marianopeck at gmail.com> wrote:
>
>>
>>
>>
>> On Fri, May 2, 2014 at 3:01 PM, Johan Brichau <johan at yesplan.be> 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 <johan at yesplan.be> 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 <marianopeck at gmail.com>
>>> wrote:
>>> >
>>> >>
>>> >> On Fri, May 2, 2014 at 11:52 AM, Johan Brichau <johan at yesplan.be>
>>> 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 <
>>> marianopeck at gmail.com> 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 <stephan at stack.nl>
>>> wrote:
>>> >>> Your xml support is suspicious.
>>> >>>
>>> >>> Stephan
>>> >>>
>>> >>> Sent from my iPad
>>> >>>
>>> >>> On 1 mei 2014, at 22:03, Mariano Martinez Peck <
>>> marianopeck at gmail.com> 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 <
>>> dale.henrichs at gemtalksystems.com> 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 <
>>> marianopeck at gmail.com> 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
>>> >>>> Glass at lists.gemtalksystems.com
>>> >>>> http://lists.gemtalksystems.com/mailman/listinfo/glass
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> --
>>> >>>> Mariano
>>> >>>> http://marianopeck.wordpress.com
>>> >>>> _______________________________________________
>>> >>>> Glass mailing list
>>> >>>> Glass at lists.gemtalksystems.com
>>> >>>> http://lists.gemtalksystems.com/mailman/listinfo/glass
>>> >>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>> Mariano
>>> >>> http://marianopeck.wordpress.com
>>> >>> _______________________________________________
>>> >>> Glass mailing list
>>> >>> Glass at lists.gemtalksystems.com
>>> >>> 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
> 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/20140502/652f55cd/attachment-0001.html>


More information about the Glass mailing list