Problem opening UI saved images

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

Problem opening UI saved images

Sven Van Caekenberghe-2
This has been reported before I believe, but there is something weird when saving images on the command line.

On macOS 10.12.5

$ curl get.pharo.org/60+vm | bash
...

$ ./pharo Pharo.image printVersion
[version] 6.0 #60499

$ ./pharo Pharo.image save one

$ ./pharo one.image printVersion
[version] 6.0 #60499

$ ./pharo one.image eval '42 factorial'
1405006117752879898543142606244511569936384000000000

$ ./pharo-ui one.image

Does not open the UI, no window, hangs, no error, nothing. Since the image itself still works, it must be a UI thing.

Sven
Reply | Threaded
Open this post in threaded view
|

Re: Problem opening UI saved images

Marcus Denker-4
Yes, there is an issue:

On 7 Jun 2017, at 11:17, Sven Van Caekenberghe <[hidden email]> wrote:

This has been reported before I believe, but there is something weird when saving images on the command line.

On macOS 10.12.5

$ curl get.pharo.org/60+vm | bash
...

$ ./pharo Pharo.image printVersion
[version] 6.0 #60499

$ ./pharo Pharo.image save one

$ ./pharo one.image printVersion
[version] 6.0 #60499

$ ./pharo one.image eval '42 factorial'
1405006117752879898543142606244511569936384000000000

$ ./pharo-ui one.image

Does not open the UI, no window, hangs, no error, nothing. Since the image itself still works, it must be a UI thing.

Sven

Reply | Threaded
Open this post in threaded view
|

Re: Problem opening UI saved images

K K Subbu
In reply to this post by Sven Van Caekenberghe-2
On Wednesday 07 June 2017 02:47 PM, Sven Van Caekenberghe wrote:
> $ ./pharo-ui one.image
>
> Does not open the UI, no window, hangs, no error, nothing. Since the
> image itself still works, it must be a UI thing.

It works as expected on Linux (32-bit code running on
64-bit Ubuntu 16.04). We need to rule out any damage to the image header.

Is the savedWindowSize reasonable? e.g.

  $ od -An -j 24 -N 4 -t d2 1.image
     665    976

Does it work if the image is saved thru GUI?

What if the image is saved on Linux or Windows and then started on Mac OS?

Regards .. Subbu

Reply | Threaded
Open this post in threaded view
|

Re: Problem opening UI saved images

Juraj Kubelka
In reply to this post by Sven Van Caekenberghe-2
Hi,

the thing is that the window has zero size. If you are able to find it on your screen, you can resize it.

Cheers,
Juraj


> El 07-06-2017, a las 11:17, Sven Van Caekenberghe <[hidden email]> escribió:
>
> This has been reported before I believe, but there is something weird when saving images on the command line.
>
> On macOS 10.12.5
>
> $ curl get.pharo.org/60+vm | bash
> ...
>
> $ ./pharo Pharo.image printVersion
> [version] 6.0 #60499
>
> $ ./pharo Pharo.image save one
>
> $ ./pharo one.image printVersion
> [version] 6.0 #60499
>
> $ ./pharo one.image eval '42 factorial'
> 1405006117752879898543142606244511569936384000000000
>
> $ ./pharo-ui one.image
>
> Does not open the UI, no window, hangs, no error, nothing. Since the image itself still works, it must be a UI thing.
>
> Sven


Reply | Threaded
Open this post in threaded view
|

Re: Problem opening UI saved images

EstebanLM

> On 7 Jun 2017, at 12:16, Juraj Kubelka <[hidden email]> wrote:
>
> Hi,
>
> the thing is that the window has zero size. If you are able to find it on your screen, you can resize it.

yes, there is a bug somewhere (I guess in the save primitive).
I need to see where is the problem… is confirmed in macOS, windows and linux? just in macOS?

Esteban

>
> Cheers,
> Juraj
>
>
>> El 07-06-2017, a las 11:17, Sven Van Caekenberghe <[hidden email]> escribió:
>>
>> This has been reported before I believe, but there is something weird when saving images on the command line.
>>
>> On macOS 10.12.5
>>
>> $ curl get.pharo.org/60+vm | bash
>> ...
>>
>> $ ./pharo Pharo.image printVersion
>> [version] 6.0 #60499
>>
>> $ ./pharo Pharo.image save one
>>
>> $ ./pharo one.image printVersion
>> [version] 6.0 #60499
>>
>> $ ./pharo one.image eval '42 factorial'
>> 1405006117752879898543142606244511569936384000000000
>>
>> $ ./pharo-ui one.image
>>
>> Does not open the UI, no window, hangs, no error, nothing. Since the image itself still works, it must be a UI thing.
>>
>> Sven
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Problem opening UI saved images

Ben Coman
In reply to this post by Sven Van Caekenberghe-2


On Wed, Jun 7, 2017 at 5:17 PM, Sven Van Caekenberghe <[hidden email]> wrote:
This has been reported before I believe, but there is something weird when saving images on the command line.

On macOS 10.12.5

$ curl get.pharo.org/60+vm | bash
...

$ ./pharo Pharo.image printVersion
[version] 6.0 #60499

$ ./pharo Pharo.image save one

$ ./pharo one.image printVersion
[version] 6.0 #60499

$ ./pharo one.image eval '42 factorial'
1405006117752879898543142606244511569936384000000000

$ ./pharo-ui one.image

Does not open the UI, no window, hangs, no error, nothing. Since the image itself still works, it must be a UI thing.

Sven

What do you get doing "something" like...

$ ./pharo-ui one.image eval 'WorldMorph installNewWorld' 

cheers -ben