[Glass] Another metacello loading puzzle: xml

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Fri Dec 22 10:42:47 PST 2017


Iwan,

For some reason google put this email into the spam folder and I just 
saw it ... I'll try to take a look at this later this afternoon ...

Dale

On 12/19/17 6:36 AM, Iwan Vosloo via Glass wrote:
> Hi all,
>
> I am trying to load XMLParser (from 
> http://www.smalltalkhub.com/mc/PharoExtras/XMLParser/main) into a new 
> gemstone 3.4 image as a dependency of another BaselineOf.
>
> My reproducing baseline contains only that single dependency:
>
> baseline: spec
>   <baseline>
>   spec
>     for: #common do: [
>         spec
>             blessing: #baseline;
>             description: 'Example project';
>             configuration: 'XMLParser' with: [
>            spec
> repository: 'http://www.smalltalkhub.com/mc/PharoExtras/XMLParser/main';
>                  versionString: '3.2.8'.
>         ];
>             group: 'Core' with: #('XMLParser');
>             group: 'default' with: #('Core')
>     ].
>
>
> .. which I try to load with:
>
> Metacello new
>   baseline: 'Example';
>   repository: 'filetree:///tmp/examplerepository';
>   cacheRepository: '/tmp/github-cache';
>   load
>
>
> This seems to load fine, but breaks when it tries to run (as post load 
> directive) ConfigurationOfXMLParser>>initializeClassesForGSBaseline321 
> because the classes referred to in that method seem not to be loaded 
> at this point. (The actual exception is "Set doesNotUnderstand 
> #entityCache" - perhaps I understand that incorrectly...)
>
>
>
> If I just load it myself, it works:
>
> (Metacello new
>   configuration: 'XMLParser';
>   repository: 
> 'http://www.smalltalkhub.com/mc/PharoExtras/XMLParser/main';
>   version: '3.2.8';
>   load)
>
>
> Any ideas? How can I debug the issue?
>
> Regards
> - Iwan
>
>
>



More information about the Glass mailing list