Strange. This seems to be related to not using model in the Builder problem. But, I checked, and the code works.
That is weird. Which version of Roassal do you use? Using a Moose image?
Maybe you can share your image?
Cheers,
Alexandre
On Nov 20, 2012, at 5:56 AM, roberto.minelli@usi.ch wrote:
> By the way this thing does not work neither for my code which looks like the following:
> linearFillColor: [:rev | rev lengthOfCommit ] within: (aGitterRepository versions).
>
> Each revision understands #lengthOfCommit but I got the same error..
>
> ROElement(Object)>>doesNotUnderstand: #lengthOfCommit
> Receiver: a ROElement<a GitterRevision>
> Arguments and temporary variables:
> aMessage: lengthOfCommit
> exception: MessageNotUnderstood: ROElement>>lengthOfCommit
> resumeValue: nil
>
> I do not understand why the receiver is a ROElement and not one of my GitterRevision..
>
> I also tried to call [:rev | rev model lengthOfCommit ] but then I got an error saying GitterRevision>>doesNotUnderstand: #model.
>
> Any suggestion?
>
> Cheers,
> Roberto
>
>
>
> On Nov 20, 2012, at 9:45 AM, "roberto.minelli@usi.ch" <roberto.minelli@usi.ch>
> wrote:
>
>> Hi Alexandre,
>>
>> You are actually right… The error raised is a messageNotUnderstood on #linesOfCode. The question is.. Why?
>>
>> However thanks for suggesting me where to look!
>>
>> Cheers,
>> Roberto
>>
>> On Nov 19, 2012, at 6:40 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
>>
>>> Hi Roberto,
>>>
>>>> I'm trying out Roassal to draw the entire revision graph of a Git repository.
>>>
>>> Looks interesting!
>>>
>>>> Looking at the examples, the #tutorial>>step5LinearFillColor is broken (i.e., I got big red rectangle with a yellow diagonals).
>>>
>>> Strange, this example works in my image (I am using the last Moose).
>>>
>>>> Do anyone of you know a solution?
>>>
>>> I guess the following script will be as broken as step5:
>>> -=-=-=-=-=-=-=-=-=-=-=-=
>>> | v |
>>> v := ROMondrianViewBuilder new.
>>> ROMondrianExample new step5LinearFillColorOn: v.
>>> v open
>>> -=-=-=-=-=-=-=-=-=-=-=-=
>>>
>>> If the script above fails, then probably one subclass of Collection does not answer correctly to #linesOfCode
>>> You can verify this with:
>>> -=-=-=-=-=-=-=-=-=-=-=-=
>>> | v |
>>> v := ROMondrianViewBuilder new.
>>> ROMondrianExample new step5LinearFillColorOn: v.
>>> v raw bitmap
>>> -=-=-=-=-=-=-=-=-=-=-=-=
>>>
>>> What is the error raised with this last script
>>>
>>> Cheers,
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> Moose-dev@iam.unibe.ch
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev@iam.unibe.ch
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev