Error when i try save a image [WAS] Fwd: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

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

Error when i try save a image [WAS] Fwd: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

Mariano Martinez Peck
Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe someone can help you.

I was going to cc nullPointer, but I discover it is you!!! hahahahah


---------- Forwarded message ----------
From: <[hidden email]>
Date: Mon, Jan 11, 2010 at 4:46 PM
Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
To: [hidden email]


The next error:

http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone

In the last version of developer image that error was fix it. But in that 10505 image returns :|

Regards.




PD. Could I do something in my code for delete that problem?

Regards again.


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Error when i try save a image [WAS] Fwd: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

Stéphane Ducasse
Do Yyou still have the problem with the latest rc version?

Stef
On Jan 11, 2010, at 5:02 PM, Mariano Martinez Peck wrote:

> Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe someone can help you.
>
> I was going to cc nullPointer, but I discover it is you!!! hahahahah
>
>
> ---------- Forwarded message ----------
> From: <[hidden email]>
> Date: Mon, Jan 11, 2010 at 4:46 PM
> Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
> To: [hidden email]
>
>
> The next error:
>
> http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone
>
> In the last version of developer image that error was fix it. But in that 10505 image returns :|
>
> Regards.
>
>
>
>
> PD. Could I do something in my code for delete that problem?
>
> Regards again.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Error when i try save a image [WAS] Fwd: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

Mariano Martinez Peck
yes, actually that's was the mail about.


On Mon, Jan 11, 2010 at 5:11 PM, Stéphane Ducasse <[hidden email]> wrote:
Do Yyou still have the problem with the latest rc version?

Stef
On Jan 11, 2010, at 5:02 PM, Mariano Martinez Peck wrote:

> Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe someone can help you.
>
> I was going to cc nullPointer, but I discover it is you!!! hahahahah
>
>
> ---------- Forwarded message ----------
> From: <[hidden email]>
> Date: Mon, Jan 11, 2010 at 4:46 PM
> Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
> To: [hidden email]
>
>
> The next error:
>
> http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone
>
> In the last version of developer image that error was fix it. But in that 10505 image returns :|
>
> Regards.
>
>
>
>
> PD. Could I do something in my code for delete that problem?
>
> Regards again.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Error when i try save a image [WAS] Fwd: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

Mariano Martinez Peck
I could reproduce the problem. epicfan which OS are you using ? VM version ?

On Mon, Jan 11, 2010 at 5:18 PM, Mariano Martinez Peck <[hidden email]> wrote:
yes, actually that's was the mail about.



On Mon, Jan 11, 2010 at 5:11 PM, Stéphane Ducasse <[hidden email]> wrote:
Do Yyou still have the problem with the latest rc version?

Stef
On Jan 11, 2010, at 5:02 PM, Mariano Martinez Peck wrote:

> Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe someone can help you.
>
> I was going to cc nullPointer, but I discover it is you!!! hahahahah
>
>
> ---------- Forwarded message ----------
> From: <[hidden email]>
> Date: Mon, Jan 11, 2010 at 4:46 PM
> Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
> To: [hidden email]
>
>
> The next error:
>
> http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone
>
> In the last version of developer image that error was fix it. But in that 10505 image returns :|
>
> Regards.
>
>
>
>
> PD. Could I do something in my code for delete that problem?
>
> Regards again.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Error when i try save a image [WAS] Fwd: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

Mariano Martinez Peck
The problem is that when you save the image, in the shutDown list, there is freetype and it tries to finish all the handlers. The problem in this case is that one of those handlers that seems to be trying to finish has something in nil or some bad parameter which of course, gives a primitive mail. That's all my idea, maybe I am wrong as it is the first time I look in this code.

As a work arround, you can install the StrikeFOnts instead of TrueTypes. It is not
the real solution, but works. Just take the dev image with trutype and evaluate:

FreeTypeCache clearCurrent.
StrikeFont installDejaVu.


Cheers

On Mon, Jan 11, 2010 at 5:30 PM, Mariano Martinez Peck <[hidden email]> wrote:
I could reproduce the problem. epicfan which OS are you using ? VM version ?


