Web Demo server not working with Jython

Issue #3 new
giancarlo petrarca created an issue

Web demo server is launched via Jython. When trying to reach http://localhost:7272 from a Web Browser, the login page is not rendered and following errors are logged on server:

C:\Users\User\Desktop\robotframework-webdemo-9206bb637e9d>jython demoapp\server.py Demo server starting on port 7272. 127.0.0.1 - - [02/Oct/2018 15:00:24] code 404, message File not found 127.0.0.1 - - [02/Oct/2018 15:00:24] "GET /robots.txt HTTP/1.1" 404 - 127.0.0.1 - - [02/Oct/2018 15:00:24] "GET / HTTP/1.1" 200 -


Exception happened during processing of request from ('127.0.0.1', 60299) Traceback (most recent call last): File "C:\jython2.7.0\Lib\SocketServer.py", line 601, in process_request_thread self.finish_request(request, client_address) File "C:\jython2.7.0\Lib\SocketServer.py", line 334, in finish_request self.RequestHandlerClass(request, client_address, self) File "C:\jython2.7.0\Lib\SocketServer.py", line 657, in init self.handle() File "C:\jython2.7.0\Lib\BaseHTTPServer.py", line 351, in handle self.handle_one_request() File "C:\jython2.7.0\Lib\BaseHTTPServer.py", line 339, in handle_one_request method() File "C:\jython2.7.0\Lib\BaseHTTPServer.py", line 339, in handle_one_request method() File "C:\jython2.7.0\Lib\SimpleHTTPServer.py", line 44, in do_GET f = self.send_head() File "C:\jython2.7.0\Lib\SimpleHTTPServer.py", line 93, in send_head fs = os.fstat(f.fileno()) if hasattr(os, 'fstat') else os.stat(path) OSError: [Errno 9] Bad file descriptor


Comments (1)

  1. Log in to comment