Ah, versions incompatibility again :-( I’m not really happy with having to load a specific version of X to be able to get the default version of Y to work. I have a workaround right now which is to implement the missing message (doing nothing), so I guess that’s OK for me for now.
A more fundamental problem, to me, is why is PetitParser loading Glamour? Is this for the classes in the PetitGUI package? It should be possible to re-implement them using Spec and then there’d be one dependency less. I can have a look at that somewhere this month if you guys would be willing to integrate the results.
On Jan 6, 2015, at 10:41, Tudor Girba tudor@tudorgirba.com wrote:
Hi,
I did not have time to look into it, but I think this is because PetitParser loads a newer version of GlamourCore than the version of Spotter that is integrated.
In fact, in order to load the latest Moose, I use the following preamble-script: Gofer new smalltalkhubUser: 'Moose' project: 'GToolkit'; package: 'ConfigurationOfGTSpotter'; package: 'ConfigurationOfGTPlayground'; package: 'ConfigurationOfGTInspector'; package: 'ConfigurationOfGTInspectorCore'; package: 'ConfigurationOfGTPlaygroundCore'; load. Gofer new smalltalkhubUser: 'Moose' project: 'Glamour'; package: 'ConfigurationOfGlamourCore'; load.
You could try to use that before loading PetitParser.
Cheers, Doru
On Tue, Jan 6, 2015 at 2:07 PM, Johan Fabry jfabry@dcc.uchile.cl wrote: Hi all,
I am moving Live Robot Programming to Pharo 4, and I found an issue when loading PetitParser. Some fonts are changed (I guess) and this breaks rendering of text.
To reproduce: in the current build open a playgound and do:
Gofer it smalltalkhubUser: ‘Moose' project: ‘PetitParser'; configuration; loadDevelopment
when everything is loaded, the playground text area changes to the red crossed error morph. (DNU: GLMBrickRenderer class>>render:on:) Opening a new playground and new browser goes OK. But when I open the Spotter and start typing all results are the red error morph (DNU: AthensCairoCanvas>>#line:to:width:color:)
Can this be looked at, or can you tell me how I can at least fix the spotter while this is looked at?
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Every thing has its own flow" _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile