Hi,

On Tue, Apr 24, 2018 at 7:56 PM <[email protected]> wrote:

> 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
>
>
The cull_idle_servers.py script requires Python 3.6. It uses a new feature
called fstrings (
https://docs.python.org/3/whatsnew/3.6.html#pep-498-formatted-string-literals
)

T

-- 
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/CAN3x1RbEHiaPPVs%2B2KXePL6phnL-Quoc7otDuKevknC7E3222w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to