Don't know whether it fell of or not. I had the same (or similar)
problem you describe (restoring a saved image either did not work).
After a lot of fiddling (I could not reproduce the bug in headfull mode
so debugging was ... interesting ...) I found out that I simply had to
fork a separate process to do the saving, since triggering it in the
action did not work (I did not figure out why exactly). Once forked
(with a semaphor to delay the action), everything works fine.
On 15 Mar 2005, at 18:02, Alexandre Bergel wrote:
Hi Roel!
I tried a similar approach 1 (or 2?) year(s) ago. I bumped into some
problem that I couldn't load an headless image that was previously
saved.
Apparently this bug went off...
Alexandre
On Mon, Mar 14, 2005 at 06:11:59PM +0100, Roel Wuyts wrote:
Hello,
after some fiddling I managed to run SmallWiki 1 in headless mode with
VisualWorks. I added a number of actions (in an extension, of course)
to save an image, quit it, save-and-quit it so that I can launch
SmallWiki as a daemon when the machine boots, and with the intention
to
save it when the machine goes down (need to test this further since I
do not know whether OS-X will actually wait until my script is
finished
before killing the headless-VW process, but ok). I added the necessary
Mac OS-X config files to do this (configurable and all).
Are other people in need of this? Is there a good place to put these
things? CincomStore maybe? With a description on some SmallWiki page?
Maybe other people can chime in and put their
configurations/scripts/batch files for other OS-s and Smalltalk
versions (or, ahum, maybe it already exists and I overlooked it)?
--
Roel Wuyts
DeComp
roel.wuyts(a)ulb.ac.be Université Libre de
Bruxelles
http://homepages.ulb.ac.be/~rowuyts/
Belgique
Vice-President of the European Smalltalk Users Group:
www.esug.org
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Roel Wuyts
DeComp
roel.wuyts(a)ulb.ac.be Université Libre de
Bruxelles
Belgique
Vice-President of the European Smalltalk Users Group: