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* tokens, with a finite lifetime attached to each (perhaps 
reset when they get presented again). The tokens get deleted either on 
explicit logout or implicitly on lifetime expiry. Anything that isn’t 
currently recognized from the store entries is invalid.

-- 
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 jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/e41a1fa2-afe8-4f24-91f1-75a694e501e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 docker image, it can be done in the 
hook.   But that's where an issue could arise..  and I'm not sure to handle 
it gracefully.

Tim


On Friday, January 19, 2018 at 9:44:34 AM UTC-8, Michael Milligan wrote:
>
> 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 
> exception error messages are displayed to the user. If I'm correctly 
> interpreting the code, in this case a message will be displayed *if* you 
> have a spawner options form set up.
>
> Michael
>
> On Fri, Jan 19, 2018 at 11:06 AM, Tim Harsch  > wrote:
>
>> 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 
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jupyter+u...@googlegroups.com .
>> To post to this group, send email to jup...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jupyter/97c1bbb1-ada9-44b0-ad68-aff8b1181e94%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Michael Milligan, Ph.D. | Supercomputing Institute
> Assistant Director for  | University of Minnesota
>Application Development  | mill...@umn.edu 
> www.msi.umn.edu/staff/milligan  | Phone: 612-624-8857
>

-- 
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 jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/8cece011-11eb-4053-86e0-13ca6a0c8cd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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
exception error messages are displayed to the user. If I'm correctly
interpreting the code, in this case a message will be displayed *if* you
have a spawner options form set up.

Michael

On Fri, Jan 19, 2018 at 11:06 AM, Tim Harsch  wrote:

> 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
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+unsubscr...@googlegroups.com.
> To post to this group, send email to jupyter@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/97c1bbb1-ada9-44b0-ad68-aff8b1181e94%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Michael Milligan, Ph.D. | Supercomputing Institute
Assistant Director for  | University of Minnesota
   Application Development  | milli...@umn.edu
www.msi.umn.edu/staff/milligan  | Phone: 612-624-8857

