[Glass] Another metacello loading puzzle: xml

Iwan Vosloo via Glass glass at lists.gemtalksystems.com
Tue Dec 19 06:36:18 PST 2017


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



-- 

Reahl, the Python only web framework / www.reahl.org


More information about the Glass mailing list