On Mon, Jan 11, 2010 at 5:18 PM, Mariano Martinez Peck <[hidden email]> wrote:
yes, actually that's was the mail about.



On Mon, Jan 11, 2010 at 5:11 PM, Stéphane Ducasse <[hidden email]> wrote:
Do Yyou still have the problem with the latest rc version?

Stef
On Jan 11, 2010, at 5:02 PM, Mariano Martinez Peck wrote:

> Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe someone can help you.
>
> I was going to cc nullPointer, but I discover it is you!!! hahahahah
>
>
> ---------- Forwarded message ----------
> From: <[hidden email]>
> Date: Mon, Jan 11, 2010 at 4:46 PM
> Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
> To: [hidden email]
>
>
> The next error:
>
> http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone
>
> In the last version of developer image that error was fix it. But in that 10505 image returns :|
>
> Regards.
>
>
>
>
> PD. Could I do something in my code for delete that problem?
>
> Regards again.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Error when i try save a image [WAS] Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

Gary Chambers-4
I am seeing the same behaviour also, on occasion.

Regards, Gary
----- Original Message -----
Sent: Tuesday, January 12, 2010 11:02 AM
Subject: Re: [Pharo-project] Error when i try save a image [WAS] Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

The problem is that when you save the image, in the shutDown list, there is freetype and it tries to finish all the handlers. The problem in this case is that one of those handlers that seems to be trying to finish has something in nil or some bad parameter which of course, gives a primitive mail. That's all my idea, maybe I am wrong as it is the first time I look in this code.

As a work arround, you can install the StrikeFOnts instead of TrueTypes. It is not
the real solution, but works. Just take the dev image with trutype and evaluate:

FreeTypeCache clearCurrent.
StrikeFont installDejaVu.


Cheers

On Mon, Jan 11, 2010 at 5:30 PM, Mariano Martinez Peck <[hidden email]> wrote:
I could reproduce the problem. epicfan which OS are you using ? VM version ?


On Mon, Jan 11, 2010 at 5:18 PM, Mariano Martinez Peck <[hidden email]> wrote:
yes, actually that's was the mail about.



On Mon, Jan 11, 2010 at 5:11 PM, Stéphane Ducasse <[hidden email]> wrote:
Do Yyou still have the problem with the latest rc version?

Stef
On Jan 11, 2010, at 5:02 PM, Mariano Martinez Peck wrote:

> Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe someone can help you.
>
> I was going to cc nullPointer, but I discover it is you!!! hahahahah
>
>
> ---------- Forwarded message ----------
> From: <[hidden email]>
> Date: Mon, Jan 11, 2010 at 4:46 PM
> Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
> To: [hidden email]
>
>
> The next error:
>
> http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone
>
> In the last version of developer image that error was fix it. But in that 10505 image returns :|
>
> Regards.
>
>
>
>
> PD. Could I do something in my code for delete that problem?
>
> Regards again.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Error when i try save a image [WAS] Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

Mariano Martinez Peck


2010/1/12 Gary Chambers <[hidden email]>
I am seeing the same behaviour also, on occasion.


Which OS do you use ? Mac OS? VM ? maybe there is a problem in the plugin ?

 
Regards, Gary
----- Original Message -----
Sent: Tuesday, January 12, 2010 11:02 AM
Subject: Re: [Pharo-project] Error when i try save a image [WAS] Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

The problem is that when you save the image, in the shutDown list, there is freetype and it tries to finish all the handlers. The problem in this case is that one of those handlers that seems to be trying to finish has something in nil or some bad parameter which of course, gives a primitive mail. That's all my idea, maybe I am wrong as it is the first time I look in this code.

As a work arround, you can install the StrikeFOnts instead of TrueTypes. It is not
the real solution, but works. Just take the dev image with trutype and evaluate:

FreeTypeCache clearCurrent.
StrikeFont installDejaVu.


Cheers

On Mon, Jan 11, 2010 at 5:30 PM, Mariano Martinez Peck <[hidden email]> wrote:
I could reproduce the problem. epicfan which OS are you using ? VM version ?


On Mon, Jan 11, 2010 at 5:18 PM, Mariano Martinez Peck <[hidden email]> wrote:
yes, actually that's was the mail about.



