From: Geoffrey T. <gta...@na...> - 2003-05-22 18:43:37
|
Michael Montagne wrote: > I do seem to be starting the wrong file. > When I start ThreadedappServer, all is well. But as shown, it fails > to start. > > snipped from /etc/init.d/webkit: > WEBKIT_DIR=/home/michael/Webware > case "$1" in > start) > echo -n "Starting WebKit: " > pushd $WEBKIT_DIR > /dev/null > # LAUNCH='python Launch.py ThreadedAppServer' > LAUNCH="python Launch.py $WEBKIT_DIR/AppServer" > # LAUNCH="python Launch.py AppServer" > > > > results in this in /var/log/webkit: > Traceback (most recent call last): > File "Launch.py", line 35, in ? > main(sys.argv) > File "Launch.py", line 31, in main > WebKit.Launch.launchWebKit(args[1], appWorkPath, args[2:]) > File "Launch.py", line 47, in launchWebKit > main(sys.argv) > File "<string>", line 1 > from WebKit./home/michael/Webware/AppServer import main Let's take the init.d stuff out of the equation. What exactly happens if you type "python Launch.py ThreadedAppServer" in a shell in the working directory that was created by MakeAppWorkDir.py? I'm talking about a fresh working directory, newly created by running MakeAppWorkDir and without any additional modifications. - Geoff |