On 01/12/2010 06:20 PM, Duke Normandin wrote:
dnormandin@ ~/programming/smalltalk/gst
10:15 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)

I changed the perms on gst.im to u+x. Didn't help obviously. What
should th eperms be for an image file?

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

and then

   gst-load Whatever

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.

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

Paolo


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to