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:
> case "$1" in
> 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 ?
> File "Launch.py", line 31, in main
> WebKit.Launch.launchWebKit(args, appWorkPath, args[2:])
> File "Launch.py", line 47, in launchWebKit
> 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