Freetype package breaks preferences browser?

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

Freetype package breaks preferences browser?

Marcin Tustin
Hi all,

Further to my previous email, I decided to install OSProcess/VMMaker. VMMaker installs a version of the freetype package, or rather fails to do so. This appears to be because it use _ for assignment, rather :=. Unfortunately, incompletely installing the package appears to have broken the preferences browser (attempting to launch it from the main menu results in an exception).

Is there a way to undo the changes from the various packages loaded, and thus return my image to a sane state, or an alternative way to enable _, so that loading can continue?

Marcin

--
Marcin Tustin
Mobile: 07773787105
Office: 020 3400 3259

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

Re: Freetype package breaks preferences browser?

Marcin Tustin
Further to the below, I tried just fixing all the instances of _, and resulted in #messagenotunderstood 'or' exceptions being generated every second or so, until the VM locked up.

On Mon, Aug 23, 2010 at 7:15 PM, Marcin Tustin <[hidden email]> wrote:
Hi all,

Further to my previous email, I decided to install OSProcess/VMMaker. VMMaker installs a version of the freetype package, or rather fails to do so. This appears to be because it use _ for assignment, rather :=. Unfortunately, incompletely installing the package appears to have broken the preferences browser (attempting to launch it from the main menu results in an exception).

Is there a way to undo the changes from the various packages loaded, and thus return my image to a sane state, or an alternative way to enable _, so that loading can continue?

Marcin

--
Marcin Tustin
Mobile: 07773787105
Office: 020 3400 3259



--
Marcin Tustin
Mobile: 07773787105
Office: 020 3400 3259

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

Re: Freetype package breaks preferences browser?

Mariano Martinez Peck
In reply to this post by Marcin Tustin


On Mon, Aug 23, 2010 at 8:15 PM, Marcin Tustin <[hidden email]> wrote:
Hi all,

Further to my previous email, I decided to install OSProcess/VMMaker. VMMaker installs a version of the freetype package, or rather fails to do so. This appears to be because it use _ for assignment, rather :=. Unfortunately, incompletely installing the package appears to have broken the preferences browser (attempting to launch it from the main menu results in an exception).


First, why are you loading VMMaker?  I guess you don't need this package if you won't compile the plugin by yourself.

Second, Pharo 1.0 or Pharo 1.1 ?

I guess Pharo 1.1. Can you try evaluating:

Scanner allowUnderscoreAsAssignment: true.
 
Is there a way to undo the changes from the various packages loaded, and thus return my image to a sane state, or an alternative way to enable _, so that loading can continue?


There is in Tools -> "Recent submissions" that may help you.

In addition, you can take a text editor and open the .changes file and recover your lost code.

 

Marcin

--
Marcin Tustin
Mobile: 07773787105
Office: 020 3400 3259

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



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

Re: Freetype package breaks preferences browser?

Mariano Martinez Peck
In reply to this post by Marcin Tustin


On Mon, Aug 23, 2010 at 8:31 PM, Marcin Tustin <[hidden email]> wrote:
Further to the below, I tried just fixing all the instances of _, and resulted in #messagenotunderstood 'or' exceptions being generated every second or so, until the VM locked up.


You can send these changes to David. He may want to integrate it. That would ease the load in Pharo and won't break Squeak.

You can also attach the PharoDebug.log that is in the same directory where your image is.

Cheers

Mariano
 

On Mon, Aug 23, 2010 at 7:15 PM, Marcin Tustin <[hidden email]> wrote:
Hi all,

Further to my previous email, I decided to install OSProcess/VMMaker. VMMaker installs a version of the freetype package, or rather fails to do so. This appears to be because it use _ for assignment, rather :=. Unfortunately, incompletely installing the package appears to have broken the preferences browser (attempting to launch it from the main menu results in an exception).

Is there a way to undo the changes from the various packages loaded, and thus return my image to a sane state, or an alternative way to enable _, so that loading can continue?

Marcin

--
Marcin Tustin
Mobile: 07773787105
Office: 020 3400 3259



--
Marcin Tustin
Mobile: 07773787105
Office: 020 3400 3259

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



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

