Access to old image / source
I have an old image Iâd like to recover some code from. When I try to launch in Pharo 2 (from memory it was written in Pharo 2) I get this error: This interpreter (vers. 6505) cannot read image file (vers. 6502). It looks close :) How do I go about finding a VM that will open that image? Thanks in advance. Jupiter
Hi Jupiter, The simplest I could propose, for any user, is to try to import it in the Pharo launcher. The Pharo launcher leverages the version number and solves all this for you: It extracts the image version from the image file and based on that information it will download and launch the image with the corresponding VM. You may try the âfrom diskâ and âimportâ commands: Tell us if that worked, G
El 8 nov 2021, a las 9:31, Jupiter Jones <jupiter.jones@mail.com> escribió:
I have an old image Iâd like to recover some code from.
When I try to launch in Pharo 2 (from memory it was written in Pharo 2) I get this error:
This interpreter (vers. 6505) cannot read image file (vers. 6502).
It looks close :)
How do I go about finding a VM that will open that image?
Thanks in advance.
Jupiter
Thanks Guillermo - thatâs what that import button is for :) I gave it a go and got this message⦠Doesnât look good. Would this mean the code is now lost? Or is there something else I can try? Cheers, J
On 8 Nov 2021, at 7:57 pm, Guillermo Polito <guillermopolito@gmail.com> wrote:
Hi Jupiter,
The simplest I could propose, for any user, is to try to import it in the Pharo launcher. The Pharo launcher leverages the version number and solves all this for you: It extracts the image version from the image file and based on that information it will download and launch the image with the corresponding VM.
You may try the âfrom diskâ and âimportâ commands: <PastedGraphic-1.png>
Tell us if that worked, G
El 8 nov 2021, a las 9:31, Jupiter Jones <jupiter.jones@mail.com <mailto:jupiter.jones@mail.com>> escribió:
I have an old image Iâd like to recover some code from.
When I try to launch in Pharo 2 (from memory it was written in Pharo 2) I get this error:
This interpreter (vers. 6505) cannot read image file (vers. 6502).
It looks close :)
How do I go about finding a VM that will open that image?
Thanks in advance.
Jupiter
Itâs better if you can launch your image - but your .changes file should also have all your code (albeit, itâs a bit of a hunt it down affair to re-assemble it) Tim
On 8 Nov 2021, at 11:50, Jupiter Jones <jupiter.jones@mail.com> wrote:
Thanks Guillermo - thatâs what that import button is for :)
I gave it a go and got this messageâ¦
Doesnât look good. Would this mean the code is now lost? Or is there something else I can try?
Cheers,
J
On 8 Nov 2021, at 7:57 pm, Guillermo Polito <guillermopolito@gmail.com> wrote:
Hi Jupiter,
The simplest I could propose, for any user, is to try to import it in the Pharo launcher. The Pharo launcher leverages the version number and solves all this for you: It extracts the image version from the image file and based on that information it will download and launch the image with the corresponding VM.
You may try the âfrom diskâ and âimportâ commands: <PastedGraphic-1.png>
Tell us if that worked, G
El 8 nov 2021, a las 9:31, Jupiter Jones <jupiter.jones@mail.com> escribió:
I have an old image Iâd like to recover some code from.
When I try to launch in Pharo 2 (from memory it was written in Pharo 2) I get this error:
This interpreter (vers. 6505) cannot read image file (vers. 6502).
It looks close :)
How do I go about finding a VM that will open that image?
Thanks in advance.
Jupiter
Thanks Tim - thatâs what Iâm doing now. This has taught me not to remove old repoâs :) Thanks guys for your help. Cheers, J
On 8 Nov 2021, at 11:18 pm, Tim Mackinnon <tim@testit.works> wrote:
Itâs better if you can launch your image - but your .changes file should also have all your code (albeit, itâs a bit of a hunt it down affair to re-assemble it)
Tim
On 8 Nov 2021, at 11:50, Jupiter Jones <jupiter.jones@mail.com> wrote:
Thanks Guillermo - thatâs what that import button is for :)
I gave it a go and got this messageâ¦
<launcherError.png>
Doesnât look good. Would this mean the code is now lost? Or is there something else I can try?
Cheers,
J
On 8 Nov 2021, at 7:57 pm, Guillermo Polito <guillermopolito@gmail.com <mailto:guillermopolito@gmail.com>> wrote:
Hi Jupiter,
The simplest I could propose, for any user, is to try to import it in the Pharo launcher. The Pharo launcher leverages the version number and solves all this for you: It extracts the image version from the image file and based on that information it will download and launch the image with the corresponding VM.
You may try the âfrom diskâ and âimportâ commands: <PastedGraphic-1.png>
Tell us if that worked, G
El 8 nov 2021, a las 9:31, Jupiter Jones <jupiter.jones@mail.com <mailto:jupiter.jones@mail.com>> escribió:
I have an old image Iâd like to recover some code from.
When I try to launch in Pharo 2 (from memory it was written in Pharo 2) I get this error:
This interpreter (vers. 6505) cannot read image file (vers. 6502).
It looks close :)
How do I go about finding a VM that will open that image?
Thanks in advance.
Jupiter
On Mon, Nov 08, 2021 at 07:31:12PM +1100, Jupiter Jones wrote:
I have an old image I???d like to recover some code from.
When I try to launch in Pharo 2 (from memory it was written in Pharo 2) I get this error:
This interpreter (vers. 6505) cannot read image file (vers. 6502).
It looks close :)
How do I go about finding a VM that will open that image?
Thanks in advance.
Hi Jupiter, You probably can run your old image in a web browser at http://try.squeak.org/ Just drag and drop the image, changes and source files onto the web page. HTH, Dave
Wow! Thatâs crazy - it just opened. Thanks Dave for the link. It was getting painful digging through changes.
On 9 Nov 2021, at 8:31 am, David T. Lewis <lewis@mail.msen.com> wrote:
On Mon, Nov 08, 2021 at 07:31:12PM +1100, Jupiter Jones wrote:
I have an old image I???d like to recover some code from.
When I try to launch in Pharo 2 (from memory it was written in Pharo 2) I get this error:
This interpreter (vers. 6505) cannot read image file (vers. 6502).
It looks close :)
How do I go about finding a VM that will open that image?
Thanks in advance.
Hi Jupiter,
You probably can run your old image in a web browser at http://try.squeak.org/ Just drag and drop the image, changes and source files onto the web page.
HTH, Dave
That is impressive ... good tip for the future. On Fri, 12 Nov 2021, at 11:17 AM, Jupiter Jones wrote:
Wow! Thatâs crazy - it just opened.
Thanks Dave for the link. It was getting painful digging through changes.
On 9 Nov 2021, at 8:31 am, David T. Lewis <lewis@mail.msen.com> wrote:
On Mon, Nov 08, 2021 at 07:31:12PM +1100, Jupiter Jones wrote:
I have an old image I???d like to recover some code from.
When I try to launch in Pharo 2 (from memory it was written in Pharo 2) I get this error:
This interpreter (vers. 6505) cannot read image file (vers. 6502).
It looks close :)
How do I go about finding a VM that will open that image?
Thanks in advance.
Hi Jupiter,
You probably can run your old image in a web browser at http://try.squeak.org/ Just drag and drop the image, changes and source files onto the web page.
HTH, Dave
participants (4)
-
David T. Lewis -
Guillermo Polito -
Jupiter Jones -
Tim Mackinnon