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 <tudor(a)tudorgirba.com> 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 <alexandre.bergel(a)me.com>
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, roberto.minelli(a)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(a)usi.ch"
<roberto.minelli(a)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(a)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(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)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(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev