jupyter-on-openshift / jupyterhub-quickstart

OpenShift compatible version of the JupyterHub application.
Apache License 2.0
102 stars 107 forks source link

Tracking: Image centos/python-35-centos broken #4

Closed vpavlin closed 6 years ago

vpavlin commented 6 years ago

I've noticed I cannot run jupyterhub anymore due to error described in https://github.com/sclorg/s2i-python-container/issues/246

Upgrade to 3.6 brings in different error

+ exec jupyterhub -f /opt/app-root/etc/jupyterhub_config.py
Traceback (most recent call last):
  File "/opt/app-root/bin/jupyterhub", line 3, in <module>
    from jupyterhub.app import main
  File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 118, in <module>
    class NewToken(Application):
  File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 134, in NewToken
    name = Unicode(getuser())
  File "/opt/rh/rh-python36/root/usr/lib64/python3.6/getpass.py", line 169, in getuser
    return pwd.getpwuid(os.getuid())[0]
KeyError: 'getpwuid(): uid not found: 1000930000'
GrahamDumpleton commented 6 years ago

If this is the case they must have just updated it and broken something. :-(

Will look at this morning.

GrahamDumpleton commented 6 years ago

Closing as solution found in linked issue.