Giter Site home page Giter Site logo

Comments (7)

minrk avatar minrk commented on May 18, 2024

what image are you using?

from dockerspawner.

vroomanj avatar vroomanj commented on May 18, 2024

Sorry, I should have mentioned that. I am attempting to use the image pulled from Docker Hub.

from dockerspawner.

richjoyce avatar richjoyce commented on May 18, 2024

I've also got this problem, using the systemuser image

from dockerspawner.

richjoyce avatar richjoyce commented on May 18, 2024

It looks like the new user created doesn't get the proper PATH variable, this is truncated output from sudo -E -u $USER sh -c export

PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'

If I modify the script to say sudo -E PATH="/opt/conda/bin:$PATH" -u $USER ... then it gets past this error and runs the notebook but more problems occur, with a connection causing a bunch of exceptions. Not sure if this is related or not to the root issue.

from dockerspawner.

minrk avatar minrk commented on May 18, 2024

That's probably on the right track. I bet it's a change in the upstream image.

from dockerspawner.

minrk avatar minrk commented on May 18, 2024

This should be working after #62

from dockerspawner.

richjoyce avatar richjoyce commented on May 18, 2024

I can't get it to work, either singleuser or systemuser. I had to make a modification for systemuser (#63) but when I try to login to jupyterhub the jupyter docker crashes. Here is a short version of the log:

/opt/conda/lib/python3.4/site-packages/IPython/utils/traitlets.py:5: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
  warn("IPython.utils.traitlets has moved to a top-level traitlets package.")
[I 2016-01-15 21:05:24.282 testing notebookapp:499] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret
[I 2016-01-15 21:05:24.584 testing notebookapp:1063] Serving notebooks from local directory: /home/jovyan/work
[I 2016-01-15 21:05:24.586 testing notebookapp:1063] 0 active kernels
[I 2016-01-15 21:05:24.591 testing notebookapp:1063] The IPython Notebook is running at: http://0.0.0.0:8888/user/testing/
[I 2016-01-15 21:05:24.593 testing notebookapp:1064] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 2016-01-15 21:05:24.614 testing log:47] 302 GET /user/testing (172.17.0.1) 10.53ms
[I 2016-01-15 21:05:24.680 testing log:47] 302 GET /user/testing/ (192.168.56.1) 0.97ms
[E 2016-01-15 21:05:24.721 testing web:1524] Uncaught exception GET /user/testing/tree (192.168.56.1)
    HTTPServerRequest(protocol='http', host='192.168.56.101:8000', method='GET', uri='/user/testing/tree', version='HTTP/1.1', remote_ip='192.168.56.1', headers={'X-Forwarded-Port': '8000', 'Upgrade-Insecure-Requests': '1', 'Accept-Encoding': 'gzip, deflate, sdch', 'X-Forwarded-Proto': 'http', 'Referer': 'http://192.168.56.101:8000/hub/home', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'X-Forwarded-For': '192.168.56.1', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36', 'Host': '192.168.56.101:8000', 'Accept-Language': 'en-US,en;q=0.8', 'Connection': 'close', 'Cookie': 'jupyter-hub-token-testing="2|1:0|10:1452891924|25:jupyter-hub-token-testing|44:OGMwOWFhYzA4MTkzNDNiZTg1NWQxYjAwOTA1OGY0MmU=|747461b044b1cf193e63e870259bd34a99f4e7cf82fdaf274ddf611681f4ea9a"'})
    Traceback (most recent call last):
...
    TypeError: <tornado.httputil.HTTPHeaders object at 0x7fc0c86e57b8> is not JSON serializable

from dockerspawner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.