linearFillColor

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

linearFillColor

roberto.minelli@usi.ch
Hi,

I'm trying out Roassal to draw the entire revision graph of a Git repository.

Looking at the examples, the #tutorial>>step5LinearFillColor is broken (i.e., I got big red rectangle with a yellow diagonals).

Do anyone of you know a solution?

Cheers,
Roberto Minelli
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: linearFillColor

abergel
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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: linearFillColor

roberto.minelli@usi.ch
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 <[hidden email]> 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
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: linearFillColor

Fabrizio Perin-3
Hi roberto,
do you have access to the code from the image? LoC are computed
directly on the source code if I remember correctly so It might be
that one the problem.

Cheers,
fabrizio

2012/11/20 [hidden email] <[hidden email]>:

> 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 <[hidden email]> 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
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: linearFillColor

roberto.minelli@usi.ch
In reply to this post by roberto.minelli@usi.ch
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, "[hidden email]" <[hidden email]>
 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 <[hidden email]> 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
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: linearFillColor

roberto.minelli@usi.ch
In reply to this post by Fabrizio Perin-3
Hi Fabrizio,

By the way I think the problem is not only on LOC… I tried with my own piece of code and it does not work either.

The point is that the receiver of the message is a ROElement(Object) and not the Object itself.

Why is this the case?

Cheers,
Roberto

On Nov 20, 2012, at 9:55 AM, Fabrizio Perin <[hidden email]>
 wrote:

> Hi roberto,
> do you have access to the code from the image? LoC are computed
> directly on the source code if I remember correctly so It might be
> that one the problem.
>
> Cheers,
> fabrizio
>
> 2012/11/20 [hidden email] <[hidden email]>:
>> 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 <[hidden email]> 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
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: linearFillColor

vpena
Hi,

Can you check the method ROMondrianViewBuilder>>linearFillColor:within: in your image, please?

The last line should say something like:

shape color: [ :v | Color gray256: 256 - ((block roValue: v model) max: max in: (1 to: 256)) ]

Thanks,
Vanessa.

On 11/20/2012 06:10 AM, [hidden email] wrote:
Hi Fabrizio,

By the way I think the problem is not only on LOC… I tried with my own piece of code and it does not work either.

The point is that the receiver of the message is a ROElement(Object) and not the Object itself.

Why is this the case?

Cheers,
Roberto

On Nov 20, 2012, at 9:55 AM, Fabrizio Perin [hidden email]
 wrote:

Hi roberto,
do you have access to the code from the image? LoC are computed
directly on the source code if I remember correctly so It might be
that one the problem.

Cheers,
fabrizio

2012/11/20 [hidden email] [hidden email]:
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 [hidden email] 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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: linearFillColor

abergel
In reply to this post by roberto.minelli@usi.ch
Which version of Pharo do you use?
There is no #numberOfLinesOfCode as well?

Alexandre


On Nov 20, 2012, at 5:45 AM, [hidden email] 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 <[hidden email]> 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
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: linearFillColor

abergel
In reply to this post by roberto.minelli@usi.ch
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, [hidden email] 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, "[hidden email]" <[hidden email]>
> 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 <[hidden email]> 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
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: linearFillColor

Tudor Girba-2
Strange. This seems to be related to not using model in the Builder problem. But, I checked, and the code works.

@Roberto: please always provide code snippets. It makes debugging much faster.

Btw, you see how quickly can responses come if questions are asked? (Thanks Alex and Vanessa) :)

Cheers,
Doru



On Tue, Nov 20, 2012 at 12:58 PM, Alexandre Bergel <[hidden email]> wrote:
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, [hidden email] 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, "[hidden email]" <[hidden email]>
> 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 <[hidden email]> 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
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: linearFillColor

roberto.minelli@usi.ch
Hi,

Thanks for answering… And let's recap..

I was using a moose image downloaded a couple of days ago, and the linearFillColor:within: message does not call model on v.
Now, I downloaded a fresh Moose image and that message looks as Vanessa said.

By the way, I already solved the problem by doing some hacks. Now I'll try importing my code in the new image to see if it works as it should.

Is there any way of "automatically uptate" all the packages in the current image or should I do it manually? And, my current work depends on a couple of external packages such as Git-Filesystem. Is there a way to specify such dependencies so that once I check out my project in a fresh image from Monticello I got all the dependencies? I should probably ask Pharo-project mailing list, but any help would be appreciated. Thanks.

Cheers,
Roberto


On Nov 20, 2012, at 1:23 PM, Tudor Girba <[hidden email]> wrote:

> Strange. This seems to be related to not using model in the Builder problem. But, I checked, and the code works.
>
> @Roberto: please always provide code snippets. It makes debugging much faster.
>
> Btw, you see how quickly can responses come if questions are asked? (Thanks Alex and Vanessa) :)
>
> Cheers,
> Doru
>
>
>
> On Tue, Nov 20, 2012 at 12:58 PM, Alexandre Bergel <[hidden email]> wrote:
> 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, [hidden email] 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, "[hidden email]" <[hidden email]>
> > 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 <[hidden email]> 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
> >>> [hidden email]
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: linearFillColor

Tudor Girba-2
Use Metacello.

In your case, you should give your project a name, store it on smalltalkhub, and create a configuration for it. As an example, you can take a look at ConfigurationOfGlamour.

Mariano wrote a nice explanation of how he handles his images like that:


Cheers,
Doru


On Tue, Nov 20, 2012 at 2:06 PM, [hidden email] <[hidden email]> wrote:
Hi,

Thanks for answering… And let's recap..

I was using a moose image downloaded a couple of days ago, and the linearFillColor:within: message does not call model on v.
Now, I downloaded a fresh Moose image and that message looks as Vanessa said.

By the way, I already solved the problem by doing some hacks. Now I'll try importing my code in the new image to see if it works as it should.

Is there any way of "automatically uptate" all the packages in the current image or should I do it manually? And, my current work depends on a couple of external packages such as Git-Filesystem. Is there a way to specify such dependencies so that once I check out my project in a fresh image from Monticello I got all the dependencies? I should probably ask Pharo-project mailing list, but any help would be appreciated. Thanks.

Cheers,
Roberto


On Nov 20, 2012, at 1:23 PM, Tudor Girba <[hidden email]> wrote:

> Strange. This seems to be related to not using model in the Builder problem. But, I checked, and the code works.
>
> @Roberto: please always provide code snippets. It makes debugging much faster.
>
> Btw, you see how quickly can responses come if questions are asked? (Thanks Alex and Vanessa) :)
>
> Cheers,
> Doru
>
>
>
> On Tue, Nov 20, 2012 at 12:58 PM, Alexandre Bergel <[hidden email]> wrote:
> 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, [hidden email] 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, "[hidden email]" <[hidden email]>
> > 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 <[hidden email]> 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
> >>> [hidden email]
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev