pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

Access to old image / source

JJ
Jupiter Jones
Mon, Nov 8, 2021 8:31 AM

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

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
GP
Guillermo Polito
Mon, Nov 8, 2021 8:57 AM

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

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
JJ
Jupiter Jones
Mon, Nov 8, 2021 11:50 AM

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

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 >
TM
Tim Mackinnon
Mon, Nov 8, 2021 12:18 PM

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

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 >> >
JJ
Jupiter Jones
Mon, Nov 8, 2021 1:25 PM

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

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 >>> >>
DT
David T. Lewis
Mon, Nov 8, 2021 9:31 PM

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

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
JJ
Jupiter Jones
Fri, Nov 12, 2021 11:17 AM

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

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
TM
Tim Mackinnon
Fri, Nov 12, 2021 11:40 AM

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

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