On Mon, Jan 11, 2010 at 5:11 PM, Stéphane Ducasse <[hidden email]> wrote:
Do Yyou still have the problem with the latest rc version?

Stef
On Jan 11, 2010, at 5:02 PM, Mariano Martinez Peck wrote:

> Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe someone can help you.
>
> I was going to cc nullPointer, but I discover it is you!!! hahahahah
>
>
> ---------- Forwarded message ----------
> From: <[hidden email]>
> Date: Mon, Jan 11, 2010 at 4:46 PM
> Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
> To: [hidden email]
>
>
> The next error:
>
> http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone
>

> In the last version of developer image that error was fix it. But in that 10505 image returns :|
>
> Regards.
>
>
>
>
> PD. Could I do something in my code for delete that problem?
>
> Regards again.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Error when i try save a image [WAS]Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

Gary Chambers-4
PharoCore1.1ALPHA
Latest update: #11138
Windows VM 'Squeak3.10.2 of ''5 June 2008'' [latest update: #7179]'

Regards, Gary
----- Original Message -----
Sent: Tuesday, January 12, 2010 11:27 AM
Subject: Re: [Pharo-project] Error when i try save a image [WAS]Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1



2010/1/12 Gary Chambers <[hidden email]>
I am seeing the same behaviour also, on occasion.


Which OS do you use ? Mac OS? VM ? maybe there is a problem in the plugin ?

 
Regards, Gary
----- Original Message -----
Sent: Tuesday, January 12, 2010 11:02 AM
Subject: Re: [Pharo-project] Error when i try save a image [WAS] Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

The problem is that when you save the image, in the shutDown list, there is freetype and it tries to finish all the handlers. The problem in this case is that one of those handlers that seems to be trying to finish has something in nil or some bad parameter which of course, gives a primitive mail. That's all my idea, maybe I am wrong as it is the first time I look in this code.

As a work arround, you can install the StrikeFOnts instead of TrueTypes. It is not
the real solution, but works. Just take the dev image with trutype and evaluate:

FreeTypeCache clearCurrent.
StrikeFont installDejaVu.


Cheers

On Mon, Jan 11, 2010 at 5:30 PM, Mariano Martinez Peck <[hidden email]> wrote:
I could reproduce the problem. epicfan which OS are you using ? VM version ?


On Mon, Jan 11, 2010 at 5:18 PM, Mariano Martinez Peck <[hidden email]> wrote:
yes, actually that's was the mail about.



On Mon, Jan 11, 2010 at 5:11 PM, Stéphane Ducasse <[hidden email]> wrote:
Do Yyou still have the problem with the latest rc version?

Stef
On Jan 11, 2010, at 5:02 PM, Mariano Martinez Peck wrote:

> Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe someone can help you.
>
> I was going to cc nullPointer, but I discover it is you!!! hahahahah
>
>
> ---------- Forwarded message ----------
> From: <[hidden email]>
> Date: Mon, Jan 11, 2010 at 4:46 PM
> Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
> To: [hidden email]
>
>
> The next error:
>
> http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone
>
> In the last version of developer image that error was fix it. But in that 10505 image returns :|
>
> Regards.
>
>
>
>
> PD. Could I do something in my code for delete that problem?
>
> Regards again.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Error when i try save a image [WAS]Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

Gary Chambers-4
In reply to this post by Mariano Martinez Peck
Actually, the VM was the string as from SmalltalkImage current vmVersion.
 
Pharo.exe reports its version (file properties) as 3.11.4.0

Regards, Gary
----- Original Message -----
Sent: Tuesday, January 12, 2010 11:27 AM
Subject: Re: [Pharo-project] Error when i try save a image [WAS]Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1



2010/1/12 Gary Chambers <[hidden email]>
I am seeing the same behaviour also, on occasion.


Which OS do you use ? Mac OS? VM ? maybe there is a problem in the plugin ?

 
Regards, Gary
----- Original Message -----
Sent: Tuesday, January 12, 2010 11:02 AM
Subject: Re: [Pharo-project] Error when i try save a image [WAS] Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

The problem is that when you save the image, in the shutDown list, there is freetype and it tries to finish all the handlers. The problem in this case is that one of those handlers that seems to be trying to finish has something in nil or some bad parameter which of course, gives a primitive mail. That's all my idea, maybe I am wrong as it is the first time I look in this code.

