Bugs item #2376630, was opened at 2008-12-02 10:33 Message generated for change (Comment added) made by rich-digital You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=2376630&group_id=4866
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: WebKit Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Richard (rich-digital) Assigned to: Nobody/Anonymous (nobody) Summary: AllTests AppServer error on Windows Vista Initial Comment: I have just install Webware-1.0 on a Windows Vista PC with Python 2.5. The initial 'install.py -v' went through okay without any errors, but the 'Alltests.py' script produced an error as shown below. Running WebKit\AppServer causes an error relating to python which is because the command 'python' does nothing on my system, so I edited the AppServer.bat to set the PYTHON variable to point to my python executable. This allowed the 'AppServer' command to start the AppServer successfully, and I could connect to localhost:8080 without any problems. I shut this down ands ran the AllTests.py again, but I still get the same result shown below. ====================================================================== ERROR: testAppServerStarts (WebKit.Tests.Basic.Test.TestBasicFunctionality) ---------------------------------------------------------------------- Traceback (most recent call last): File "G:\www\Webware-1.0\WebKit\Tests\AppServerTest.py", line 41, in setUp self.assertAppServerSays('^WebKit AppServer ') File "G:\www\Webware-1.0\WebKit\Tests\AppServerTest.py", line 67, in assertApp ServerSays % (pattern, wait, self._actualAppServerOutput) AssertionError: Expected appserver to say '^WebKit AppServer ', but after waiting 5 seconds it said: ---------------------------------------------------------------------- Ran 77 tests in 16.844s FAILED (errors=1) ---------------------------------------------------------------------- >Comment By: Richard (rich-digital) Date: 2008-12-09 17:21 Message: Adding python to my path variable did indeed allow the AllTests.py script to run without errors. Thanks for explaining this. ---------------------------------------------------------------------- Comment By: Christoph Zwerschke (cito) Date: 2008-12-03 01:08 Message: As you already noticed, you can specify a Python version in AppServer.bat if you don't have Python on your PATH or if you want to use a different Python version. However, the AppServer test (in WebKit/Tests) does not call AppServer.bat, but runs Python with ThreadedAppServer as a shell command and thus needs Python on your PATH. I think we can live with that. On Unix, Python is usually on the PATH already, but on Windows the Python standard installer does not do this, so you should do it manually to make your life a bit easier (see http://www.imladris.com/Scripts/PythonForWindows.html). Please let me know whether the tests pass on your machine after putting Python on the PATH, I'm pretty confident they will. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=2376630&group_id=4866 ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Webware-devel mailing list Webware-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-devel