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

Bug: reloading domain in trame-simput does not work with newest trame-server #4

Closed
DavidBerger98 opened this issue Oct 27, 2022 · 3 comments

Comments

@DavidBerger98
Copy link
Contributor

With the current version of trame-server updating the id of SimputItems does not work anymore.

If you run the Widgets example and change the active id with the drop-down in the upper right, it doesn't update anymore, but it works with trame-server==2.2.0.

@jourdain
Copy link
Collaborator

That's because you need to update trame-client. That cross version dependency should have been captured in trame/setup.cfg. But looking at it, I don't see it. I must have missed the push... But you need trame-client>=v2.2.2

@DavidBerger98
Copy link
Contributor Author

I updated to trame-client 2.3.0 but the Widgets example still doesn't seem to work. Here are my trame versions:

trame==2.2.1
trame-client==2.3.0
trame-components==2.0.1
trame-deckgl==2.0.1
trame-markdown==2.0.2
trame-matplotlib==2.0.1
trame-plotly==2.0.1
trame-rca==0.2.1
trame-router==2.0.1
trame-server==2.4.1
trame-simput==2.2.1
trame-vega==2.0.2
trame-vtk==2.0.4
trame-vuetify==2.0.1

@jourdain
Copy link
Collaborator

So the issue was that the browser was caching the old trame-client code base.

TLTR: trame-server>=2.2.0 needs trame-client>=2.2.2 + cleared browser cache

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