<br><br><div class="gmail_quote">On Sat, Jul 25, 2009 at 5:37 PM, Ramiro Diaz Trepat <span dir="ltr">&lt;<a href="mailto:ramiro@diaztrepat.name">ramiro@diaztrepat.name</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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:<div><br></div><div>MessageNotUnderstood: BlockClosure&gt;&gt;maOn:do:on:do:</div><div>

<br></div><div>Again, Magma must extend BlockClosures, and that extension must not be happening in Pharo after installing the Magma .sar.</div><div></div></blockquote><div><br>Hi! Perpahs I will say non sense things, but I will give it a shoot.<br>
<br>I have a similar problem when trying to use Glorp in Pharo. Glorp has extends methods in BlockContext. If you go to BlockContext you will see a category called *Glorp with a couple of methods.<br><br>Perhaps in these case, you have the same problem. What I did for Glorp, and it worked perfect, is to copy all the Magma methods in BlockContext (they should have 1 or more categorry called *Magma or something like that) to BlockClosure.<br>
In addition, I created a separate package called GlorpPharoPort with all the things to make Glorp work in Pharo. One of these things was these methods extensions to BlockClosure.<br>Be aware this package should be loaded after the other packages.<br>
<br>I hope this helps.<br><br>Best,<br><br>Mariano<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br></div><div>Cheers.</div>
<div><br></div><font color="#888888"><div>r.</div></font><div><div></div><div class="h5"><div><br></div><div>
<br><div class="gmail_quote">On Sat, Jul 25, 2009 at 7:31 PM, Ramiro Diaz Trepat <span dir="ltr">&lt;<a href="mailto:ramiro@diaztrepat.name" target="_blank">ramiro@diaztrepat.name</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I am forwarding this dialog I held with Stuart for reference in the list.<div><div></div><div><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Ramiro Diaz Trepat</b> <span dir="ltr">&lt;<a href="mailto:ramiro@diaztrepat.name" target="_blank">ramiro@diaztrepat.name</a>&gt;</span><br>


Date: Sat, Jul 25, 2009 at 7:31 PM<br>Subject: Re: Pharo<br>To: Stuart Herring &lt;<a href="mailto:st-lists@stuartherring.com" target="_blank">st-lists@stuartherring.com</a>&gt;<br><br><br>Hi Stuart,<div>That was a great idea, I did not know you could just drag &amp; drop .sar files to the image.</div>


<div>In spite of that, the server is not working in Pharo.  When I run:</div><div><br></div><div><div>serverConsole := MagmaServerConsole new </div>
<div><span style="white-space: pre;">        </span>open: dbPath;</div><div><span style="white-space: pre;">        </span>processOn: 51001.</div><div><br></div><div>It hangs on MagmaSession&gt;&gt;submit:to:</div>
<div><br></div><div>It may have to do with the new Closures in Pharo, I don&#39;t know.</div><div><br></div><div>Cheers, and thanks for your help.</div><div><br></div><font color="#888888"><div><br></div><div>r.</div></font></div>


<div><div></div><div><div><br><br><div class="gmail_quote">
On Sat, Jul 25, 2009 at 1:41 PM, Stuart Herring <span dir="ltr">&lt;<a href="mailto:st-lists@stuartherring.com" target="_blank">st-lists@stuartherring.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>On Sat, Jul 25, 2009 at 7:37 AM, Ramiro Diaz Trepat<br>
&lt;<a href="mailto:ramiro@diaztrepat.name" target="_blank">ramiro@diaztrepat.name</a>&gt; wrote:<br>
&gt;<br>
&gt; Is Magma currently installable on Pharo?<br>
&gt;<br>
<br>
</div>I have just successfully loaded r42Gamma5 into both Pharo, and<br>
Pharo-core-10388 - you have to click proceed twice for warnings about<br>
extensions to classes that no longer exist in Pharo, but otherwise it<br>
seems fine.  I haven&#39;t actually tested using it yet though.<br>
<br>
It looks like Chris didn&#39;t publish the .mcm for Gamma5, but if you<br>
download the .sar from Squeak Map and drag and drop it in to a running<br>
Pharo image, it installs fine.<br>
<br>
It doesn&#39;t load in to 10392 though - installation aborts with Error:<br>
Key Not Found when it attempts to load Ma object serialization.  That<br>
looks like a Pharo bug though, as attempts to debug it also give the<br>
same error.<br>
<br>
Regards,<br>
<font color="#888888">Stuart<br>
</font></blockquote></div><br></div>
</div></div></div><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Magma mailing list<br>
<a href="mailto:Magma@lists.squeakfoundation.org">Magma@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/magma" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/magma</a><br>
<br></blockquote></div><br>