Also, I have tried only to use pharo as a client to connect to a Magma server, I thought this could work, but I get the following error:

MessageNotUnderstood: BlockClosure>>maOn:do:on:do:

Again, Magma must extend BlockClosures, and that extension must not be happening in Pharo after installing the Magma .sar.

Cheers.

r.


On Sat, Jul 25, 2009 at 7:31 PM, Ramiro Diaz Trepat <ramiro@diaztrepat.name> wrote:
I am forwarding this dialog I held with Stuart for reference in the list.


---------- Forwarded message ----------
From: Ramiro Diaz Trepat <ramiro@diaztrepat.name>
Date: Sat, Jul 25, 2009 at 7:31 PM
Subject: Re: Pharo
To: Stuart Herring <st-lists@stuartherring.com>


Hi Stuart,
That was a great idea, I did not know you could just drag & drop .sar files to the image.
In spite of that, the server is not working in Pharo.  When I run:

serverConsole := MagmaServerConsole new 
open: dbPath;
processOn: 51001.

It hangs on MagmaSession>>submit:to:

It may have to do with the new Closures in Pharo, I don't know.

Cheers, and thanks for your help.


r.


On Sat, Jul 25, 2009 at 1:41 PM, Stuart Herring <st-lists@stuartherring.com> wrote:
On Sat, Jul 25, 2009 at 7:37 AM, Ramiro Diaz Trepat
<ramiro@diaztrepat.name> wrote:
>
> Is Magma currently installable on Pharo?
>

I have just successfully loaded r42Gamma5 into both Pharo, and
Pharo-core-10388 - you have to click proceed twice for warnings about
extensions to classes that no longer exist in Pharo, but otherwise it
seems fine.  I haven't actually tested using it yet though.

It looks like Chris didn't publish the .mcm for Gamma5, but if you
download the .sar from Squeak Map and drag and drop it in to a running
Pharo image, it installs fine.

It doesn't load in to 10392 though - installation aborts with Error:
Key Not Found when it attempts to load Ma object serialization.  That
looks like a Pharo bug though, as attempts to debug it also give the
same error.

Regards,
Stuart