help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] gst-load prob -- more info


From: Duke Normandin
Subject: Re: [Help-smalltalk] gst-load prob -- more info
Date: Tue, 12 Jan 2010 12:01:32 -0700 (MST)
User-agent: Alpine 2.01 (OSX 1266 2009-07-14)

On Tue, 12 Jan 2010, Paolo Bonzini wrote:

[snip]

> Aha, gotcha.  This should be documented (or fixed...).
>
> You cannot do gst-load on the system image because it's not writeable by
> you.  You need to create one with:
>
>    gst -i
>
> or for example
>
>    gst -I ~/test/gst.im -i

OK... so I did a:

gst -I test_image.im -i

dnormandin@ ~/programming/smalltalk/gst
11:56 am >> ls -l test_image.im
-rw-r--r--  1 dnormandin  dnormandin  1696856 12 Jan 11:47 test_image.im

now I do whatever in gst....
How do I save the image when I exit?

> and then
>
>    gst-load Whatever

dnormandin@ ~/programming/smalltalk/gst
11:57 am >> gst-load Blox
Object: File error: Permission denied
SystemExceptions.FileError(Exception)>>signal (AnsiExcept.st:216)
SystemExceptions.FileError class(Exception class)>>signal:
(AnsiExcept.st:79)
File class>>checkError: (File.st:85)
File class>>checkError (File.st:74)
ObjectMemory class>>primSnapshot: (ObjMemory.st:311)
ObjectMemory class>>snapshot (ObjMemory.st:318)
optimized [] in UndefinedObject>>executeStatements
(/opt/local/share/smalltalk/scripts/Load.st:153)
False>>ifTrue:ifFalse: (False.st:51)
UndefinedObject>>executeStatements 
(/opt/local/share/smalltalk/scripts/Load.st:152)

> For this reason, "gst-browser" actually loads the browser but does not save
> the image---the saving occurs from the File/Save menu item, which will pop
> up a dialog if the image is not writeable.

dnormandin@ ~/programming/smalltalk/gst
11:58 am >> gst-browser
-bash: gst-browser: command not found

????

> After you have an image, you can start it with -I or you can make it
> executable and just execute it.

OK
-- 
duke




reply via email to

[Prev in Thread] Current Thread [Next in Thread]