holoviz-topics / examples

Visualization-focused examples of using HoloViz for specific topics
https://examples.holoviz.org
Creative Commons Attribution 4.0 International
82 stars 24 forks source link

Update landsat example #272

Closed sandhujasmine closed 1 year ago

sandhujasmine commented 1 year ago
I've been experiencing rendering issues, along with a JS syntax error. As per this [jupyterhub discourse](https://discourse.jupyter.org/t/jupyter-notebook-zmq-message-arrived-on-closed-channel-error/17869/2) with similar error, the proposed solution of pinning tornado server seems to be consistently working correctly. The error I see (see below) points to the asyncio event loop so pinning tornado to older version does seem to point in the right direction. [E 21:19:25.406 NotebookApp] Uncaught exception, closing connection. Traceback (most recent call last): File "/opt/homebrew/lib/python3.10/site-packages/tornado/iostream.py", line 702, in _handle_events self._handle_write() File "/opt/homebrew/lib/python3.10/site-packages/tornado/iostream.py", line 976, in _handle_write self._write_buffer.advance(num_bytes) File "/opt/homebrew/lib/python3.10/site-packages/tornado/iostream.py", line 182, in advance assert 0 < size <= self._size AssertionError [W 21:19:25.409 NotebookApp] zmq message arrived on closed channel Exception in callback None() handle: Traceback (most recent call last): File "/opt/homebrew/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/opt/homebrew/lib/python3.10/site-packages/tornado/platform/asyncio.py", line 206, in _handle_events handler_func(fileobj, events) File "/opt/homebrew/lib/python3.10/site-packages/tornado/iostream.py", line 702, in _handle_events self._handle_write() File "/opt/homebrew/lib/python3.10/site-packages/tornado/iostream.py", line 976, in _handle_write self._write_buffer.advance(num_bytes) File "/opt/homebrew/lib/python3.10/site-packages/tornado/iostream.py", line 182, in advance assert 0 < size <= self._size
sandhujasmine commented 1 year ago

I accidentally branched off the work I was doing on the landuse classification project. I'll close this and submit new PR only for this example.