I'm trying to setup the cull idle service, and am running into the 
following error:

[I 2018-04-24 13:52:44.679 JupyterHub service:266] Starting service 
'cull-idle': ['python3', '/etc/jupyterhub/cull_idle_servers.py', 
'--timeout=3600']
[I 2018-04-24 13:52:44.682 JupyterHub service:109] Spawning python3 
/etc/jupyterhub/cull_idle_servers.py --timeout=3600
  File "/etc/jupyterhub/cull_idle_servers.py", line 78
    return f"{h:02}:{m:02}:{seconds:02}"
                                       ^
SyntaxError: invalid syntax


Running it directly from the command line returns the same error.

# python3 cull_idle_servers.py 
  File "cull_idle_servers.py", line 78
    return f"{h:02}:{m:02}:{seconds:02}"
                                       ^
SyntaxError: invalid syntax


This is using the current file downloaded today from 
https://github.com/jupyterhub/jupyterhub/blob/master/examples/cull-idle/cull_idle_servers.py

Has anyone else run into this and have suggestions?

Thanks,

-Dj

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/8f7c283a-8a70-41a4-83ec-4d1151aa234b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to