error trying ipyleaflet-0.4.0
See original GitHub issueI get this error that I don’t undertand (on Windows/Winpython):
Disabling terminals plugin because they are not available on the server
main.bundle.js:170990 Starting WebSocket: ws://localhost:8888/api/kernels/7e61aa74-e3f6-4fa0-804d-fc09c2dae816
main.bundle.js:171758 Kernel: connected (7e61aa74-e3f6-4fa0-804d-fc09c2dae816)
main.bundle.js:148306 Could not instantiate widget
(anonymous) @ main.bundle.js:148306
main.bundle.js:49724 Error: Could not create a model.
at promiseRejection (main.bundle.js:49724)
at <anonymous>
promiseRejection @ main.bundle.js:49724
main.bundle.js:148306 Could not instantiate widget
(anonymous) @ main.bundle.js:148306
main.bundle.js:49724 Error: Could not create a model.
at promiseRejection (main.bundle.js:49724)
at <anonymous>
promiseRejection @ main.bundle.js:49724
main.bundle.js:148306 Could not instantiate widget
(anonymous) @ main.bundle.js:148306
main.bundle.js:49724 Error: Could not create a model.
at promiseRejection (main.bundle.js:49724)
at <anonymous>
promiseRejection @ main.bundle.js:49724
main.bundle.js:148306 Could not instantiate widget
(anonymous) @ main.bundle.js:148306
main.bundle.js:49724 Error: Could not create a model.
at promiseRejection (main.bundle.js:49724)
at <anonymous>
promiseRejection @ main.bundle.js:49724
main.bundle.js:153773 Error displaying widget
main.bundle.js:153774 Module jupyter-leaflet, semver range 0.4.0 is not registered as a widget module
lab:1 Uncaught (in promise) Module jupyter-leaflet, semver range 0.4.0 is not registered as a widget module
What may I check ?
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
ipyleaflet does not work in jupyter lab - "Error displaying ...
After having failed to get ipyleaflet to work from the released packages I decided to try installing from the current git repo master...
Read more >jupyter-widgets/Lobby - Gitter
I am trying to centre-align an Image widget inside an Output widget, to basically act as a preloader whilst my calculation is running....
Read more >jupyter-leaflet | Yarn - Package Manager
Jupyter Leaflet Widget. Interactive leaflet widget for the Jupyter notebook. The reference Python backend, ipyleaflet is available here, with examples.
Read more >Can't see USGS WMS layers in ipyleaflet (leaflet.js for python)
Trying to use ipyleaflet (leaflet.js for python/jupyter widgets) to view a WMS layer representing 1m DEM availability.
Read more >ipyleaflet - PyPI
ipyleaflet 0.17.2. pip install ipyleaflet. Copy PIP instructions. Latest version. Released: Oct 19, 2022. A Jupyter widget for dynamic Leaflet maps ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@DavidBrochart actually what you are describing is the expected behavior. Lab extension fetch the js assets from npm.
To install the lab extension from source, you need to specify a directory instead.
Yes, we’ve combined the js packages and published the result. Now it is just
jupyter labextension install jupyter-leaflet
.In the next revision, we may even be able to dispense with even that - and install the jlab plugin automatically when you install the python package.