As a work arround, you can install the StrikeFOnts instead of TrueTypes. It is not
the real solution, but works. Just take the dev image with trutype and evaluate:

FreeTypeCache clearCurrent.
StrikeFont installDejaVu.


Cheers

On Mon, Jan 11, 2010 at 5:30 PM, Mariano Martinez Peck <[hidden email]> wrote:
I could reproduce the problem. epicfan which OS are you using ? VM version ?


On Mon, Jan 11, 2010 at 5:18 PM, Mariano Martinez Peck <[hidden email]> wrote:
yes, actually that's was the mail about.



On Mon, Jan 11, 2010 at 5:11 PM, Stéphane Ducasse <[hidden email]> wrote:
Do Yyou still have the problem with the latest rc version?

Stef
On Jan 11, 2010, at 5:02 PM, Mariano Martinez Peck wrote:

> Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe someone can help you.
>
> I was going to cc nullPointer, but I discover it is you!!! hahahahah
>
>
> ---------- Forwarded message ----------
> From: <[hidden email]>
> Date: Mon, Jan 11, 2010 at 4:46 PM
> Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
> To: [hidden email]
>
>
> The next error:
>
> http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone
>
> In the last version of developer image that error was fix it. But in that 10505 image returns :|
>
> Regards.
>
>
>
>
> PD. Could I do something in my code for delete that problem?
>
> Regards again.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Error when i try save a image [WAS]Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

Mariano Martinez Peck
Another ugly hack maye replace this:

FT2Handle shutDown:


shutDown: quitting
    "we must not save handles (which are pointers) in the image"
    self clearRegistry.
    FreeTypeFace allInstances do:[:i |
        "destroy any faces that are still being referenced"
        i isValid
            ifTrue:[i destroyHandle ]].
    FT2Handle allSubInstances do: [:h | h beNull].    "if some handle was not registered"

For this:

shutDown: quitting
    "we must not save handles (which are pointers) in the image"
    self clearRegistry.
    FreeTypeFace allInstances do:[:i |
        "destroy any faces that are still being referenced"
        i isValid
            ifTrue:[[i destroyHandle] on: Error do: ["Log somewhere this error, but don't throw an error as it wont save the image"] ]].
    FT2Handle allSubInstances do: [:h | h beNull].    "if some handle was not registered"



I mean, if you are executing the shutDown:  and the primitive gives an error, there is not too much you can do about it. So, at least, let me save the image.

Of course, this is a really ugly huck, not near a fix. But, if there is no one that can help us...

cheers

mariano

2010/1/12 Gary Chambers <[hidden email]>
Actually, the VM was the string as from SmalltalkImage current vmVersion.
 
Pharo.exe reports its version (file properties) as 3.11.4.0

Regards, Gary
----- Original Message -----
Sent: Tuesday, January 12, 2010 11:27 AM
Subject: Re: [Pharo-project] Error when i try save a image [WAS]Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1



2010/1/12 Gary Chambers <[hidden email]>
I am seeing the same behaviour also, on occasion.


Which OS do you use ? Mac OS? VM ? maybe there is a problem in the plugin ?

 
Regards, Gary
----- Original Message -----
Sent: Tuesday, January 12, 2010 11:02 AM
Subject: Re: [Pharo-project] Error when i try save a image [WAS] Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

The problem is that when you save the image, in the shutDown list, there is freetype and it tries to finish all the handlers. The problem in this case is that one of those handlers that seems to be trying to finish has something in nil or some bad parameter which of course, gives a primitive mail. That's all my idea, maybe I am wrong as it is the first time I look in this code.

As a work arround, you can install the StrikeFOnts instead of TrueTypes. It is not
the real solution, but works. Just take the dev image with trutype and evaluate:

FreeTypeCache clearCurrent.
StrikeFont installDejaVu.


Cheers

On Mon, Jan 11, 2010 at 5:30 PM, Mariano Martinez Peck <[hidden email]> wrote:
I could reproduce the problem. epicfan which OS are you using ? VM version ?


