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
Yes, there is an issue: https://pharo.fogbugz.com/f/cases/20094/Headless-mode-breaks-image <https://pharo.fogbugz.com/f/cases/20094/Headless-mode-breaks-image>
On 7 Jun 2017, at 11:17, Sven Van Caekenberghe <sven@stfx.eu> 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
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
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 <sven@stfx.eu> 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
On 7 Jun 2017, at 12:16, Juraj Kubelka <juraj.kubelka@icloud.com> 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 <sven@stfx.eu> 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
On Wed, Jun 7, 2017 at 5:17 PM, Sven Van Caekenberghe <sven@stfx.eu> 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
participants (6)
-
Ben Coman -
Esteban Lorenzano -
Juraj Kubelka -
K K Subbu -
Marcus Denker -
Sven Van Caekenberghe