Re: Freetype package breaks preferences browser?

Marcin Tustin
In reply to this post by Mariano Martinez Peck
Thanks. I was under the impression from SqueakSource that the plugin needs to be compiled. Is there another site for the project that is more up-to-date/helpful/official?

Given the screwy results once I loaded my changed version, I'm hesitant to submit them.

On Mon, Aug 23, 2010 at 8:13 PM, Mariano Martinez Peck <[hidden email]> wrote:


On Mon, Aug 23, 2010 at 8:15 PM, Marcin Tustin <[hidden email]> wrote:
Hi all,

Further to my previous email, I decided to install OSProcess/VMMaker. VMMaker installs a version of the freetype package, or rather fails to do so. This appears to be because it use _ for assignment, rather :=. Unfortunately, incompletely installing the package appears to have broken the preferences browser (attempting to launch it from the main menu results in an exception).


First, why are you loading VMMaker?  I guess you don't need this package if you won't compile the plugin by yourself.

Second, Pharo 1.0 or Pharo 1.1 ?

I guess Pharo 1.1. Can you try evaluating:

Scanner allowUnderscoreAsAssignment: true.
 
Is there a way to undo the changes from the various packages loaded, and thus return my image to a sane state, or an alternative way to enable _, so that loading can continue?


There is in Tools -> "Recent submissions" that may help you.

In addition, you can take a text editor and open the .changes file and recover your lost code.

 

Marcin

--
Marcin Tustin
Mobile: 07773787105
Office: 020 3400 3259

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



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




--
Marcin Tustin
Mobile: 07773787105
Office: 020 3400 3259

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

Re: Freetype package breaks preferences browser?

laurent laffont
To load VMMaker + plugins manually, you need to 'Scanner allowUnderscoreAsAssignment: true'. If you want to fix it, first allow underscore, then change to :=  using http://book.pharo-project.org/book/TipsAndTricks/FixingUnderscores and submit your package to David :)

Generally, the way to load VMMaker and plugins into Pharo is to use ConfigurationOfVMMaker.

Take a look at ConfigurationOfVMMaker>>#pharoUndescoreAssignment , ConfigurationOfVMMaker>>#fixVMMakerForPharo.

Documentation:
http://book.pharo-project.org/book/Virtual-Machine section
http://pharocasts.blogspot.com/search/label/vm


Cheers,

Laurent Laffont

http://pharocasts.blogspot.com/
http://magaloma.blogspot.com/


On Mon, Aug 23, 2010 at 9:39 PM, Marcin Tustin <[hidden email]> wrote:
Thanks. I was under the impression from SqueakSource that the plugin needs to be compiled. Is there another site for the project that is more up-to-date/helpful/official?

Given the screwy results once I loaded my changed version, I'm hesitant to submit them.


On Mon, Aug 23, 2010 at 8:13 PM, Mariano Martinez Peck <[hidden email]> wrote:


On Mon, Aug 23, 2010 at 8:15 PM, Marcin Tustin <[hidden email]> wrote:
Hi all,

Further to my previous email, I decided to install OSProcess/VMMaker. VMMaker installs a version of the freetype package, or rather fails to do so. This appears to be because it use _ for assignment, rather :=. Unfortunately, incompletely installing the package appears to have broken the preferences browser (attempting to launch it from the main menu results in an exception).


First, why are you loading VMMaker?  I guess you don't need this package if you won't compile the plugin by yourself.

Second, Pharo 1.0 or Pharo 1.1 ?

I guess Pharo 1.1. Can you try evaluating:

Scanner allowUnderscoreAsAssignment: true.
 
Is there a way to undo the changes from the various packages loaded, and thus return my image to a sane state, or an alternative way to enable _, so that loading can continue?


There is in Tools -> "Recent submissions" that may help you.

In addition, you can take a text editor and open the .changes file and recover your lost code.

 

Marcin

--
Marcin Tustin
Mobile: 07773787105
Office: 020 3400 3259

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



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




--
Marcin Tustin
Mobile: 07773787105
Office: 020 3400 3259

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



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