rgbkrk on on-to-binder
rgbkrk on master
declare tmpnb deprecated, point… Link to JupyterHub and BinderHu… Merge pull request #294 from ju… (compare)
rgbkrk on on-to-binder
Link to JupyterHub and BinderHu… (compare)
rgbkrk on on-to-binder
declare tmpnb deprecated, point… (compare)
Hi Guys, Currenly I am trying with tmpnb with (OReily THEBE), Currenly I am getting error
XMLHttpRequest cannot load http://192.168.70.54:8000/user/MCkTzGFH4xN1?token=fc868fcdf38d1e03d00aeef57bf5f5c91333de3e61e65325/api/kernels. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:5555' is therefore not allowed access. The response had HTTP status code 405.
Thebe is in tmpnb mode
main-built.js:28 cookie was wrong/outdated, call spawn as needed
main-built.js:28 Tmpnb server seems to be up
main-built.js:28 Thebe: start
main-built.js:28 show cell state: start for 0
main-built.js:28 call spawn
main-built.js:28 spawn handler called
main-built.js:28 tmpnb says we should use
main-built.js:28 http://192.168.70.54:8000/user/MCkTzGFH4xN1?token=fc868fcdf38d1e03d00aeef57bf5f5c91333de3e61e65325/
main-built.js:28 start_kernel with http://192.168.70.54:8000/user/MCkTzGFH4xN1?token=fc868fcdf38d1e03d00aeef57bf5f5c91333de3e61e65325/
jquery-2.1.4.min.js:4 POST http://192.168.70.54:8000/user/MCkTzGFH4xN1?token=fc868fcdf38d1e03d00aeef57bf5f5c91333de3e61e65325/api/kernels send @ jquery-2.1.4.min.js:4ajax @ jquery-2.1.4.min.js:4o.start @ main-built.js:20e.start_kernel @ main-built.js:28(anonymous function) @ main-built.js:28e.spawn_handler @ main-built.js:28(anonymous function) @ main-built.js:28(anonymous function) @ main-built.js:28
(index):1 XMLHttpRequest cannot load http://192.168.70.54:8000/user/MCkTzGFH4xN1?token=fc868fcdf38d1e03d00aeef57bf5f5c91333de3e61e65325/api/kernels. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:5555' is therefore not allowed access. The response had HTTP status code 405.
main-built.js:6 Object {readyState: 0, responseJSON: undefined, status: 0, statusText: "error"}
main-built.js:6 API request failed (0): error
main-built.js:28 Ajax Error!
main-built.js:28 Thebe: disconnected
Please guide me How to fix this.
Hello,
I've just updated my jupyter/demo base image.
With base image initially at sha256:e0e8a60da29a30331d778c31cef28695e8c37e02881fa3775e107943a5017adb
, I was able to customize the notebooks by adding custom.js & custom.css to ADD custom.css /home/jovyan/.jupyter/custom/ directory.
However, after the update, the custom.css & custom.js fail to load.
It tried to load them from http://user/<12-char-hash>/custom/custom.js (i.e. ignores the base domain)
docker pull jupyter/demo@sha256:e0e8a60da29a30331d778c31cef28695e8c37e02881fa3775e107943a5017adb
Error response from daemon: manifest for jupyter/demo@sha256:e0e8a60da29a30331d778c31cef28695e8c37e02881fa3775e107943a5017adb not found
c.NotebookApp.jinja_environment_options = {"autoescape": True}
[E 171106 14:26:30 gen:794] Multiple exceptions in yield list
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 789, in callback
result_list.append(f.result())
File "/usr/local/lib/python3.4/site-packages/tornado/concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1014, in run
yielded = self.gen.throw(*exc_info)
File "/srv/tmpnb/spawnpool.py", line 284, in _launch_container
container_config=self.container_config)
File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 1008, in run
value = future.result()
File "/usr/local/lib/python3.4/site-packages/tornado/concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "/usr/local/lib/python3.4/site-packages/tornado/gen.py", line 282, in wrapper
yielded = next(result)
File "/srv/tmpnb/dockworker.py", line 119, in create_notebook_server
ip=container_config.container_ip, token=token)
KeyError: '"autoescape"'
docker.errors.APIError: 400 Client Error: Bad Request ("b'{"message":"Conflict. The container name \\"/tmp.jupyterminimal-notebook.xW8xVpnT6VW3\\" is already in use by container \\"53748de3d2303848f49afbad65203870579f6014c422a643c8b02348045e0306\\". You have to remove (or rename) that container to be able to reuse that name."}'")