[Glass] Bootstrap package update warning with ConfigurationOfGLASS1

Mariano Martinez Peck via Glass glass at lists.gemtalksystems.com
Thu Feb 12 06:06:02 PST 2015


Hi Dale,

Of course, it was BaselineOfGLASS1, not ConfigurationOfGLASS1. Anyway, I
continue investigating this problem. It might be related to
#reprimeRegistryIssue197

Besides the stack track I attached previously, here I attach the transcript
of the load. These are the last lines:

*Project: XMLSupport 1.2.2*
*Project: SIXX baseline*
*Project: XMLSupport stable [1.2.2]*
*Project: XML-Writer 1.0.5*
*Project: Grease Core 1.0.3*
*Evaluated -> 1.0-alpha2.2 [ConfigurationOfGoferProjectLoader] >>
postLoadLoader*
*Evaluated -> baseline [BaselineOfMetacello] >> reprimeRegistryIssue197*

And that's when the popup halts warning about loading Bootstrap again.

In addition, I made sure to run GsUpgrader upgradeGrease just in case, and
this was the output:


*======================*
*=====Metacello Preview already loaded*
*======================*
*=====Upgrading Metacello*
*Fetched -> BaselineOfMetacello-dkh.85 ---
github://dalehenrich/metacello-work:master/repository [972b098:master] ---
github://dalehenrich/metacello-work:master/repository*
*Loaded -> BaselineOfMetacello-dkh.85 ---
github://dalehenrich/metacello-work:master/repository [972b098:master] ---
github://dalehenrich/metacello-work:master/repository*
*Loading baseline of BaselineOfMetacello...*
*Project: FileTree baseline*
*Project: Gofer stable [1.0.5.1]*
*Evaluated -> baseline [BaselineOfMetacello] >> reprimeRegistryIssue197*
*...finished baseline*
* Migrated 0 instances for 2 classes.*
*======================*
*=====Upgrading Grease*
*Fetched -> BaselineOfGrease-JohanBrichau.7 ---
github://GsDevKit/Grease:master/repository [00a7df6:master] ---
github://GsDevKit/Grease:master/repository*
*Loaded -> BaselineOfGrease-JohanBrichau.7 ---
github://GsDevKit/Grease:master/repository [00a7df6:master] ---
github://GsDevKit/Grease:master/repository*
*Loading baseline of BaselineOfGrease...*
*Project: UTF8 stable*
*Project: Core 0.247*
*Project: XML Parser 1.0.5*
*Warning: LOCK ENFORCED: Attempt to 'load with conflicts' new project:
'ConfigurationOfGrease 1.0.3 from
http://www.squeaksource.com/MetacelloRepository
<http://www.squeaksource.com/MetacelloRepository>' when existing project:
'BaselineOfGrease [baseline] from
github://GsDevKit/Grease:master/repository' is locked. New project not
loaded. Use #onLock: to intercept.*
*Project: XML-Writer 1.0.5*
*Warning: LOCK ENFORCED: Attempt to 'load with conflicts' new project:
'ConfigurationOfGrease 1.0.3 from
http://www.squeaksource.com/MetacelloRepository
<http://www.squeaksource.com/MetacelloRepository>' when existing project:
'BaselineOfGrease [baseline] from
github://GsDevKit/Grease:master/repository' is locked. New project not
loaded. Use #onLock: to intercept.*
*Project: Grease Core 1.0.3*
*Project: UTF8 stable*
*Project: System-Digital-Signatures stable*
*Project: SMTPMail stable*
*Project: System-Digital-Signatures stable*
*Project: SMTPMail stable*
*...finished baseline*
* No instance migrations performed.*


