Charter problem in the last version of MOOSE

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

Charter problem in the last version of MOOSE

SergeStinckwich
In the last version of MOOSE (#3266), there is a problem with Charter graphs.
When you try the Charter examples in the Roassal GT examples menu, the
image completely freeze ...

--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Charter problem in the last version of MOOSE

Tudor Girba-2
All examples or some in particular?

Doru

On Mon, Nov 24, 2014 at 7:44 PM, Serge Stinckwich <[hidden email]> wrote:
In the last version of MOOSE (#3266), there is a problem with Charter graphs.
When you try the Charter examples in the Roassal GT examples menu, the
image completely freeze ...

--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
_______________________________________________
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: Charter problem in the last version of MOOSE

SergeStinckwich
Try : RTGrapherBuilder new example02

On Mon, Nov 24, 2014 at 7:50 PM, Tudor Girba <[hidden email]> wrote:

> All examples or some in particular?
>
> Doru
>
> On Mon, Nov 24, 2014 at 7:44 PM, Serge Stinckwich
> <[hidden email]> wrote:
>>
>> In the last version of MOOSE (#3266), there is a problem with Charter
>> graphs.
>> When you try the Charter examples in the Roassal GT examples menu, the
>> image completely freeze ...
>>
>> --
>> Serge Stinckwich
>> UCBN & UMI UMMISCO 209 (IRD/UPMC)
>> Every DSL ends up being Smalltalk
>> http://www.doesnotunderstand.org/
>> _______________________________________________
>> 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
>



--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Charter problem in the last version of MOOSE

Nicolai Hess
2014-11-24 19:58 GMT+01:00 Serge Stinckwich <[hidden email]>:
Try : RTGrapherBuilder new example02

On Mon, Nov 24, 2014 at 7:50 PM, Tudor Girba <[hidden email]> wrote:
> All examples or some in particular?
>
> Doru
>
> On Mon, Nov 24, 2014 at 7:44 PM, Serge Stinckwich
> <[hidden email]> wrote:
>>
>> In the last version of MOOSE (#3266), there is a problem with Charter
>> graphs.
>> When you try the Charter examples in the Roassal GT examples menu, the
>> image completely freeze ...
>>
>> --
>> Serge Stinckwich
>> UCBN & UMI UMMISCO 209 (IRD/UPMC)
>> Every DSL ends up being Smalltalk
>> http://www.doesnotunderstand.org/
>> _______________________________________________
>> 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
>



--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


It is a divide by zero in TRBoxShape>>#includesPoint:
the method used for the inverseTransform does not work for rotations +/-90 degrees.
What I couldn't find out is, why the error isn't raised, instead the debuglog is full of :

THERE_BE_DRAGONS_HERE
ZeroDivide
24 November 2014 9:21:41.388582 pm

VM: Win32 - IX86 - 6.1 - NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.21 uuid: 4d9b9bdf-2dfa-4c0b-99eb-5b110dadc697 Nov  6 2014
NBCogit NativeBoost-CogPlugin-EstebanLorenzano.21 uuid: 4d9b9bdf-2dfa-4c0b-99eb-5b110dadc697 Nov  6 2014
https://github.com/pharo-project/pharo-vm.git Commit: 27d505ceffde98d854ed887903a2a94908637a49 Date: 2014-11-04 12:04:48 +0100 By: Esteban Lorenzano <[hidden email]> Jenkins build #14875

Image: Pharo3.0 [Latest update: #30860]

Float>>/
    Receiver: 0.0
    Arguments and temporary variables:
        aNumber:     0.0
    Receiver's instance variables:
0.0

AthensAffineTransform>>inverseTransform:
    Receiver: an AthensAffineTransform
    Arguments and temporary variables:
        aPoint:     (65.763498650135@ -313.988601139886)
        px:     65.763498650135
        py:     -313.988601139886
        y0:     1.7634986501350056
        x0:     nil
    Receiver's instance variables:
        sx:     0.0
        shx:     1.0
        x:     64
        shy:     -1.0
        sy:     0.0
        y:     0




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

Re: Charter problem in the last version of MOOSE

abergel
In reply to this post by SergeStinckwich
Yes, I have noticed this. This is now fixed!

Alexandre


> On Nov 24, 2014, at 2:44 PM, Serge Stinckwich <[hidden email]> wrote:
>
> In the last version of MOOSE (#3266), there is a problem with Charter graphs.
> When you try the Charter examples in the Roassal GT examples menu, the
> image completely freeze ...
>
> --
> Serge Stinckwich
> UCBN & UMI UMMISCO 209 (IRD/UPMC)
> Every DSL ends up being Smalltalk
> http://www.doesnotunderstand.org/
> _______________________________________________
> 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: Charter problem in the last version of MOOSE

Nicolai Hess
2014-11-25 1:48 GMT+01:00 Alexandre Bergel <[hidden email]>:
Yes, I have noticed this. This is now fixed!

Alexandre


> On Nov 24, 2014, at 2:44 PM, Serge Stinckwich <[hidden email]> wrote:
>
> In the last version of MOOSE (#3266), there is a problem with Charter graphs.
> When you try the Charter examples in the Roassal GT examples menu, the
> image completely freeze ...
>
> --
> Serge Stinckwich
> UCBN & UMI UMMISCO 209 (IRD/UPMC)
> Every DSL ends up being Smalltalk
> http://www.doesnotunderstand.org/
> _______________________________________________
> 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


what did you fix ? The use  of the matrix transform in TRBoxShape or the implementation?

And do you now why the exception "ZeroDivide" does not raise the debugger?


regards
Nicolai


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

Re: Charter problem in the last version of MOOSE

SergeStinckwich
In reply to this post by abergel
Thank you Alex.

On Tue, Nov 25, 2014 at 1:48 AM, Alexandre Bergel
<[hidden email]> wrote:

> Yes, I have noticed this. This is now fixed!
>
> Alexandre
>
>
>> On Nov 24, 2014, at 2:44 PM, Serge Stinckwich <[hidden email]> wrote:
>>
>> In the last version of MOOSE (#3266), there is a problem with Charter graphs.
>> When you try the Charter examples in the Roassal GT examples menu, the
>> image completely freeze ...
>>
>> --
>> Serge Stinckwich
>> UCBN & UMI UMMISCO 209 (IRD/UPMC)
>> Every DSL ends up being Smalltalk
>> http://www.doesnotunderstand.org/
>> _______________________________________________
>> 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



--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Charter problem in the last version of MOOSE

abergel
In reply to this post by Nicolai Hess
I fixed it by making sure to ignore degenerated matrix. I have no idea for now why this happens.
The ZeroDivide is maybe because this is within the UI thread.

Cheers,
Alexandre

> On Nov 25, 2014, at 3:28 AM, Nicolai Hess <[hidden email]> wrote:
>
> what did you fix ? The use  of the matrix transform in TRBoxShape or the implementation?
>
> And do you now why the exception "ZeroDivide" does not raise the debugger?
>
>
> regards
> Nicolai

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
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: Charter problem in the last version of MOOSE

Nicolai Hess
2014-11-25 15:01 GMT+01:00 Alexandre Bergel <[hidden email]>:
I fixed it by making sure to ignore degenerated matrix. I have no idea for now why this happens.
The ZeroDivide is maybe because this is within the UI thread.

The matrix is not degenerated, it is just a rotation around 90 degree.
This is a bug in athens.
I'll open an issue on fogbugz and fix it in athens.

nicolai


 

Cheers,
Alexandre

> On Nov 25, 2014, at 3:28 AM, Nicolai Hess <[hidden email]> wrote:
>
> what did you fix ? The use  of the matrix transform in TRBoxShape or the implementation?
>
> And do you now why the exception "ZeroDivide" does not raise the debugger?
>
>
> regards
> Nicolai

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
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: Charter problem in the last version of MOOSE

abergel
Oh!!!!
Well spotted!!!

Alexandre


> On Nov 25, 2014, at 10:42 AM, Nicolai Hess <[hidden email]> wrote:
>
> 2014-11-25 15:01 GMT+01:00 Alexandre Bergel <[hidden email]>:
> I fixed it by making sure to ignore degenerated matrix. I have no idea for now why this happens.
> The ZeroDivide is maybe because this is within the UI thread.
>
> The matrix is not degenerated, it is just a rotation around 90 degree.
> This is a bug in athens.
> I'll open an issue on fogbugz and fix it in athens.
>
> nicolai
>
>
>  
>
> Cheers,
> Alexandre
>
> > On Nov 25, 2014, at 3:28 AM, Nicolai Hess <[hidden email]> wrote:
> >
> > what did you fix ? The use  of the matrix transform in TRBoxShape or the implementation?
> >
> > And do you now why the exception "ZeroDivide" does not raise the debugger?
> >
> >
> > regards
> > Nicolai
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>

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




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