Open benvial opened 7 years ago
Same here except using Python 3.6 on Mac.
Same problem on Python 2.7 on Centos7 docker.
I think this is a problem with notebook 4.3.x. The docs indicate that only versions <= 4.2.x are supported.
No support for 4.3
@benchmars the console 404 error on /static/does/not/exist.js
is normal. The fact that it cannot load /urth_components/urth-core-behaviors/jupyter-notebook-env.html
points to an installation error. It could very much be something that broke on notebook 4.3.x
.
This seems to be caused by jupyter notebook security upgrade at 4.3.1, described here: https://blog.jupyter.org/2016/12/21/jupyter-notebook-4-3-1/
I think iron-ajax
element in the urth-core-import.html
should also include a header X-XSRFToken
.
var xsrf_token = document.cookie.match("\\b" + name + "=([^;]*)\\b");
var header = xsrf_token ? {'X-XSRFToken': xsrf_token[1]} : {};
Refer to this link to see how to add a header to iron-ajax
.
I can't get declarative widgets to work. The module is loaded but when I try to import a widget nothing happens and I get warnings in the console.
I am using a virtualenv, python 3.5 on Opensuse Tumbleweed. Some info:
I installed and enabled using:
And the extension seems installed and activated
I also have npm (v 2.15.11) and bower (v 1.8.0) installed.
Any help would be greatly appreciated! Please let me know if you need additional info.