Pharo By Example - VM issues

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

Pharo By Example - VM issues

jfabry
Hi all,

I'm evaluating PBE (1.0) because my nephew is starting to get interested in programming :-)

There is a VM issue though: the PBE website refers the pharo website to download the VM, and the only VM I can find is in the 1.3 download page. This VM however crashes with the PBE image (MacOS). It works with the latest squeakvm (non-cog) though. I think, as a minimal-effort patch, it would be good to have the PBE website refer to squeakvm.org and clearly indicate that to run the PBE image a non-cog VM should be used. Idem on the pharoproject website.

Greetings,


---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry  
[hidden email] - http://dcc.uchile.cl/~jfabry
PLEIAD Lab - Computer Science Department (DCC) - University of Chile







Reply | Threaded
Open this post in threaded view
|

Re: Pharo By Example - VM issues

Igor Stasenko
On 27 November 2011 16:26, Johan Fabry <[hidden email]> wrote:
> Hi all,
>
> I'm evaluating PBE (1.0) because my nephew is starting to get interested in programming :-)
>
> There is a VM issue though: the PBE website refers the pharo website to download the VM, and the only VM I can find is in the 1.3 download page. This VM however crashes with the PBE image (MacOS). It works with the latest squeakvm (non-cog) though. I think, as a minimal-effort patch, it would be good to have the PBE website refer to squeakvm.org and clearly indicate that to run the PBE image a non-cog VM should be used. Idem on the pharoproject website.
>
can you tell, what causing crash?

> Greetings,
>
>
> ---> Save our in-boxes! http://emailcharter.org <---
>
> Johan Fabry
> [hidden email] - http://dcc.uchile.cl/~jfabry
> PLEIAD Lab - Computer Science Department (DCC) - University of Chile
>
>
>
>
>
>
>
>



--
Best regards,
Igor Stasenko.

Reply | Threaded
Open this post in threaded view
|

Re: Pharo By Example - VM issues

jfabry

On 28 Nov 2011, at 14:03, Igor Stasenko wrote:

> On 27 November 2011 16:26, Johan Fabry <[hidden email]> wrote:
>> Hi all,
>>
>> I'm evaluating PBE (1.0) because my nephew is starting to get interested in programming :-)
>>
>> There is a VM issue though: the PBE website refers the pharo website to download the VM, and the only VM I can find is in the 1.3 download page. This VM however crashes with the PBE image (MacOS). It works with the latest squeakvm (non-cog) though. I think, as a minimal-effort patch, it would be good to have the PBE website refer to squeakvm.org and clearly indicate that to run the PBE image a non-cog VM should be used. Idem on the pharoproject website.
>>
> can you tell, what causing crash?


Sure: It immediately crashed on opening the image. :-(


---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry  
[hidden email] - http://dcc.uchile.cl/~jfabry
PLEIAD Lab - Computer Science Department (DCC) - University of Chile







Reply | Threaded
Open this post in threaded view
|

Re: Pharo By Example - VM issues

Igor Stasenko
On 28 November 2011 18:35, Johan Fabry <[hidden email]> wrote:

>
> On 28 Nov 2011, at 14:03, Igor Stasenko wrote:
>
>> On 27 November 2011 16:26, Johan Fabry <[hidden email]> wrote:
>>> Hi all,
>>>
>>> I'm evaluating PBE (1.0) because my nephew is starting to get interested in programming :-)
>>>
>>> There is a VM issue though: the PBE website refers the pharo website to download the VM, and the only VM I can find is in the 1.3 download page. This VM however crashes with the PBE image (MacOS). It works with the latest squeakvm (non-cog) though. I think, as a minimal-effort patch, it would be good to have the PBE website refer to squeakvm.org and clearly indicate that to run the PBE image a non-cog VM should be used. Idem on the pharoproject website.
>>>
>> can you tell, what causing crash?
>
>
> Sure: It immediately crashed on opening the image. :-(
>
it may be because cog not supports an old image format. you using PBE
image of some sort?
maybe we should update it.

>
> ---> Save our in-boxes! http://emailcharter.org <---
>
> Johan Fabry
> [hidden email] - http://dcc.uchile.cl/~jfabry
> PLEIAD Lab - Computer Science Department (DCC) - University of Chile
>
>
>
>
>
>
>
>



--
Best regards,
Igor Stasenko.

Reply | Threaded
Open this post in threaded view
|

Re: Pharo By Example - VM issues

Marcus Denker-4
In reply to this post by Igor Stasenko

On Nov 28, 2011, at 6:35 PM, Johan Fabry wrote:

>
> On 28 Nov 2011, at 14:03, Igor Stasenko wrote:
>
>> On 27 November 2011 16:26, Johan Fabry <[hidden email]> wrote:
>>> Hi all,
>>>
>>> I'm evaluating PBE (1.0) because my nephew is starting to get interested in programming :-)
>>>
>>> There is a VM issue though: the PBE website refers the pharo website to download the VM, and the only VM I can find is in the 1.3 download page. This VM however crashes with the PBE image (MacOS). It works with the latest squeakvm (non-cog) though. I think, as a minimal-effort patch, it would be good to have the PBE website refer to squeakvm.org and clearly indicate that to run the PBE image a non-cog VM should be used. Idem on the pharoproject website.
>>>
>> can you tell, what causing crash?
>
>
> Sure: It immediately crashed on opening the image. :-(


The image used for the book is very old and does not have the cog related patches...

The easiest would be to make a one-click with old vms for the book.
Or we would need to find out (remember) exactly which patch is needed...

        Marcus


--
Marcus Denker -- http://marcusdenker.de


Reply | Threaded
Open this post in threaded view
|

Re: Pharo By Example - VM issues

Stefan Marr-4
Hi:

On 01 Dec 2011, at 10:29, Marcus Denker wrote:

> The image used for the book is very old and does not have the cog related patches...
>
> The easiest would be to make a one-click with old vms for the book.
> Or we would need to find out (remember) exactly which patch is needed...

I guess there is something specific in the Pharo tracker, but there is also:
http://squeakvm.org/cgi-bin/viewcvs.cgi/branches/Cog/image/NecessaryImageChangesForCogToWork.1.cs?rev=2220&view=auto


Kind of related to that: does anyone have a Squeak 3.9 image running on top of Cog?
As far as I understand, the main issue is that the image needs to use Closures instead of old style blocks. Is that correct?

Thanks
Stefan



--
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax:   +32 2 629 3525


Reply | Threaded
Open this post in threaded view
|

Re: Pharo By Example - VM issues

Marcus Denker-4
In reply to this post by Marcus Denker-4

On Dec 1, 2011, at 10:56 AM, Stefan Marr wrote:

> Hi:
>
> On 01 Dec 2011, at 10:29, Marcus Denker wrote:
>
>> The image used for the book is very old and does not have the cog related patches...
>>
>> The easiest would be to make a one-click with old vms for the book.
>> Or we would need to find out (remember) exactly which patch is needed...
>
> I guess there is something specific in the Pharo tracker, but there is also:
> http://squeakvm.org/cgi-bin/viewcvs.cgi/branches/Cog/image/NecessaryImageChangesForCogToWork.1.cs?rev=2220&view=auto
>
>
> Kind of related to that: does anyone have a Squeak 3.9 image running on top of Cog?
> As far as I understand, the main issue is that the image needs to use Closures instead of old style blocks. Is that correct?

Yes. Would be quite some work, I think. Not impossible, but the question is if it would not be easier to change Pharo
or current Squeak (in case of MVC) for your needs.

        Marcus

--
Marcus Denker -- http://marcusdenker.de