Skip to content
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

@asyncio.coroutine removal as of python 3.11 #7

Closed
4 of 16 tasks
cardinalgeo opened this issue Dec 10, 2022 · 2 comments
Closed
4 of 16 tasks

@asyncio.coroutine removal as of python 3.11 #7

cardinalgeo opened this issue Dec 10, 2022 · 2 comments

Comments

@cardinalgeo
Copy link

Describe the bug

When running the "RemoteSelection" example here in the trame repo, I receive the following error:

image

According to here in the asyncio documentation, as of python 3.11 (Oct. 24th, 2022), @asyncio.coroutine has been removed and async def should be used instead. Expectedly, reverting to python 3.10 resolves this issue.

While I looked into making a pull request myself, I have no experience with asyncio, let alone the general asynchronous programming model.

To Reproduce

Steps to reproduce the behavior:

  1. python examples/06_vtk/Applications/RemoteSelection/app.py
  2. See error

Expected behavior

As shown in the trame promotional video here (00:51), we expect cross-selection of points between the vtk scene and the plotly scatter plot, where selection of points on one results in highlight in the other. However, this cross-selection capability is not present. Otherwise, the dashboard appears functional.

Platform:

Trame:

  • Version 1.x
  • Version 2.x

Device:

  • Desktop
  • Mobile

OS:

  • Windows
  • MacOS
  • Linux
  • Android
  • iOS

Browsers Affected:

  • Chrome
  • Firefox
  • Microsoft Edge
  • Safari
  • Opera
  • Brave
  • IE 11
@jourdain
Copy link
Collaborator

Thanks for pointing that out.

@cardinalgeo
Copy link
Author

No problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants