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: Paolo Bonzini
Subject: Re: [Help-smalltalk] gst-load prob -- more info
Date: Tue, 12 Jan 2010 18:37:41 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

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




reply via email to

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