defeo / jupyterhub-docker

A configuration for a JupyterHub+DockerSpawner+CASAuthenticator server with Traefik proxy, based on docker-compose
https://opendreamkit.org/2018/10/17/jupyterhub-docker/
MIT License
202 stars 112 forks source link

some problem about "cull_idle_servers.py" #14

Closed nicegeeker closed 4 years ago

nicegeeker commented 4 years ago

When i start the server, an error occurred: [I 2020-01-10 01:47:14.646 JupyterHub service:121] Spawning python /srv/jupyterhub/cull_idle_servers.py --timeout=3600

File "/srv/jupyterhub/cull_idle_servers.py", line 64

SyntaxError: Non-ASCII character '\xc3' in file /srv/jupyterhub/cull_idle_servers.py on line 64, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

i tried add # -*- coding: utf-8 -*- or -*-coding:latin-1 -*- ,but didn't work

nicegeeker commented 4 years ago

fixed i didn't change the file in docker volumn