On Mon, Jan 11, 2010 at 5:18 PM, Mariano Martinez Peck <[hidden email]> wrote:
yes, actually that's was the mail about.



On Mon, Jan 11, 2010 at 5:11 PM, Stéphane Ducasse <[hidden email]> wrote:
Do Yyou still have the problem with the latest rc version?

Stef
On Jan 11, 2010, at 5:02 PM, Mariano Martinez Peck wrote:

> Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe someone can help you.
>
> I was going to cc nullPointer, but I discover it is you!!! hahahahah
>
>
> ---------- Forwarded message ----------
> From: <[hidden email]>
> Date: Mon, Jan 11, 2010 at 4:46 PM
> Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
> To: [hidden email]
>
>
> The next error:
>
> http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone
>

> In the last version of developer image that error was fix it. But in that 10505 image returns :|
>
> Regards.
>
>
>
>
> PD. Could I do something in my code for delete that problem?
>
> Regards again.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Error when i try save a image [WAS] Fwd: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

gerard alis
In reply to this post by Mariano Martinez Peck

Thanks, that patch works for me  :)

Regards

Mariano Martinez Peck wrote
The problem is that when you save the image, in the shutDown list, there is
freetype and it tries to finish all the handlers. The problem in this case
is that one of those handlers that seems to be trying to finish has
something in nil or some bad parameter which of course, gives a primitive
mail. That's all my idea, maybe I am wrong as it is the first time I look in
this code.

As a work arround, you can install the StrikeFOnts instead of TrueTypes. It
is not
the real solution, but works. Just take the dev image with trutype and
evaluate:

FreeTypeCache clearCurrent.
StrikeFont installDejaVu.


Cheers

On Mon, Jan 11, 2010 at 5:30 PM, Mariano Martinez Peck <
marianopeck@gmail.com> wrote:

> I could reproduce the problem. epicfan which OS are you using ? VM version
> ?
>
>
> On Mon, Jan 11, 2010 at 5:18 PM, Mariano Martinez Peck <
> marianopeck@gmail.com> wrote:
>
>> yes, actually that's was the mail about.
>>
>>
>>
>> On Mon, Jan 11, 2010 at 5:11 PM, Stéphane Ducasse <
>> stephane.ducasse@inria.fr> wrote:
>>
>>> Do Yyou still have the problem with the latest rc version?
>>>
>>> Stef
>>> On Jan 11, 2010, at 5:02 PM, Mariano Martinez Peck wrote:
>>>
>>> > Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe
>>> someone can help you.
>>> >
>>> > I was going to cc nullPointer, but I discover it is you!!! hahahahah
>>> >
>>> >
>>> > ---------- Forwarded message ----------
>>> > From: <epicfan@gmail.com>
>>> > Date: Mon, Jan 11, 2010 at 4:46 PM
>>> > Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
>>> > To: marianopeck@gmail.com
>>> >
>>> >
>>> > The next error:
>>> >
>>> >
>>> http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone
>>> >
>>> > In the last version of developer image that error was fix it. But in
>>> that 10505 image returns :|
>>> >
>>> > Regards.
>>> >
>>> >
>>> >
>>> >
>>> > PD. Could I do something in my code for delete that problem?
>>> >
>>> > Regards again.
>>> >
>>> > _______________________________________________
>>> > Pharo-project mailing list
>>> > Pharo-project@lists.gforge.inria.fr
>>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project@lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Error when i try save a image [WAS]Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

Stéphane Ducasse
In reply to this post by Mariano Martinez Peck
do we add that to the bug entry?

On Jan 12, 2010, at 1:54 PM, Mariano Martinez Peck wrote:

