[Glass] Trying to load ChartJs into GemStone

Paul DeBruicker via Glass glass at lists.gemtalksystems.com
Mon May 7 12:05:45 PDT 2018


on Pharo and Squeak treat

'MyString' = #MyString


returns true and on GemStone it returns false


In the BaselineOfChartJS>>#baseline: method change these symbols to strings:


#'ChartJs-Core'
#'ChartJs-Library' 
#'ChartJs-Demo' 
#'ChartJs-Core-Tests'

And try to load it again.  



Metacello does not provide

#seaside: 
#stylesheet: 
#neoJSON: 
#prism: 


they are included in and used by the BaselineOfChartJs class.  


I think if you fix the symbols that should be strings problem in each
BaselineOf/ConfigurationOf BaselineOfChartJs relies on it will load.  But I
haven't tried it.





GLASS mailing list wrote
> Hi,
> 
> I'm trying to install ChartJs into GemStone with:
> 
>  Metacello new
>         githubUser: 'DuneSt' project: 'ChartJs' commitish: 'master' path:
> 'src';
>         baseline: 'ChartJs';
>         onUpgrade: [ :e | e useIncoming ];
>         onWarningLog;
>         load.
> 
> But i got a walkback (see below). Also i tried:
> MetacelloCommonMCSpecLoader retryPackageResolution: false.
> But same result.
> 
> Maybe this package has some Pharo dependencies not solved in GemStone.
> 
> Any idea of the root of the problem ? Or maybe i should ask to author of
> this package.
> 
> Regards,
> Bruno
> 
> 
> MetacelloPackageSpecResolutionError (AbstractException) >> _signalWith: @6
> line 25
> MetacelloPackageSpecResolutionError (AbstractException) >> signal @2 line
> 47
> MetacelloPackageSpecResolutionError >> signal @4 line 5
> MetacelloFetchingMCSpecLoader (MetacelloCommonMCSpecLoader) >>
> retryingResolvePackageSpecReferences:gofer: @32 line 39
> [] in MetacelloFetchingMCSpecLoader >> linearLoadPackageSpec:gofer: @12
> line
> 21
> MetacelloGemStonePlatform (MetacelloPlatform) >> do:displaying: @2 line 3
> MetacelloFetchingMCSpecLoader >> linearLoadPackageSpec:gofer: @6 line 3
> MetacelloPackageSpec >> loadUsing:gofer: @2 line 3
> [] in MetacelloCommonMCSpecLoader >> linearLoadPackageSpecs:repositories:
> @14 line 6
> Array (Collection) >> do: @6 line 10
> MetacelloFetchingMCSpecLoader (MetacelloCommonMCSpecLoader) >>
> linearLoadPackageSpecs:repositories: @6 line 6
> [] in MetacelloFetchingMCSpecLoader >>
> explicitLoadPackageSpecs:repositories: @11 line 5
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> MetacelloLoaderPolicy >> pushLoadDirective:during: @7 line 7
> MetacelloLoaderPolicy >> pushExplicitLoadDirectivesDuring:for: @5 line 5
> MetacelloFetchingMCSpecLoader >> explicitLoadPackageSpecs:repositories: @4
> line 5
> MetacelloPackageSpec >> explicitLoadUsing: @25 line 14
> MetacelloPackageSpec >> load @3 line 3
> [] in MetacelloScriptEngine >> getBaselineUnconditionalLoad: @23 line 10
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> MetacelloScriptEngine >> getBaselineUnconditionalLoad: @10 line 11
> MetacelloScriptEngine >> getBaselineProjectUnconditionalLoad: @3 line 3
> MetacelloMCBaselineProject >> projectForScriptEngine:unconditionalLoad: @2
> line 5
> MetacelloMCBaselineProject (MetacelloProject) >> projectForScriptEngine:
> @2
> line 2
> MetacelloMCBaselineOfProjectSpec (MetacelloMCProjectSpec) >>
> versionForScriptEngine: @8 line 4
> [] in MetacelloScriptEngine >> load:onProjectDownGrade:onProjectUpgrade:
> @14
> line 11
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in MetacelloScriptEngine >> handleNotificationsForAction: @21 line 6
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in MetacelloScriptEngine >> handleNotificationsForAction: @13 line 14
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in MetacelloScriptEngine >> handleNotificationsForAction: @7 line 20
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> MetacelloScriptEngine >> handleNotificationsForAction: @3 line 24
> [] in MetacelloScriptEngine >> load:onProjectDownGrade:onProjectUpgrade:
> @7
> line 5
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> MetacelloProjectRegistration class >> copyRegistryRestoreOnErrorWhile: @9
> line 14
> MetacelloScriptEngine >> load:onProjectDownGrade:onProjectUpgrade: @3 line
> 3
> MetacelloScriptEngine >> load: @2 line 3
> MetacelloScriptEngine (Object) >> perform:withArguments: @1 line 1
> [] in MetacelloScriptExecutor >> execute: @39 line 15
> [] in MetacelloScriptApiExecutor >> executeString:do: @14 line 6
> Array (Collection) >> do: @6 line 10
> MetacelloScriptApiExecutor >> executeString:do: @7 line 4
> String >> execute:against: @2 line 2
> MetacelloScriptApiExecutor (MetacelloScriptExecutor) >> execute: @7 line 9
> Metacello >> execute:args: @9 line 5
> Metacello >> load @2 line 2
> Executed Code  @8 line 7
> GsNMethod class >> _gsReturnToC @1 line 1
> 
> 
> 
> 
> --
> Sent from: http://forum.world.st/GLASS-f1460844.html
> _______________________________________________
> Glass mailing list

> Glass at .gemtalksystems

> http://lists.gemtalksystems.com/mailman/listinfo/glass





--
Sent from: http://forum.world.st/GLASS-f1460844.html


More information about the Glass mailing list