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 #273

Closed sandhujasmine closed 1 year ago

sandhujasmine commented 1 year ago
#### Exception which appears to be resolved with pinning tornado to older version > Update: Replace the stacktrace below with the correct one 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. ``` [I 17:27:28.645 NotebookApp] Replaying 2 buffered messages OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead. [E 17:29:18.786 NotebookApp] Uncaught exception, closing connection. Traceback (most recent call last): File "/Users/jasmine/projects/examples/landsat/envs/default/lib/python3.11/site-packages/tornado/iostream.py", line 695, in _handle_events self._handle_write() File "/Users/jasmine/projects/examples/landsat/envs/default/lib/python3.11/site-packages/tornado/iostream.py", line 965, in _handle_write self._write_buffer.advance(num_bytes) File "/Users/jasmine/projects/examples/landsat/envs/default/lib/python3.11/site-packages/tornado/iostream.py", line 182, in advance assert 0 < size <= self._size ^^^^^^^^^^^^^^^^^^^^^^ AssertionError Exception in callback None() handle: Traceback (most recent call last): File "/Users/jasmine/projects/examples/landsat/envs/default/lib/python3.11/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/Users/jasmine/projects/examples/landsat/envs/default/lib/python3.11/site-packages/tornado/platform/asyncio.py", line 192, in _handle_events handler_func(fileobj, events) File "/Users/jasmine/projects/examples/landsat/envs/default/lib/python3.11/site-packages/tornado/iostream.py", line 695, in _handle_events self._handle_write() File "/Users/jasmine/projects/examples/landsat/envs/default/lib/python3.11/site-packages/tornado/iostream.py", line 965, in _handle_write self._write_buffer.advance(num_bytes) File "/Users/jasmine/projects/examples/landsat/envs/default/lib/python3.11/site-packages/tornado/iostream.py", line 182, in advance assert 0 < size <= self._size ^^^^^^^^^^^^^^^^^^^^^^ AssertionError ```
sandhujasmine commented 1 year ago

Not sure why the libmamba solver is looking for OSX packages on linux: https://github.com/holoviz-topics/examples/actions/runs/5148674083/jobs/9270715411?pr=273

@maximlt - any ideas? I assume this will not work on our public facing docs page since linux env is not getting created, is that correct?

maximlt commented 1 year ago

@sandhujasmine just a heads up, as you can see, I'm trying to debug something 🙃 Nothing to do with your updates! It seems like the dev website doesn't get properly updated, the landsat page built doesn't have any of the updates you made https://holoviz-dev.github.io/examples/landsat/landsat.html.

The docs build generates and upload an artifact that contains the whole built site, I set this up a while ago for debugging purposes. Also because we only have one dev site but multiple competing PRs can update it at the same time, so it's a fallback for users to see what the built site looks like with their changes only. The artifact can be downloaded from the summary page of all the jobs that run: https://github.com/holoviz-topics/examples/actions/runs/5220200442

I can see that this artifact also contains the older site, so I need to figure out what's going on when the evaluated branch and the temporary evaluated branch are synced during the build.