> Another ugly hack maye replace this:
>
> FT2Handle shutDown:
>
>
> shutDown: quitting
>     "we must not save handles (which are pointers) in the image"
>     self clearRegistry.
>     FreeTypeFace allInstances do:[:i |
>         "destroy any faces that are still being referenced"
>         i isValid
>             ifTrue:[i destroyHandle ]].
>     FT2Handle allSubInstances do: [:h | h beNull].    "if some handle was not registered"
>
> For this:
>
> shutDown: quitting
>     "we must not save handles (which are pointers) in the image"
>     self clearRegistry.
>     FreeTypeFace allInstances do:[:i |
>         "destroy any faces that are still being referenced"
>         i isValid
>             ifTrue:[[i destroyHandle] on: Error do: ["Log somewhere this error, but don't throw an error as it wont save the image"] ]].
>     FT2Handle allSubInstances do: [:h | h beNull].    "if some handle was not registered"
>
>
>
> I mean, if you are executing the shutDown:  and the primitive gives an error, there is not too much you can do about it. So, at least, let me save the image.
>
> Of course, this is a really ugly huck, not near a fix. But, if there is no one that can help us...
>
> cheers
>
> mariano
>
> 2010/1/12 Gary Chambers <[hidden email]>
> Actually, the VM was the string as from SmalltalkImage current vmVersion.
>  
> Pharo.exe reports its version (file properties) as 3.11.4.0
>
> Regards, Gary
> ----- Original Message -----
> From: Mariano Martinez Peck
> To: [hidden email]
> Sent: Tuesday, January 12, 2010 11:27 AM
> Subject: Re: [Pharo-project] Error when i try save a image [WAS]Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
>
>
>
> 2010/1/12 Gary Chambers <[hidden email]>
> I am seeing the same behaviour also, on occasion.
>
>
> Which OS do you use ? Mac OS? VM ? maybe there is a problem in the plugin ?
>
>  
> Regards, Gary
> ----- Original Message -----
> From: Mariano Martinez Peck
> To: [hidden email]
> Sent: Tuesday, January 12, 2010 11:02 AM
> Subject: Re: [Pharo-project] Error when i try save a image [WAS] Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
>
> The problem is that when you save the image, in the shutDown list, there is freetype and it tries to finish all the handlers. The problem in this case is that one of those handlers that seems to be trying to finish has something in nil or some bad parameter which of course, gives a primitive mail. That's all my idea, maybe I am wrong as it is the first time I look in this code.
>
> As a work arround, you can install the StrikeFOnts instead of TrueTypes. It is not
> the real solution, but works. Just take the dev image with trutype and evaluate:
>
> FreeTypeCache clearCurrent.
> StrikeFont installDejaVu.
>
>
> Cheers
>
> On Mon, Jan 11, 2010 at 5:30 PM, Mariano Martinez Peck <[hidden email]> wrote:
> I could reproduce the problem. epicfan which OS are you using ? VM version ?
>
>
> On Mon, Jan 11, 2010 at 5:18 PM, Mariano Martinez Peck <[hidden email]> wrote:
> yes, actually that's was the mail about.
>
>
>
> On Mon, Jan 11, 2010 at 5:11 PM, Stéphane Ducasse <[hidden email]> wrote:
> Do Yyou still have the problem with the latest rc version?
>
> Stef
> On Jan 11, 2010, at 5:02 PM, Mariano Martinez Peck wrote:
>
> > Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe someone can help you.
> >
> > I was going to cc nullPointer, but I discover it is you!!! hahahahah
> >
> >
> > ---------- Forwarded message ----------
> > From: <[hidden email]>
> > Date: Mon, Jan 11, 2010 at 4:46 PM
> > Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
> > To: [hidden email]
> >
> >
> > The next error:
> >
> > http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone
> >
> > In the last version of developer image that error was fix it. But in that 10505 image returns :|
> >
> > Regards.
> >
> >
> >
> >
> > PD. Could I do something in my code for delete that problem?
> >
> > Regards again.
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Error when i try save a image [WAS]Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1

Mariano Martinez Peck


On Tue, Jan 12, 2010 at 5:51 PM, Stéphane Ducasse <[hidden email]> wrote:
do we add that to the bug entry?


Ok....done, but I am not sure at all of that. I was just thinking aloud :)

nullPointer can you check also if my commits work ?   becasue I have an strange behaviour after that and it is that sometimes when I move the class browser it comes back to the original place instead to the pleace where i let it.

 
On Jan 12, 2010, at 1:54 PM, Mariano Martinez Peck wrote:

