-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CellWatcher use of ZMQStream with JupyterLite #730
Comments
@bnmajor Viewers run with #731 but getters still failing with ---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[6], line 1
----> 1 viewer.get_rotate()
File /lib/python3.10/site-packages/itkwidgets/viewer.py:324, in Viewer.fetch_value.<locals>._fetch_value(self, *args, **kwargs)
322 if isawaitable(result):
323 future = asyncio.ensure_future(result)
--> 324 self.call_getter(future)
325 return future
326 return result
File /lib/python3.10/site-packages/itkwidgets/viewer.py:288, in Viewer.call_getter(self, future)
286 global _cell_watcher
287 name = uuid.uuid4()
--> 288 _cell_watcher.results[name] = future
289 future.add_done_callback(functools.partial(_cell_watcher._callback, name))
AttributeError: 'NoneType' object has no attribute 'results' |
thewtex
added a commit
to thewtex/itkwidgets
that referenced
this issue
Jan 11, 2024
Discussed in InsightSoftwareConsortium#730. The result needs to be awaited.
As discussed with @bnmajor, we will need to teach CellWatcher to operate on the Jupyter message stream in JupyterLite as we do with JupyterNotebook / JupyterLab with the ZMQStream. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@bnmajor looking to update our docs JupyterLite itkwidgets version, and I am getting the following traceback:
The text was updated successfully, but these errors were encountered: