Public bug reported:

The command ninja -t browse <target> should show the dependency graph of
<target> by first starting a python web server and then opening the
served page in a browser.

However, the browser reports an empty response. The command reports the
following errors:

Web server running on blue-star:8000, ctl-C to abort...
Web server pid 15280
Created new window in existing browser session.
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 43178)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 295, in 
_handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
    self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "<stdin>", line 171, in do_GET
  File "<stdin>", line 151, in ninja_dump
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
----------------------------------------
----------------------------------------

My system configuration:

Release:        Ubuntu 15.10
ninja-build: 1.3.4-1.1ubuntu1

** Affects: ninja-build (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518967

Title:
  Crash on ninja -t browse <target>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ninja-build/+bug/1518967/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to