<div dir="ltr">Hi all,<div><br></div><div>I'm getting an error running JupyterHub. Right now all I'm doing is attempting to run it as root with no command-line options.</div><div><br></div><div>A couple of weeks ago I was trying to set it up and while I was running into issues, I wasn't getting this particular problem - I was able to at least run the command. I'm not sure if something has changed in Jupyter. Entirely possible that I made a mistake in my setup this time!</div><div><br></div><div>Any advice would be appreciated in interpreting the below errors.</div><div><br></div><div>Thanks,</div><div>Clare</div><div><br></div><div>Below is the output of `jupyterhub --debug`:</div><div><br></div><div><div>Traceback (most recent call last):</div><div>  File "/usr/lib/python2.7/logging/__init__.py", line 846, in emit</div><div>    msg = self.format(record)</div><div>  File "/usr/lib/python2.7/logging/__init__.py", line 723, in format</div><div>    return fmt.format(record)</div><div>  File "/usr/local/lib/python2.7/dist-packages/IPython/config/application.py", line 121, in format</div><div>    return super(LevelFormatter, self).format(record)</div><div>  File "/usr/lib/python2.7/logging/__init__.py", line 467, in format</div><div>    s = self._fmt % record.__dict__</div><div>KeyError: u'color'</div><div>Logged from file application.py, line 247</div><div>Traceback (most recent call last):</div><div>  File "/usr/lib/python2.7/logging/__init__.py", line 846, in emit</div><div>    msg = self.format(record)</div><div>  File "/usr/lib/python2.7/logging/__init__.py", line 723, in format</div><div>    return fmt.format(record)</div><div>  File "/usr/local/lib/python2.7/dist-packages/IPython/config/application.py", line 121, in format</div><div>    return super(LevelFormatter, self).format(record)</div><div>  File "/usr/lib/python2.7/logging/__init__.py", line 467, in format</div><div>    s = self._fmt % record.__dict__</div><div>KeyError: u'color'</div><div>Logged from file application.py, line 248</div><div>[D 23:39:03.030 JupyterHubApp] Connecting to db: sqlite:///jupyterhub.sqlite</div><div>[I 23:39:03.062 JupyterHubApp] Not using whitelist. Any authenticated user will be allowed.</div><div>[D 23:39:03.064 JupyterHubApp] Loaded users: </div><div>      ubuntu admin</div><div>[I 23:39:03.072 JupyterHubApp] Starting proxy: [u'configurable-http-proxy', '--ip', u'', '--port', '8000', '--api-ip', u'localhost', '--api-port', '8001', '--default-target', '<a href="http://localhost:8081">http://localhost:8081</a>']</div><div>23:39:03.178 - info: [ConfigProxy] Proxying http://*:8000 to <a href="http://localhost:8081">http://localhost:8081</a></div><div>23:39:03.180 - info: [ConfigProxy] Proxy API at <a href="http://localhost:8001/api/routes">http://localhost:8001/api/routes</a></div><div><br></div><div>events.js:72</div><div>        throw er; // Unhandled 'error' event</div><div>              ^</div><div>Error: listen EADDRINUSE</div><div>    at errnoException (net.js:904:11)</div><div>    at Server._listen2 (net.js:1042:14)</div><div>    at listen (net.js:1064:10)</div><div>    at net.js:1146:9</div><div>    at dns.js:72:18</div><div>    at process._tickCallback (node.js:419:13)</div><div>    at Function.Module.runMain (module.js:499:11)</div><div>    at startup (node.js:119:16)</div><div>    at node.js:906:3</div><div>[C 23:39:04.087 JupyterHubApp] Failed to start proxy</div><div>    Traceback (most recent call last):</div><div>      File "/usr/local/lib/python2.7/dist-packages/jupyterhub/app.py", line 727, in start</div><div>        IOLoop().run_sync(self.start_proxy)</div><div>      File "/usr/local/lib/python2.7/dist-packages/tornado/ioloop.py", line 389, in run_sync</div><div>        return future_cell[0].result()</div><div>      File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 129, in result</div><div>        raise_exc_info(self.__exc_info)</div><div>      File "/usr/local/lib/python2.7/dist-packages/tornado/stack_context.py", line 302, in wrapped</div><div>        ret = fn(*args, **kwargs)</div><div>      File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 574, in inner</div><div>        self.set_result(key, result)</div><div>      File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 500, in set_result</div><div>        self.run()</div><div>      File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 529, in run</div><div>        yielded = self.gen.throw(*exc_info)</div><div>      File "/usr/local/lib/python2.7/dist-packages/jupyterhub/app.py", line 556, in start_proxy</div><div>        _check()</div><div>      File "/usr/local/lib/python2.7/dist-packages/jupyterhub/app.py", line 552, in _check</div><div>        raise e</div><div>    RuntimeError: Proxy failed to start with exit code 8</div></div></div>