I am trying the code below in order to instantiate THttpServer with Pyroot:
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
from ROOT import *;
server = THttpServer(“http:8082;rw”);
Info in TCivetweb::Create: Starting HTTP server on port 8082
but when I try the link localhost:8082 on my web browser, I can’t access to the ThttpServer web interface. (But it works very well when I am directly on ROOT command line)
At the moment there is only the chance to call [quote]server.ProcessRequests()[/quote] manually so that the server reacts to requests. You could put that into a loop of yours until the problem has been solved properly.