-- 
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 jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPuy8gp%3DhbGz-8Nd0ny-8dkt9smTgXaGLqo0xane%2BM%3DGChiE8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[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 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/97c1bbb1-ada9-44b0-ad68-aff8b1181e94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 
(https://stackoverflow.com/questions/43339162/how-to-convert-jupyter-notebook-to-wordpress-suitable-html
 
).

Alternatively, there are static site generators (nikola and hugo) that support 
notebook display.

Good luck!

> On Jan 19, 2018, at 7:31 AM, Angel Marchev, Jr.  wrote:
> 
> but it can not be integrated into simple WP web
> 
>  
> 
>  Virus-free. www.avg.com 
> 
>  
> 
> On Fri, Jan 19, 2018 at 1:56 AM, Lawrence D’Oliveiro  > wrote:
> On Wednesday, January 17, 2018 at 11:38:38 AM UTC+13, Angel Marchev, Jr. 
> wrote:
> 
> ...my saved notebook ... is converted to standard html form ...
> 
> Isn’t that what happens when viewing it in the browser? 
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Project Jupyter" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/jupyter/NyFu0kdB9Ik/unsubscribe 
> .
> To unsubscribe from this group and all its topics, send an email to 
> jupyter+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to jupyter@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jupyter/63f3c15a-5d3f-4d60-a2dd-fe388d26d8ab%40googlegroups.com
>  
> .
> 
> For more options, visit https://groups.google.com/d/optout 
> .
> 
> 
> -- 
> 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 jupyter+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to jupyter@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jupyter/CA%2BkWZMAC9AqMt83OE38eRJfPxWu9VfeFrbwxsnw1JnW9HPmF_Q%40mail.gmail.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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 jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/3E8BEC97-68FC-4C04-AF29-92CCB53C58E0%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 evaluation of our app, which uses JWT and 
we were told that we have the same problem in that we need to configure our 
app to have a persistent store of invalidated tokens to ensure they can't 
be re-used after logout.   It seems that would be the best security 
practice.  Since in my use case I'm using jwtauthenticator, I was planning 
to submit a PR to make that option available in the authenticator.   That 
wouldn't make sense unless the protection were there for the jupyter token 
as well.


On Friday, January 19, 2018 at 2:29:46 AM UTC-8, takowl wrote:
>
> Logging out should clear the cookie in the browser, but if you've taken a 
> copy of the cookie before that, it's still valid.
>
> On 19 January 2018 at 00:05, Tim Harsch  
> wrote:
>
>> I'm trying to understand the logout chain in jupyterhub/notebooks.  
>>  version 0.8.1 and 5.1.0 respectively.   I'm using dockerspawner and 
>> jwtauthenticator.
>>
>> I would like to effect a logout from outside the UI, so I tried using the 
>> API token and that doesn't seem to work as I get a 403.   So I started 
>> experimenting and performed this simple test:
>>
>> login to jupyterhub with chrome developer tools.   in network tab 
>> right-click copy /user/{name}/api/contents call as curl command.execute 
>> the command at the terminal (which includes Cookie header).  Notice success 
>> with JSON.
>> go to UI and choose logout in UI.   
>> repeat curl command and notice same result.  I'm allowed in to a logged 
>> out session with the Cookie token.  Does this seem like a bug? or I wonder 
>> if it has to do with my fairly specific environment?
>>
>> Thanks,
>> Tim
>>
>> -- 
>> 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 jupyter+u...@googlegroups.com .
>> To post to this group, send email to jup...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jupyter/fbb689b6-ca3d-4c7c-abfe-e7ee5fee7cee%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/50fee32e-4b4c-4482-bd88-0c1ffed3e5c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Fri, Jan 19, 2018 at 1:56 AM, Lawrence D’Oliveiro  wrote:

> On Wednesday, January 17, 2018 at 11:38:38 AM UTC+13, Angel Marchev, Jr.
> wrote:
>
>>
>>> ...my saved notebook ... is converted to standard html form ...
>>
>
> Isn’t that what happens when viewing it in the browser?
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Project Jupyter" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jupyter/NyFu0kdB9Ik/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jupyter+unsubscr...@googlegroups.com.
> To post to this group, send email to jupyter@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/63f3c15a-5d3f-4d60-a2dd-fe388d26d8ab%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CA%2BkWZMAC9AqMt83OE38eRJfPxWu9VfeFrbwxsnw1JnW9HPmF_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 *PermissionError.*
-
Matthias


On 19 January 2018 at 00:33, Karthik Pitchaimani 
wrote:

> 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 ubuntu VM no issues, I can be able to login without issues.
>
>
> 500 : Internal Server
> [D 2018-01-14 21:11:47.760 JupyterHub user:184] Creating  'jupyterhub.spawner.LocalProcessSpawner'> for lta-uat-jupyter:
> [D 2018-01-14 21:11:47.761 JupyterHub app:1211] Loading state for
> lta-uat-jupyter from db
> [D 2018-01-14 21:11:47.761 JupyterHub app:1236] lta-uat-jupyter not running
> [D 2018-01-14 21:11:47.763 JupyterHub app:1241] Loaded users:
> lta-uat-jupyter
> [I 2018-01-14 21:11:47.767 JupyterHub app:1528] Hub API listening on
> http://0.0.0.0:8081/hub/
> [W 2018-01-14 21:11:47.768 JupyterHub proxy:415]
> Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require
> restarting the proxy.
> Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to
> avoid this message.
>
> [W 2018-01-14 21:11:47.768 JupyterHub proxy:456] Running JupyterHub
> without SSL. I hope there is SSL termination happening somewhere else...
> [I 2018-01-14 21:11:47.768 JupyterHub proxy:458] Starting proxy @
> http://0.0.0.0:8000/
> [D 2018-01-14 21:11:47.768 JupyterHub proxy:459] Proxy cmd:
> ['configurable-http-proxy', '--ip', '0.0.0.0', '--port', '8000',
> '--api-ip', '127.0.0.1', '--api-port', '8001', '--error-target', '
> http://pxthdd07:8081/hub/error']
> 21:11:47.929 - info: [ConfigProxy] Proxying http://0.0.0.0:8000 to (no
> default)
> 21:11:47.932 - info: [ConfigProxy] Proxy API at http://127.0.0.1:8001/api/
> routes
> [D 2018-01-14 21:11:48.676 JupyterHub proxy:491] Proxy started and appears
> to be up
> [D 2018-01-14 21:11:48.678 JupyterHub proxy:552] Proxy: Fetching GET
> http://127.0.0.1:8001/api/routes
> [W 2018-01-14 21:11:48.688 JupyterHub proxy:304] Adding missing default
> route
> [I 2018-01-14 21:11:48.688 JupyterHub proxy:370] Adding default route for
> Hub: / => http://pxthdd07:8081
> [D 2018-01-14 21:11:48.689 JupyterHub proxy:552] Proxy: Fetching POST
> http://127.0.0.1:8001/api/routes/
> 21:11:48.689 - info: [ConfigProxy] 200 GET /api/routes
> 21:11:48.693 - info: [ConfigProxy] Adding route / -> http://pxthdd07:8081
> 21:11:48.694 - info: [ConfigProxy] 201 POST /api/routes/
> [I 2018-01-14 21:11:48.694 JupyterHub app:1581] JupyterHub is now running
> at http://0.0.0.0:8000/
> [I 2018-01-14 21:12:03.948 JupyterHub log:122] 200 GET /hub/home (
> lta-uat-jupyter@10.8.95.244) 22.47ms
> [I 2018-01-14 21:12:05.052 JupyterHub log:122] 302 GET /hub/spawn â
> /user/lta-uat-jupyter/ (lta-uat-jupyter@10.8.95.244) 2.08ms
> [I 2018-01-14 21:12:05.061 JupyterHub log:122] 302 GET
> /user/lta-uat-jupyter/ â /hub/user/lta-uat-jupyter/ (@10.8.95.244) 0.33ms
> [D 2018-01-14 21:12:05.071 JupyterHub base:421] Initiating spawn for
> lta-uat-jupyter
> [I 2018-01-14 21:12:05.250 JupyterHub spawner:978] Spawning
> jupyterhub-singleuser --port=52731 --debug
> [D 2018-01-14 21:12:05.256 JupyterHub spawner:727] Polling subprocess
> every 30s
> [D 2018-01-14 21:12:05.300 JupyterHub base:427] 0/100 concurrent spawns
> [D 2018-01-14 21:12:05.300 JupyterHub base:430] 0 active servers
> Traceback (most recent call last):
> File "/var/opt/teradata/anaconda3/bin/jupyterhub-singleuser", line 6, in
> main()
> File 
> "/var/opt/teradata/anaconda3/lib/python3.6/site-packages/jupyterhub/singleuser.py",
> line 455, in main
> return SingleUserNotebookApp.launch_instance(argv)
> File 
> "/var/opt/teradata/anaconda3/lib/python3.6/site-packages/jupyter_core/application.py",
> line 267, in launch_instance
> return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
> File "/var/opt/teradata/anaconda3/lib/python3.6/site-packages/
> traitlets/config/application.py", line 657, in launch_instance
> app.initialize(argv)
> File "", line 2, in initialize
> File "/var/opt/teradata/anaconda3/lib/python3.6/site-packages/
> traitlets/config/application.py", line 87, in catch_config_error
> return method(app,
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *args, **kwargs)File
> "/var/opt/teradata/anaconda3/lib/python3.6/site-packages/notebook/notebookapp.py",
> line 1290, in initializesuper(NotebookApp, self).initialize(argv)File "",
> line 2, in initializeFile
> 

[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 email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/44822396-99f5-4543-86cd-befb867b83a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 ubuntu VM no issues, I can be able to login without issues.


500 : Internal Server
[D 2018-01-14 21:11:47.760 JupyterHub user:184] Creating  for lta-uat-jupyter:
[D 2018-01-14 21:11:47.761 JupyterHub app:1211] Loading state for 
lta-uat-jupyter from db
[D 2018-01-14 21:11:47.761 JupyterHub app:1236] lta-uat-jupyter not running
[D 2018-01-14 21:11:47.763 JupyterHub app:1241] Loaded users:
lta-uat-jupyter
[I 2018-01-14 21:11:47.767 JupyterHub app:1528] Hub API listening on 
http://0.0.0.0:8081/hub/
[W 2018-01-14 21:11:47.768 JupyterHub proxy:415]
Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require 
restarting the proxy.
Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to 
avoid this message.

[W 2018-01-14 21:11:47.768 JupyterHub proxy:456] Running JupyterHub without 
SSL. I hope there is SSL termination happening somewhere else...
[I 2018-01-14 21:11:47.768 JupyterHub proxy:458] Starting proxy @ 
http://0.0.0.0:8000/
[D 2018-01-14 21:11:47.768 JupyterHub proxy:459] Proxy cmd: 
['configurable-http-proxy', '--ip', '0.0.0.0', '--port', '8000', 
'--api-ip', '127.0.0.1', '--api-port', '8001', '--error-target', 
'http://pxthdd07:8081/hub/error']
21:11:47.929 - info: [ConfigProxy] Proxying http://0.0.0.0:8000 to (no 
default)
21:11:47.932 - info: [ConfigProxy] Proxy API at 
http://127.0.0.1:8001/api/routes
[D 2018-01-14 21:11:48.676 JupyterHub proxy:491] Proxy started and appears 
to be up
[D 2018-01-14 21:11:48.678 JupyterHub proxy:552] Proxy: Fetching GET 
http://127.0.0.1:8001/api/routes
[W 2018-01-14 21:11:48.688 JupyterHub proxy:304] Adding missing default 
route
[I 2018-01-14 21:11:48.688 JupyterHub proxy:370] Adding default route for 
Hub: / => http://pxthdd07:8081
[D 2018-01-14 21:11:48.689 JupyterHub proxy:552] Proxy: Fetching POST 
http://127.0.0.1:8001/api/routes/
21:11:48.689 - info: [ConfigProxy] 200 GET /api/routes
21:11:48.693 - info: [ConfigProxy] Adding route / -> http://pxthdd07:8081
21:11:48.694 - info: [ConfigProxy] 201 POST /api/routes/
[I 2018-01-14 21:11:48.694 JupyterHub app:1581] JupyterHub is now running 
at http://0.0.0.0:8000/
[I 2018-01-14 21:12:03.948 JupyterHub log:122] 200 GET /hub/home 
(lta-uat-jupyter@10.8.95.244) 22.47ms
[I 2018-01-14 21:12:05.052 JupyterHub log:122] 302 GET /hub/spawn â 
/user/lta-uat-jupyter/ (lta-uat-jupyter@10.8.95.244) 2.08ms
[I 2018-01-14 21:12:05.061 JupyterHub log:122] 302 GET 
/user/lta-uat-jupyter/ â /hub/user/lta-uat-jupyter/ (@10.8.95.244) 0.33ms
[D 2018-01-14 21:12:05.071 JupyterHub base:421] Initiating spawn for 
lta-uat-jupyter
[I 2018-01-14 21:12:05.250 JupyterHub spawner:978] Spawning 
jupyterhub-singleuser --port=52731 --debug
[D 2018-01-14 21:12:05.256 JupyterHub spawner:727] Polling subprocess every 
30s
[D 2018-01-14 21:12:05.300 JupyterHub base:427] 0/100 concurrent spawns
[D 2018-01-14 21:12:05.300 JupyterHub base:430] 0 active servers
Traceback (most recent call last):
File "/var/opt/teradata/anaconda3/bin/jupyterhub-singleuser", line 6, in 
main()
File 
"/var/opt/teradata/anaconda3/lib/python3.6/site-packages/jupyterhub/singleuser.py",
 
line 455, in main
return SingleUserNotebookApp.launch_instance(argv)
File 
"/var/opt/teradata/anaconda3/lib/python3.6/site-packages/jupyter_core/application.py",
 
line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File 
"/var/opt/teradata/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py",
 
line 657, in launch_instance
app.initialize(argv)
File "", line 2, in initialize
File 
"/var/opt/teradata/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py",
 
line 87, in catch_config_error
return method(app, 







































































*args, **kwargs)File 
"/var/opt/teradata/anaconda3/lib/python3.6/site-packages/notebook/notebookapp.py",
 
line 1290, in initializesuper(NotebookApp, self).initialize(argv)File "", 
line 2, in initializeFile 
"/var/opt/teradata/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py",
 
line 87, in catch_config_errorreturn method(app, args, **kwargs)File 
"/var/opt/teradata/anaconda3/lib/python3.6/site-packages/jupyter_core/application.py",
 
line 243, in initializeself.migrate_config()File 
"/var/opt/teradata/anaconda3/lib/python3.6/site-packages/jupyterhub/singleuser.py",
 
line 314, in migrate_configsuper(SingleUserNotebookApp, 
self).migrate_config()File 
"/var/opt/teradata/anaconda3/lib/python3.6/site-packages/jupyter_core/application.py",
 
line 162, in migrate_configfrom .migrate import get_ipython_dir, 
migrateFile 
"/var/opt/teradata/anaconda3/lib/python3.6/site-packages/jupyter_core/migrate.py",
 
line 35,