> Another ugly hack maye replace this:
>
> FT2Handle shutDown:
>
>
> shutDown: quitting
>     "we must not save handles (which are pointers) in the image"
>     self clearRegistry.
>     FreeTypeFace allInstances do:[:i |
>         "destroy any faces that are still being referenced"
>         i isValid
>             ifTrue:[i destroyHandle ]].
>     FT2Handle allSubInstances do: [:h | h beNull].    "if some handle was not registered"
>
> For this:
>
> shutDown: quitting
>     "we must not save handles (which are pointers) in the image"
>     self clearRegistry.
>     FreeTypeFace allInstances do:[:i |
>         "destroy any faces that are still being referenced"
>         i isValid
>             ifTrue:[[i destroyHandle] on: Error do: ["Log somewhere this error, but don't throw an error as it wont save the image"] ]].
>     FT2Handle allSubInstances do: [:h | h beNull].    "if some handle was not registered"
>
>
>
> I mean, if you are executing the shutDown:  and the primitive gives an error, there is not too much you can do about it. So, at least, let me save the image.
>
> Of course, this is a really ugly huck, not near a fix. But, if there is no one that can help us...
>
> cheers
>
> mariano
>
> 2010/1/12 Gary Chambers <[hidden email]>
> Actually, the VM was the string as from SmalltalkImage current vmVersion.
>
> Pharo.exe reports its version (file properties) as 3.11.4.0
>
> Regards, Gary
> ----- Original Message -----
> From: Mariano Martinez Peck
> To: [hidden email]
> Sent: Tuesday, January 12, 2010 11:27 AM
> Subject: Re: [Pharo-project] Error when i try save a image [WAS]Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
>
>
>
> 2010/1/12 Gary Chambers <[hidden email]>
> I am seeing the same behaviour also, on occasion.
>
>
> Which OS do you use ? Mac OS? VM ? maybe there is a problem in the plugin ?
>
>
> Regards, Gary
> ----- Original Message -----
> From: Mariano Martinez Peck
> To: [hidden email]
> Sent: Tuesday, January 12, 2010 11:02 AM
> Subject: Re: [Pharo-project] Error when i try save a image [WAS] Fwd:[BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
>
> The problem is that when you save the image, in the shutDown list, there is freetype and it tries to finish all the handlers. The problem in this case is that one of those handlers that seems to be trying to finish has something in nil or some bad parameter which of course, gives a primitive mail. That's all my idea, maybe I am wrong as it is the first time I look in this code.
>
> As a work arround, you can install the StrikeFOnts instead of TrueTypes. It is not
> the real solution, but works. Just take the dev image with trutype and evaluate:
>
> FreeTypeCache clearCurrent.
> StrikeFont installDejaVu.
>
>
> Cheers
>
> On Mon, Jan 11, 2010 at 5:30 PM, Mariano Martinez Peck <[hidden email]> wrote:
> I could reproduce the problem. epicfan which OS are you using ? VM version ?
>
>
> On Mon, Jan 11, 2010 at 5:18 PM, Mariano Martinez Peck <[hidden email]> wrote:
> yes, actually that's was the mail about.
>
>
>
> On Mon, Jan 11, 2010 at 5:11 PM, Stéphane Ducasse <[hidden email]> wrote:
> Do Yyou still have the problem with the latest rc version?
>
> Stef
> On Jan 11, 2010, at 5:02 PM, Mariano Martinez Peck wrote:
>
> > Sorry epicfan I have no idea at all. I cc Pharo mailing list that maybe someone can help you.
> >
> > I was going to cc nullPointer, but I discover it is you!!! hahahahah
> >
> >
> > ---------- Forwarded message ----------
> > From: <[hidden email]>
> > Date: Mon, Jan 11, 2010 at 4:46 PM
> > Subject: Re: [BetaTesting] [ANN] Pharo1.0-10505-rc1dev10.01.1
> > To: [hidden email]
> >
> >
> > The next error:
> >
> > http://code.google.com/p/pharo/issues/detail?id=1283&can=7&q=bug%20when%20try&colspec=ID%20Type%20Status%20Summary%20Milestone
> >
> > In the last version of developer image that error was fix it. But in that 10505 image returns :|
> >
> > Regards.
> >
> >
> >
> >
> > PD. Could I do something in my code for delete that problem?
> >
> > Regards again.
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project