Pharo Goferit results in MessageNotUnderstood: Fil

2019-07-13 04:22发布

问题:

I just installed Pharo5.0 and attempting to go through "Pharo by Example".

When I get to the BouncingAtomsMorph I apply the "Gofer it" fetch provided by MartinW at Error Unknown variable:BouncingAtomsMorph openInWorld please correct or cancel

This results in a MessageNotUnderstood: FileList class>>registerFileReader:

AnimatedImageMorph class  initialize  [:cl | cl registerFileReader: self ]
BlockClosure cull:
SystemDicdtionary(Dictionary) at:ifPresent:
AnimatedImageMorph class initialize
MCMethodDefinition postloadOver:
MCPackageLoader basicLoadDefinitions ....

This list can't be copied by swiping with a mouse, so please excuse typos. (Is there any way to get this list in text format?)

Is Pharo5.0 a stable release? I didn't notice any install problems.

My system is CentOS Linux release 7.2.1511

回答1:

Pharo 5 is a stable release, but the MorphExamplesAndDemos package is no longer updated for the use in Pharo 5.

On the bright side, the error you report is not related to BouncingAtomsMorph but to another example in the package. If the debugger window appears, you can click on Abandon and still use the BouncingAtomMorph by doing:

BouncingAtomsMorph new openInWorld

Probably someone should fix the package, or we should stop mentioning it in Pharo documentation..



标签: centos pharo