[Glass] [Metacello] Name not found: 'OB-Metacello'
Dale Henrichs
dale.henrichs at gemtalksystems.com
Tue Jun 10 15:09:07 PDT 2014
Yeah, the good side of this is I haven't really changed Metacello Preview
in maybe 6 months or more (definitely not in the last couple of months), so
the flood of problems means folks are finally using it:)
Your analysis of the deny upgrade/downgrades sounds correct ... I _would_
like to know the value of #loads instance variable for the
configurationProjectSpec in the project registration for Metacello (poke
around in the `MetacelloProjectRegistration registry` to find the project
registration) ...
Well, the next change I was planning to make to ConfigurationofGLASS was to
point it at th egithub glassdb repo ... what does that do to your plans?
I would like to see the two transcripts to get a better idea of what you
are referring to ...
Dale
On Tue, Jun 10, 2014 at 2:45 PM, Johan Brichau <johan at yesplan.be> wrote:
> It’s raining Metacello load problems today… well, actually mine is a
> MetacelloPreview issue with a twist ;-)
> And I might have found what’s wrong with this one so I want to check on
> what to do next…
>
> - In a standard GLASS-1.0-beta.9 (GS 3.1), with MyProject loaded, I
> upgraded to the MetacelloPreview.
> - The ConfigurationOfMyProject references GLASS 1.0-beta.9 as a
> prerequisite.
> - I load an updated #development version of MyProject using the
> MetacelloPreview scripting API and I am denying all project
> upgrades/downgrades/conflicts
> - Everything works as expected but a subsequent (identical) load of
> ConfigurationOfMyProject will fail as follows:
>
> --transcript--'DENIED: a MetacelloAllowProjectDowngrade occurred
> (notification 2741) Metacello (1.0-beta.32.1)->Metacello (1.0-beta.32)'
> --transcript--'Project: Metacello Tools 1.0-beta.32'
> ERROR 2318 , a UserDefinedError occurred (error 2318), reason:halt, Name
> not found: OB-Metacello (UserDefinedError)
>
> What (I think) happens here is this:
> - The Metacello registry says ConfigurationOfMetacello is 1.0-beta.32.1
> from http://seaside.gemstone.com/ss/metacello (only after the first load
> with the MetacelloPreview!)
> - The ConfigurationOfMyProject references GLASS 1.0-beta.9 which
> references the package ‘OB-Metacello’ in Metacello 1.0-beta.32
> - The (loaded) version 1.0-beta.32.1, however, does not have the package
> ‘OB-Metacello’ in its spec.
> - Because I deny all upgrades/downgrades, the loading still tries to find
> ‘OB-Metacello’ in the 1.0-beta.32.1 version of Metacello
>
> I have two solutions:
> - not reference GLASS in ConfigurationOfMyProject until it references the
> latest Metacello (or MetacelloPreview)
> - not use MetacelloPreview (If I revert to using Metacello 1.0-beta.32 and
> I erase the registry, it works again)
>
> I also noticed that if I load my project in a clean image using the
> MetacelloPreview, many more configurations and packages are being loaded
> than using the ‘standard’ Metacello.
> I do all loads using the Metacello scripting api.
>
> Could it be that MetacelloPreview goes on walking the referenced projects
> even if you deny an upgrade? I have that impression… but I will try to
> demonstrate it more.
>
> Johan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Metacello" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to metacello+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140610/61165cd6/attachment.html>
More information about the Glass
mailing list