So.... Grease seems indeed locked. So I don't understand why the above
lines "Project: Grease Core 1.0.3" try to load Magritte if I said " onLock:
[:ex | ex honor]; " of my load and also surrounded via a " on:
MetacelloAllowLockedProjectChange do: [ :ex | ex disallow ] ]"
What is funny is that *reprimeRegistryIssue197 *seem to have been executed
in both places (when I tried to load my code and with #updateGrease). With
my app, I got the warning trying to update Bootstrap. With #upgradeMagritte
it said nothing.
I also attach the project and package report from GsUpgrader.

Any idea what could be going on? I may know how to workaround it, but I
wanted to share this in case it's a Metacello bug or something.

Thanks in advance,



On Wed, Feb 11, 2015 at 3:21 PM, Mariano Martinez Peck <
marianopeck at gmail.com> wrote:

> Hi Dale,
>
> Every in a while (i cannot yet understand exactly when), I try to update
> the code of my app via the webinterface (we have a button for that) and I
> get an exception saying:
>
> "
> Warning: You are about to load new versions of the following packages that
> have unsaved changes in the image. If you continue, you will lose these
> changes. Bootstrap
> "
>
> The code I use to update my app is:
>
>
> [ [ [
>
>  Metacello image
>          configuration: 'IAM';
>          version: '1.5';
>   onLock: [:ex | ex honor];
>          load: #('Core' 'DPOFX').
>
>  ]
>     on: MetacelloAllowConflictingProjectUpgrade
>     do: [ :ex | ex defaultAction ] ]
>     on: MetacelloAllowLockedProjectChange
>     do: [ :ex | ex disallow ] ]
>     on: MetacelloNameNotDefinedError
>     do: [ :ex | ex resume ].
>
>
>
> As far as I know, I have already migrated to latest GLASS, Seaside,
> Metacello and Magritte some months ago.
>
> Any idea what could be going on? I also attach the full stack in case this
> helps.
>
> In addition, let me tell you something even stranger. My app
> (ConfigurationOfIAM) loads a package called Bootstrap-Core (which is
> Twitter Framework) this way:
>
>  spec package: 'Bootstrap-Core' with: [
> spec
> requires: #('Seaside');
> repository: 'http://smalltalkhub.com/mc/TorstenBergmann/Bootstrap/main/'
> ].
> (note I am referencing directly the package rather than a project ref..but
> that's another discussion).
>
> I have also noted that sometimes, if I click proceed in the above warning,
> the twitter bootstrap package (Bootstrap-Core) is a bit corrupted...classes
> no longer exists and the extension methods (over WAHtmlCanvas etc...)
> disappear as well...
>
> Considering all the Monticello thingies of packages and subpackages and
> the fact that Bootrstrap-Core is a substring of Bootstrap, that make me
> doubt.
>
> Any thoughts?
>
> Thanks in advance,
>
> --
> Mariano
> http://marianopeck.wordpress.com
>



-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20150212/d64b3804/attachment-0001.html>
-------------- next part --------------

Loading 1.5 of ConfigurationOfIAM...
Project: Seaside 3.1.3
Project: Seaside3 baseline
Project: Swazoo2 stable [2.2.0.6]
Project: Core 0.247
Project: Grease stable
Project: UTF8 stable
Project: Core 0.247
Project: XML Parser 1.0.5
Project: XML-Writer 1.0.5
Project: Grease Core 1.0.3
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: GLASS1 baseline
Project: GoferProjectLoader stable [1.0-alpha2.2]
Project: Gofer Core 1.0.2.1
Project: Gofer stable
Project: Grease baseline
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: Grease-Tests baseline
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: Metacello baseline
Project: FileTree baseline
Project: Gofer stable
Project: XMLSupport stable
Project: XMLSupport-Tests stable [1.2.2]
Project: XML-Writer 1.0.5
Project: Grease Core 1.0.3
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Fetched -> Bootstrap.v3-dkh.241 --- github://glassdb/glass:master/repository [c27f75c:master] --- github://glassdb/glass:master/repository
Fetched -> GsSqueakCommon-Core-dkh.20 --- github://glassdb/glass:master/repository [c27f75c:master] --- github://glassdb/glass:master/repository
Project: Zinc Project stable [2.4.3]
Project: ZincHTTPComponents baseline
Project: GLASS1 baseline
Project: GoferProjectLoader stable
Project: Gofer stable
Project: Grease baseline
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: Grease-Tests baseline
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: Metacello baseline
Project: FileTree baseline
Project: Gofer stable
Project: XMLSupport stable [1.2.2]
Project: XML-Writer 1.0.5
Project: Grease Core 1.0.3
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: XMLSupport-Tests stable [1.2.2]
Project: XML-Writer 1.0.5
Project: Grease Core 1.0.3
Project: GsPharo 0.9.2
Project: Gs SqueakCommon 0.9.4
Project: Grease 1.0.7.1
Project: Grease baseline
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: Grease Core Tests baseline
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: FastCGI Project stable [0.235]
Project: TinyMCE [0.1.0]
Project: Magritte 3.1.4
Project: Grease release1.1
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: Seaside3 release3.1 [3.1.3]
Project: Seaside3 baseline
Project: Swazoo2 stable
Project: GLASS1 baseline
Project: GoferProjectLoader stable
Project: Gofer stable
Project: Grease baseline
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: Grease-Tests baseline
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: Metacello baseline
Project: FileTree baseline
Project: Gofer stable
Project: XMLSupport stable [1.2.2]
Project: XML-Writer 1.0.5
Project: Grease Core 1.0.3
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: XMLSupport-Tests stable [1.2.2]
Project: XML-Writer 1.0.5
Project: Grease Core 1.0.3
Project: Zinc Project stable
Project: Grease baseline
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: Grease Core Tests baseline
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Project: FastCGI Project stable
Project: MockGemStone [1.0]
Project: HighCharts [1.0-baseline]
Project: XMLSupport
Project: XML-Writer 1.0.5
Project: Grease Core 1.0.3
Project: UTF8 stable
Project: System-Digital-Signatures stable
Project: SMTPMail stable
Fetched -> FA-CamSanders.12261 --- http://smalltalkhub.com/mc/Debris/Quuve/main --- http://smalltalkhub.com/mc/Debris/Quuve/main
Fetched -> DP-MarianoMartinezPeck.12295 --- http://smalltalkhub.com/mc/Debris/Quuve/main --- http://smalltalkhub.com/mc/Debris/Quuve/main
Project: XMLSupport 1.2.2
Project: SIXX baseline
Project: XMLSupport stable [1.2.2]
Project: XML-Writer 1.0.5
Project: Grease Core 1.0.3
Evaluated -> 1.0-alpha2.2 [ConfigurationOfGoferProjectLoader] >> postLoadLoader
Evaluated -> baseline [BaselineOfMetacello] >> reprimeRegistryIssue197
-------------- next part --------------
'--------------
PACKAGE REPORT
--------------
Announcements.v3-dkh.18
Base-Bootstrap.v3-dkh.30
BaselineOfFileTree-dkh.4
BaselineOfGLASS1-dkh.43
BaselineOfGrease-JohanBrichau.7
BaselineOfMetacello-dkh.85
BaselineOfSeaside3-JohanBrichau.21
BaselineOfSIXX-dkh.1
BaselineOfZinc-dkh.4
BaselineOfZincHTTPComponents-dkh.2
Blowfish-MarianoMartinezPeck.11
Bootstrap.v3-dkh.240
Bootstrap-Core-TorstenBergmann.52
Change-Notification.v310-dkh.21
Collections-BitmapCharacterSet-JAA.5
Collections-OrderPreservingDictionary.g-JohanBrichau.9
Collections-Support.g-OttoBehrens.45
ConfigurationOfBootstrap-TorstenBergmann.56
ConfigurationOfFileTree-dkh.36
ConfigurationOfGLASS-dkh.223
ConfigurationOfGofer-dkh.36
ConfigurationOfGoferProjectLoader-DaleHenrichs.21
ConfigurationOfGrease-JohanBrichau.281
ConfigurationOfGsCore-dkh.286
ConfigurationOfGsFastCGI-dkh.18
ConfigurationOfGsMisc-dkh.110
ConfigurationOfGsMonticello-dkh.173
ConfigurationOfGsOB-dkh.89
ConfigurationOfGsPharo-dkh.17
ConfigurationOfGsSqueakCommon-dkh.23
ConfigurationOfHighchartsSt-MarianoMartinezPeck.6
ConfigurationOfIAM-MarianoMartinezPeck.83
ConfigurationOfMagritte3-DiegoLont.97
ConfigurationOfMetacello-dkh.796
ConfigurationOfMetacelloPreview-dkh.49
ConfigurationOfMockGemStone-PaulDeBruicker.6
ConfigurationOfSeaside3-JohanBrichau.202
ConfigurationOfSwazoo2-JohanBrichau.58
ConfigurationOfTinyMCE-TorstenBergmann.3
ConfigurationOfXMLSupport-PaulDeBruicker.71
ConfigurationOfXMLWriter-StephaneDucasse.21
ConfigurationOfZincHTTPComponents-SvenVanCaekenberghe.75
Core.v3-dkh.90
Core31x-dkh.5
DP-MarianoMartinezPeck.12292
DpGemStoneQueries-MarianoMartinezPeck.2
DPOFX-MarianoMartinezPeck.138
EncryptionUtilsExternal-MarianoMartinezPeck.1
FA-MarianoMartinezPeck.12259
FACompatibility-CamSanders.24
FAGemStoneCompatibility-MarianoMartinezPeck.58
FAGemStonePersistency-MarianoMartinezPeck.24
FastCGI-dkh.33
FastCGIPool-dkh.2
FontAwesome-Core-TorstenBergmann.3
GemStone-ANSI-Streams-dkh.12
GemStone-Compression-dkh.7
GemStone-Deployment.v310-dkh.26
GemStone-Indexing-Extensions-dkh.4
GemStone-Interactions-dkh.12
GemStone-Release-Support-dkh.67

Gofer-Core.gemstone-dkh.135
GoferProjectLoader-DaleHenrichs.25
Grease-Core-JohanBrichau.94
Grease-GemStone-Core-JohanBrichau.55
Grease-GemStone300-Core-JohanBrichau.5
Grease-Tests-Core-pmm.99
Grease-Tests-GemStone-Core-dkh.14
GsPharo-Core-JohanBrichau.15
GsPharo-Tests-MarianoMartinezPeck.10
GsSqueakCommon-Core-dkh.20
GsSqueakCommon-Core.3x-dkh.4
GsSqueakCommon-CoreV30-dkh.1
GsSqueakCommon-Tests-dkh.2
GsUpgrader-Core-dkh.38
HighchartsStAutoGenerated-MarianoMartinezPeck.3
HighchartsStAutoGeneratedTests-MarianoMartinezPeck.1
HighchartsStCore-MarianoMartinezPeck.11
HighchartsStExamples-MaximilianoTabacman.4
HighchartsStExtensions-MaximilianoTabacman.3
JadeServer-dkh.13
Javascript-Core-pmm.97
Javascript-GemStone-Core-dkh.5
Javascript-Tests-Core-pmm.71
JQuery-Core-JohanBrichau.132
JQuery-JSON-JohanBrichau.3
JQuery-Tests-Core-JohanBrichau.141
JQuery-Tests-UI-JohanBrichau.86
JQuery-UI-JohanBrichau.91
Magritte-GemStone-Model-NickAger.3
Magritte-GemStone-Seaside-DaleHenrichs.2
Magritte-Model-DiegoLont.450
Magritte-Seaside-DiegoLont.357
Magritte-Tests-GemStone-Model-DaleHenrichs.1
Magritte-Tests-Model-DiegoLont.38
Metacello-Base-topa.124
Metacello-Bitbucket-dkh.5
Metacello-Core-dkh.806
Metacello-FileTree-dkh.36
Metacello-GitBasedRepository-dkh.13
Metacello-GitHub-dkh.44
Metacello-GS3x-Platform-dkh.1
Metacello-MC-dkh.722
Metacello-Platform.gemstone-dkh.56
Metacello-ToolBox-dkh.139
MockGemStone.g-NorbertHartl.3
Monticello.v3-dkh.476
MonticelloFileTree-Core-dkh.183
MonticelloFileTree-FileDirectory-Utilities-dkh.15
MonticelloGs-dkh.2
Multilingual-TextConversion-MarianoMartinezPeck.18
OB-GemStone-Platform-dkh.76
OB-Metacello-dkh.83
OB-Monticello-dkh.105
OB-Standard.v3-dkh.449
OB-SUnitGUI.g-dkh.61
OB-SUnitIntegration-dkh.10
OB-SymbolListBrowser-DaleHenrichs.4
OB-Tools.v3-dkh.140
OFX-MarianoMartinezPeck.103
OFXTests-MarianoMartinezPeck.28
OmniBrowser-DaleHenrichs.447
PackageInfo-Base.g-dkh.36
Prototype-Core-pmm.29
Prototype-Tests-Core-pmm.17
Regex-Core-DaleHenrichs.3
Regex-Tests-Core-DaleHenrichs.5
RSS-Core-pmm.70
RSS-Examples-pmm.27
RSS-Tests-Core-lr.30
Scriptaculous-Components-pmm.114
Scriptaculous-Core-pmm.105
Scriptaculous-Tests-Components-pmm.42
Scriptaculous-Tests-Core-pmm.63
Seaside-Adaptors-FastCGI-dkh.26
Seaside-Adaptors-Swazoo-pmm.45
Seaside-Canvas-pmm.130
Seaside-Component-pmm.102
Seaside-Core.gemstone-JohanBrichau.818
Seaside-Development-pmm.165
Seaside-Email-pmm.26
Seaside-Environment.gemstone-dkh.81
Seaside-Examples-pmm.24
Seaside-FileSystem-JohanBrichau.28
Seaside-Flow-pmm.25
Seaside-GemStone-Adaptors-Swazoo-dkh.5
Seaside-GemStone-Adaptors-Zinc-JohanBrichau.7
Seaside-GemStone-Basic-Development-JohanBrichau.29
Seaside-GemStone-Continuation-DaleHenrichs.20
Seaside-GemStone-Core-dkh.67
Seaside-GemStone-Development-dkh.29
Seaside-GemStone-Email-JohanBrichau.14
Seaside-GemStone-Environment-dkh.12
Seaside-GemStone-Flow-dkh.12
Seaside-GemStone-JSON-Core-JohanBrichau.2
Seaside-GemStone-Session-DaleHenrichs.3
Seaside-GemStone-Tools-OmniBrowser-DaleHenrichs.4
Seaside-GemStone-Tools-Production-dkh.21
Seaside-GemStone-Tools-Web-DaleHenrichs.4
Seaside-GemStone-Welcome-DaleHenrichs.1
Seaside-GemStone300-Core-dkh.5
Seaside-HTML5-pmm.28
Seaside-InternetExplorer-pmm.8
Seaside-JSON-Core-DiegoLont.31
Seaside-RenderLoop-pmm.96
Seaside-Session.gemstone-JohanBrichau.169
Seaside-Swazoo-pmm.20
Seaside-Tests-Canvas-pmm.64
Seaside-Tests-Component-pmm.36
Seaside-Tests-Core-dkh.280
Seaside-Tests-Development-pmm.45
Seaside-Tests-Email-JohanBrichau.23
Seaside-Tests-Environment-pmm.30
Seaside-Tests-Examples-pmm.11
Seaside-Tests-FileSystem-JohanBrichau.15
Seaside-Tests-Flow-pmm.37
Seaside-Tests-Functional-pmm.162
Seaside-Tests-GemStone-Continuation-DaleHenrichs.12
Seaside-Tests-GemStone-Core-dkh.15
Seaside-Tests-GemStone-Development-DaleHenrichs.4
Seaside-Tests-GemStone-Flow-dkh.4
Seaside-Tests-GemStone-Functional-dkh.12
Seaside-Tests-HTML5-pmm.28
Seaside-Tests-InternetExplorer-pmm.10
Seaside-Tests-RenderLoop-JohanBrichau.14
Seaside-Tests-Session-pmm.73
Seaside-Tests-Tools-Web-pmm.23
Seaside-Tests-UTF8-pmm.16
Seaside-Tests-Welcome-lr.6
Seaside-Tools-Core.gemstone-dkh.23
Seaside-Tools-OmniBrowser-lr.25
Seaside-Tools-Web-pmm.121
Seaside-Welcome-pmm.47
Seaside-Widgets-StephanEggermont.35
SIXX.310-dkh.183
SMTPMail-dkh.11
SocketStream-dkh.16
SplitPasswordStore-MarianoMartinezPeck.4
Sport3.010.v3-dkh.32
Squeak.v3-dkh.309
Swazoo-2.2.gemstone-dkh.35
System-Digital-Signatures-dkh.5
TinyMCE-Core-TorstenBergmann.1
TinyMCE-Examples-TorstenBergmann.2
Utf8Encoding.310-dkh.32
XML-Observable-JohanBrichau.1
XML-Parser.g-NorbertHartl.119
XML-Tests-Parser-JAA.14
XML-Writer-JAAyer.5
Zinc-Character-Encoding-Core-dkh.46
Zinc-Character-Encoding-GS-Tests-dkh.1
Zinc-Character-Encoding-GS3-Tests-dkh.1
Zinc-Character-Encoding-Tests-dkh.22
Zinc-FileSystem-Legacy-dkh.6
Zinc-HTTP-dkh.388
Zinc-Resource-Meta-Core-JohanBrichau.18
Zinc-Resource-Meta-Tests-SvenVanCaekenberghe.10
Zinc-Seaside-SvenVanCaekenberghe.41
Zinc-Tests-dkh.206
'
-------------- next part --------------
'-----------------------------
Metacello Registration REPORT
-----------------------------
Bootstrap 0.4.0 [release]
FileTree 7083b98 [gemstone2.4]
GLASS 0.231 [beta]
|GLASS1| c27f75c [master]
Gofer 1.0.5.1 [release]
GoferProjectLoader 1.0-alpha2.2 [development]
|Grease| 00a7df6 [master]
GsCore 0.247 [release]
GsFastCGI 0.235 [release]
GsMisc 0.242 [release]
GsMonticello 0.244.2 [release]
GsOB 0.242.1 [release]
GsPharo 0.9.2 [development]
GsSqueakCommon 0.9.4 [development]
HighchartsSt 1.0-baseline [baseline]
IAM 1.5 [development]
Magritte3 3.1.4 [release]
Metacello 972b098 [master]
MockGemStone 1.0 [release]
Seaside3 3.1.3 [stable]
SIXX 498b385 [master]
Swazoo2 2.2.0.6 [release]
TinyMCE 0.1.0 [stable]
XMLSupport 1.2.2 [development]
XMLWriter 1.0.5 [release]
Zinc a304216 [gemstone3.1]
ZincHTTPComponents 2.4.3 [release]
'


More information about the Glass mailing list