OpenGeoscience / geonotebook

A Jupyter notebook extension for geospatial visualization and analysis
Apache License 2.0
1.08k stars 141 forks source link

Map div part is not shown (docker on macos, 404 GET extension.js) #140

Closed dementiev closed 6 years ago

dementiev commented 6 years ago

Hi, I installed geonotebook with docker on MacOs Sierra, Chrome Version 60.0.3112.90 (Official Build) (64-bit).

Map part is not shown for me. Log after run command:

[I 00:34:33.983 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[W 00:34:34.001 NotebookApp] All authentication is disabled.  Anyone who can connect to this server will be able to run code.
[I 00:34:34.573 NotebookApp] geonotebook module enabled!
[I 00:34:34.582 NotebookApp] Serving notebooks from local directory: /notebooks
[I 00:34:34.583 NotebookApp] 0 active kernels
[I 00:34:34.583 NotebookApp] The Jupyter Notebook is running at: http://0.0.0.0:8888/
[I 00:34:34.583 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 00:35:09.725 NotebookApp] 302 GET / (172.17.0.1) 0.57ms
[I 00:35:20.695 NotebookApp] Creating new notebook in
[I 00:35:20.808 NotebookApp] Writing notebook-signing key to /root/.local/share/jupyter/notebook_secret
[I 00:35:21.527 NotebookApp] Kernel started: f2fd31de-b07a-4e50-8819-8eb837cdf50b
[W 00:35:22.105 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20170828003433 (172.17.0.1) 11.91ms referer=http://localhost:8888/notebooks/Untitled.ipynb?kernel_name=geonotebook2

404 GET /nbextensions/widgets/notebook/js/extension.js?v=20170828003433 is the issue, i believe, any hints?

In DevTools: Failed to load extension: Array(1) Error: Cannot find module "gl-mat3"

dementiev commented 6 years ago

ok, i installed ipywidgets, then disabled adblock, now have "Failed to load extension: ["nbextensions/geonotebook/index"] Error: Cannot find module "gl-mat3""in devtools and


[W 08:43:05.649 NotebookApp] 404 GET /api/kernels/4b57f085-a14f-4e2b-b202-022ace2c3891/channels?session_id=C1F45483B7C9448F847890178FFB54AE (172.17.0.1): Kernel does not exist: 4b57f085-a14f-4e2b-b202-022ace2c3891
[W 08:43:05.677 NotebookApp] 404 GET /api/kernels/4b57f085-a14f-4e2b-b202-022ace2c3891/channels?session_id=C1F45483B7C9448F847890178FFB54AE (172.17.0.1) 37.42ms referer=None
[W 08:43:05.881 NotebookApp] 404 GET /api/kernels/4286cc96-038c-4d6e-84ab-7a0875ccd80e/channels?session_id=9633A3C280EB412386BB76171146FEF8 (172.17.0.1): Kernel does not exist: 4286cc96-038c-4d6e-84ab-7a0875ccd80e
[W 08:43:05.882 NotebookApp] 404 GET /api/kernels/4286cc96-038c-4d6e-84ab-7a0875ccd80e/channels?session_id=9633A3C280EB412386BB76171146FEF8 (172.17.0.1) 4.07ms referer=None
[W 08:43:29.362 NotebookApp] 404 GET /static/components/preact/preact.min.js.map (172.17.0.1) 3.47ms referer=None
[W 08:43:29.364 NotebookApp] 404 GET /static/components/preact-compat/preact-compat.min.js.map (172.17.0.1) 1.45ms referer=None
[W 08:43:29.366 NotebookApp] 404 GET /static/components/proptypes/index.js.map (172.17.0.1) 1.45ms referer=None
``` in console
aashish24 commented 6 years ago

@dementiev looks like something to do with the map (geojs) dependencies. @jbeezley may have better idea on this.

dementiev commented 6 years ago

Confirm that it works now, thanks!