Hi, 
I traced this back to RTLegendColorItem, that is initialized with "population Color" but that is nil in your  model


Am 17.02.2017 5:09 vorm. schrieb "Hernán Morales Durand" <hernan.morales@gmail.com>:
Hi Alex,

I think this is too deep into Trachel and Athens. I am debugging the TRMorph>>drawOn: method and there is no way I can figure out which one of my Grapher objects should I change its color. The trachelCanvas has 22385 shapes, how they match with my higher-level grapher object?.

However, I "solved it" by lazy initializing TRShape>>color to Color transparent and then adding self color in setPaint:

TRAbstractBoxShape>>drawOn: athensCanvas
    self shouldBeDrawn
        ifFalse: [ ^ self ].
    athensCanvas pathTransform
        restoreAfter: [
            athensCanvas pathTransform
                multiplyBy: matrix asFloatTransform.
            athensCanvas
                setPaint: self color;
                drawShape: self path.
            self drawStrokeIfNecessaryOn: athensCanvas ]


2017-02-16 20:20 GMT-03:00 Alexandre Bergel <alexandre.bergel@me.com>:
Hi Hernán,

I am not able to reproduce your problem since I cannot open your image (I use OSX), and apparently there is a problem with the font. I cannot open a code browser.
However, I suspect that the problem is that a nil value is used as a color.

Check this:

v := RTView new.
shape := RTBox new color: nil.
v add: shape element.
v

Executing this code seems to produce the same error. Maybe you want to add a check on your side?

Cheers,
Alexandre


> On Feb 16, 2017, at 5:30 PM, Hernán Morales Durand <hernan.morales@gmail.com> wrote:
>
> Hi Alex,
>
> I have uploaded an image to dropbox with the expression causing the hang, here is the link:
>
> https://dl.dropboxusercontent.com/u/103833630/BioSmalltalk_img.zip
>
> Cheers,
>
> Hernán
>
>
>
>
>
> 2017-02-16 12:34 GMT-03:00 Alexandre Bergel <alexandre.bergel@me.com>:
> Hi Hernan,
>
> I am not able to import the fuel error. I get the following:
> <Screen Shot 2017-02-16 at 12.33.32 PM.png>
>
> Maybe you can share the image?
> How can I reproduce your error?
>
> Alexandre
>
>> On Feb 15, 2017, at 7:23 PM, Hernán Morales Durand <hernan.morales@gmail.com> wrote:
>>
>> I am using stable branch of Roassal2 in Pharo 5 and Win 8.1 to draw a figure for a paper (but the problem is the same loading the latest versions SmalltalkHub).
>>
>> When trying to open a grapher, I get a yellow-cross red morph window inside #setPaint: . The transparent color passed as argument came from AthensCairoSurface>>clear
>>
>> The same figure used to open without problems some months ago.
>>
>> All the Roassal examples open without problems. That's why here is the link to the fuel out stack with the halt previous to the crash : https://dl.dropboxusercontent.com/u/103833630/Debugger-Stack-AthensCairoCanvas-2017-02-15-192251.zip
>>
>> Is this a well-known bug? Any suggestion?
>>
>> Cheers,
>>
>> Hernán
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev@list.inf.unibe.ch
>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@list.inf.unibe.ch
> https://www.list.inf.unibe.ch/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@list.inf.unibe.ch
> https://www.list.inf.unibe.ch/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev