[IPython-dev] Jupyter Hub login problem

Dong Ta dongta.hds at gmail.com
Fri Oct 24 04:17:50 EDT 2014


Hi Min,

I followed the instructions on the homepage. I installed the hub using *pip
install .*

   - If I start jupyterhub using the admin account. Then I can only log in
   using the admin account and not other accounts (although I've added other
   accounts to the hub as).
   - If I start with sudo /etc/anaconda/bin/jupyterhub, then I cannot log
   in using any account (500 error on the browser). Here's the error in the
   terminal.

    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/tornado/web.py", line 1273, in
_when_complete
        if result.result() is not None:
      File "/usr/lib/python2.7/site-packages/tornado/concurrent.py", line
129, in result
        raise_exc_info(self.__exc_info)
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 227, in
wrapper
        runner.run()
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 529, in
run
        yielded = self.gen.throw(*exc_info)
      File "/usr/lib/python2.7/site-packages/jupyterhub/handlers/login.py",
line 60, in post
        yield self.spawn_single_user(user)
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 557, in
run
        self.yield_point.start(self)
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 399, in
start
        self.result = self.future.result()
      File "/usr/lib/python2.7/site-packages/tornado/concurrent.py", line
129, in result
        raise_exc_info(self.__exc_info)
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 227, in
wrapper
        runner.run()
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 529, in
run
        yielded = self.gen.throw(*exc_info)
      File "/usr/lib/python2.7/site-packages/jupyterhub/handlers/base.py",
line 171, in spawn_single_user
        config=self.config,
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 557, in
run
        self.yield_point.start(self)
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 399, in
start
        self.result = self.future.result()
      File "/usr/lib/python2.7/site-packages/tornado/concurrent.py", line
129, in result
        raise_exc_info(self.__exc_info)
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 227, in
wrapper
        runner.run()
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 529, in
run
        yielded = self.gen.throw(*exc_info)
      File "/usr/lib/python2.7/site-packages/jupyterhub/orm.py", line 322,
in spawn
        yield spawner.start()
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 557, in
run
        self.yield_point.start(self)
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 399, in
start
        self.result = self.future.result()
      File "/usr/lib/python2.7/site-packages/tornado/concurrent.py", line
129, in result
        raise_exc_info(self.__exc_info)
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 227, in
wrapper
        runner.run()
      File "/usr/lib/python2.7/site-packages/tornado/gen.py", line 531, in
run
        yielded = self.gen.send(next)
      File "/usr/lib/python2.7/site-packages/jupyterhub/spawner.py", line
368, in start
        preexec_fn=self.make_preexec_fn(self.user.name),
      File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
        errread, errwrite)
      File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory
[E 07:51:18.294 JupyterHubApp] Could not open static file
u'/usr/share/jupyter/static/images/favicon.ico'
[E 07:51:18.296 JupyterHubApp] 500 POST /hub/login?next= (127.0.0.1)
341.50ms

DT

On Thu, Oct 23, 2014 at 7:20 PM, Min RK <benjaminrk at gmail.com> wrote:

> How have you configured the Hub? What user is running the server? Can you
> include log output? Possibly after running with `--debug`?
>
> -MinRK
>
> On Oct 23, 2014, at 14:06, Dong Ta <dongta.hds at gmail.com> wrote:
>
> Hi,
>
> I ran the jupyterhub command as an admin user. I can log in using the
> admin credential. However, I cannot log in using a different user's
> credential. I would get this error message.
>
> {'error': 'Invalid username or password'}
>
> That account does exist and I've made sure that the username/password is
> correct.
>
> What am I missing here?
>
> DT
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141024/2d123475/attachment.html>


More information about the IPython-dev mailing list