Re: [jupyter] bug with logout?

2018-01-19 Thread Lawrence D’Oliveiro
On Saturday, January 20, 2018 at 4:59:06 AM UTC+13, Tim Harsch wrote: > > ... we need to configure our app to have a persistent store of invalidated > tokens to ensure they can't be re-used after logout. > Surely it’s the other way round, the usual practice being to maintain a store of *valid*

Re: [jupyter] Invalidate spawn in pre_spawn_hook?

2018-01-19 Thread Tim Harsch
Thank you Michael, that is very helpful. In this case I am using pre_spawn_hook, in lieu of a spawner options form. So I think the exceptions are causing havoc to the server. I went the route of the pre_spawn_hook because in my case because the user doesn't need to inform the hub of the

Re: [jupyter] Invalidate spawn in pre_spawn_hook?

2018-01-19 Thread Michael Milligan
Hi, The Spawner's start() function is called unconditionally after pre_spawn_hook() returns, so you're correct that the return value will have no effect. However, if you raise an exception, it will be caught by the app and the associated error message will be logged. There are some cases where

[jupyter] Invalidate spawn in pre_spawn_hook?

2018-01-19 Thread Tim Harsch
Hi all, Is there a way in the pre_spawn_hook I could invalidate the spawn? return True/False doesn't work. I'd like it to ultimately produce a user friendly result to the user if an issue occurs Thanks, Tim -- You received this message because you are subscribed to the Google Groups

Re: [jupyter] Re: Online converter notebook->html

2018-01-19 Thread Carol Willing
Hi Angel, Folks have given you good tips so far. If you are simply looking to display a notebook (non-interactive), you may wish to try this nbconvert, GitHub gist, and oEmbed solution mentioned on stack overflow

Re: [jupyter] bug with logout?

2018-01-19 Thread Tim Harsch
I see your point. But the issue is compounded by the fact that since the logout is occurring through the REST API, the browser still maintains the cookie. So, after performing logout on command line I can go back to the browser and continue to have access. We recently underwent a security

Re: [jupyter] Re: Online converter notebook->html

2018-01-19 Thread Angel Marchev, Jr.
but it can not be integrated into simple WP web Virus-free. www.avg.com

Re: [jupyter] JupyterHub Not able to Login SUSE Linux 11 SP3 OS

2018-01-19 Thread Matthias Bussonnier
Are you able to just "import babel" from a Python shell ? It looks like (on my machine) babel is doing: try: LOCALTZ = get_localzone() except pytz.UnknownTimeZoneError: LOCALTZ = _FallbackLocalTimezone() Where get_localzone() trigger the error. I'm guessing it may need to also catch

[jupyter] No code runs?????????

2018-01-19 Thread WOX GAMER
*: i was using the notebook when suddenly no code runs and the kernal says* *adapting to protocol v5.1* *plz help* -- 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

[jupyter] JupyterHub Not able to Login SUSE Linux 11 SP3 OS

2018-01-19 Thread Karthik Pitchaimani
Hi Team, I was getting the below exception. I have not created any specific jupyterusergroup, created a Linux user and added them to shadow and wheel group. Should we need to create a separate group or? OS: SUSE Linux 11 SP3 and JupyterHub 0.8.1 Kindly help me to fix this issues. **For