Bugs item #2376630, was opened at 2008-12-02 11:33
Message generated for change (Comment added) made by cito
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: Open
Resolution: None
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: Christoph Zwerschke (cito)
Date: 2008-12-03 02: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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to