Ian,
I have grabbed the standalone webkit from the webware sandbox.
I have edited FileLocations.ini and changed GlobalFileLocationConf in Server.py
When in the test directory I type ../../Server --EnableHTTP=yes --HTTPPort=8080 and get back
Traceback (most recent call last): File "../../Server.py", line 159, in ? setupPath() File "../../Server.py", line 9, in setupPath myDir = os.path.dirname(os.path.abspath(__file__)) NameError: global name '__file__' is not defined
I have tried with and without the changes to Server suggested by Ricardo.
I don't quite get that. I don't know why __file__ sometimes exists, and sometimes doesn't. It annoys me, because I can't always reproduce it. Maybe it's based on the Python version.
Anyway, I just checked in something that maybe will help -- if __file__ is missing it uses sys.argv[0].
-- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
