[Glass] Load Metacello configuration from local disk

Dale Henrichs dale.henrichs at gemtalksystems.com
Thu Feb 20 11:17:23 PST 2020


The usual source of `Reading a number failed` errors is a partial 
download of an mcz file ... since Metacello does multiple retries before 
reporting the error, it would be useful to see the Transcript output 
leading up to the error and I would expect to see several retry failures 
with a little more information and context ..

Depending upon the mcz file being downloaded (the Transcript should have 
that information) a retry should work ...

Dale


On 2/20/20 6:25 AM, BrunoBB via Glass wrote:
> Here is the complete Stack:
> MetacelloPackageSpecResolutionError (AbstractException) >> _signalWith: @5
> line 25
> MetacelloPackageSpecResolutionError (AbstractException) >> signal @2 line 47
> MetacelloPackageSpecResolutionError >> signal @4 line 5
> MetacelloFetchingMCSpecLoader (MetacelloCommonMCSpecLoader) >>
> retryingResolvePackageSpecReferences:gofer: @31 line 39
> [] in MetacelloFetchingMCSpecLoader >> linearLoadPackageSpec:gofer: @11 line
> 21
> MetacelloGemStonePlatform (MetacelloPlatform) >> do:displaying: @2 line 3
> MetacelloFetchingMCSpecLoader >> linearLoadPackageSpec:gofer: @5 line 3
> MetacelloPackageSpec >> loadUsing:gofer: @2 line 3
> [] in MetacelloCommonMCSpecLoader >> linearLoadPackageSpecs:repositories:
> @13 line 6
> Array (Collection) >> do: @5 line 10
> MetacelloFetchingMCSpecLoader (MetacelloCommonMCSpecLoader) >>
> linearLoadPackageSpecs:repositories: @5 line 6
> [] in MetacelloFetchingMCSpecLoader >>
> explicitLoadPackageSpecs:repositories: @10 line 5
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> MetacelloLoaderPolicy >> pushLoadDirective:during: @6 line 7
> MetacelloLoaderPolicy >> pushExplicitLoadDirectivesDuring:for: @4 line 5
> MetacelloFetchingMCSpecLoader >> explicitLoadPackageSpecs:repositories: @3
> line 5
> MetacelloPackageSpec >> explicitLoadUsing: @24 line 14
> MetacelloPackageSpec >> load @3 line 3
> [] in MetacelloScriptEngine >> getBaselineUnconditionalLoad: @22 line 10
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> MetacelloScriptEngine >> getBaselineUnconditionalLoad: @9 line 11
> MetacelloScriptEngine >> getBaselineProjectUnconditionalLoad: @2 line 3
> MetacelloMCBaselineProject >> projectForScriptEngine:unconditionalLoad: @2
> line 5
> MetacelloMCBaselineProject (MetacelloProject) >> projectForScriptEngine: @2
> line 2
> MetacelloMCBaselineOfProjectSpec (MetacelloMCProjectSpec) >>
> versionForScriptEngine: @7 line 4
> [] in MetacelloScriptEngine >> load:onProjectDownGrade:onProjectUpgrade: @13
> line 11
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in MetacelloScriptEngine >> handleNotificationsForAction: @20 line 6
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in MetacelloScriptEngine >> handleNotificationsForAction: @12 line 14
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in MetacelloScriptEngine >> handleNotificationsForAction: @6 line 20
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> MetacelloScriptEngine >> handleNotificationsForAction: @2 line 24
> [] in MetacelloScriptEngine >> load:onProjectDownGrade:onProjectUpgrade: @6
> line 5
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> MetacelloProjectRegistration class >> copyRegistryRestoreOnErrorWhile: @8
> line 14
> MetacelloScriptEngine >> load:onProjectDownGrade:onProjectUpgrade: @2 line 3
> MetacelloScriptEngine >> load: @2 line 3
> MetacelloScriptEngine (Object) >> perform:withArguments: @1 line 12
> [] in MetacelloScriptExecutor >> execute: @40 line 15
> [] in MetacelloScriptApiExecutor >> executeString:do: @13 line 6
> Array (Collection) >> do: @5 line 10
> MetacelloScriptApiExecutor >> executeString:do: @6 line 4
> String >> execute:against: @2 line 2
> MetacelloScriptApiExecutor (MetacelloScriptExecutor) >> execute: @6 line 9
> Metacello >> execute:args: @8 line 5
> Metacello >> load @2 line 2
> [] in Executed Code  @10 line 7
> [] in GsDeployer >> deploy: @21 line 8
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in GsDeployer >> deploy: @7 line 9
> [] in MCPlatformSupport class >> commitOnAlmostOutOfMemoryDuring: @11 line 7
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> MCPlatformSupport class >> commitOnAlmostOutOfMemoryDuring: @6 line 8
> [] in GsDeployer >> mcPlatformSupportDo: @13 line 11
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> GsDeployer >> mcPlatformSupportDo: @9 line 12
> GsDeployer >> deploy: @2 line 3
> GsDeployer class >> autoMigrate: @4 line 13
> GsDeployer class >> deploy: @2 line 12
> Executed Code  @2 line 1
> GsNMethod class >> _gsReturnToC @1 line 11
>
>
>
>
> --
> Sent from: http://forum.world.st/GLASS-f1460844.html
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/glass


More information about the Glass mailing list