[Glass] Trying to load ChartJs into GemStone

Paul DeBruicker via Glass glass at lists.gemtalksystems.com
Mon May 7 15:44:01 PDT 2018


Bruno,


I'm not sure.  It looks like the package is in the github repo:


https://github.com/DuneSt/ChartJs/tree/master/src


I'd double check that I changed all the Symbols to Strings and try again. 


and then maybe empty the cache on my disk.....





GLASS mailing list wrote
> Paul,
> 
> After updating the Strings it seems it go through but there is another 
> error:
> a MetacelloPackageSpecResolutionError occurred (error 2710), , Could not 
> resolve: ChartJs-Core [ChartJs-Core] in cache 
> github://DuneSt/ChartJs:master/src
> 
> What can be causing this ? (i do not want the solution only a pointer to
> it)
> 
> regards,
> bruno
> 
> Walkback:
> MetacelloPackageSpecResolutionError (AbstractException) >> _signalWith: 
> @7 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
> MetacelloCypressPackageSpec (MetacelloPackageSpec) >> loadUsing:gofer: 
> @2 line 3
> [] in MetacelloCommonMCSpecLoader >> 
> linearLoadPackageSpecs:repositories: @14 line 6
> OrderedCollection (Collection) >> do: @6 line 10
> MetacelloFetchingMCSpecLoader (MetacelloCommonMCSpecLoader) >> 
> linearLoadPackageSpecs:repositories: @6 line 6
> [] in MetacelloFetchingMCSpecLoader >> 
> linearLoadPackageSpecs:repositories: @8 line 4
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> MetacelloLoaderPolicy >> pushLoadDirective:during: @7 line 7
> MetacelloLoaderPolicy >> pushLinearLoadDirectivesDuring:for: @3 line 3
> MetacelloFetchingMCSpecLoader >> linearLoadPackageSpecs:repositories: @4 
> line 4
> MetacelloFetchingMCSpecLoader (MetacelloCommonMCSpecLoader) >> load @16 
> line 7
> MetacelloMCVersionSpecLoader >> load @14 line 21
> MetacelloMCVersion >> executeLoadFromArray: @10 line 7
> [] in MetacelloMCVersion >> fetchRequiredFromArray: @34 line 11
> [] in MetacelloPlatform >> useStackCacheDuring:defaultDictionary: @14 line
> 9
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> MetacelloGemStonePlatform (MetacelloPlatform) >> 
> useStackCacheDuring:defaultDictionary: @10 line 10
> [] in MetacelloMCVersion >> fetchRequiredFromArray: @30 line 11
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> [] in MetacelloMCVersion >> fetchRequiredFromArray: @22 line 12
> MetacelloGemStonePlatform (MetacelloPlatform) >> do:displaying: @2 line 3
> MetacelloMCVersion >> fetchRequiredFromArray: @18 line 7
> [] in MetacelloMCVersion >> doLoadRequiredFromArray: @28 line 10
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> MetacelloMCVersion >> doLoadRequiredFromArray: @23 line 16
> MetacelloMCVersion >> load @4 line 3
> [] in MetacelloScriptEngine >> load:onProjectDownGrade:onProjectUpgrade: 
> @18 line 15
> 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  @7 line 6
> GsNMethod class >> _gsReturnToC @1 line 1
> 
> 
> El 07/05/2018 a las 16:05, Paul DeBruicker via Glass escribió:
>> 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
>> _______________________________________________
>> Glass mailing list
>> 

> Glass at .gemtalksystems

>> http://lists.gemtalksystems.com/mailman/listinfo/glass
> 
> 
> ---
> El software de antivirus Avast ha analizado este correo electrónico en
> busca de virus.
> https://www.avast.com/antivirus
> 
> _______________________________________________
> 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