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

Translator issue with integers properties #18

Closed
Lgt2x opened this issue Dec 26, 2023 · 3 comments
Closed

Translator issue with integers properties #18

Lgt2x opened this issue Dec 26, 2023 · 3 comments

Comments

@Lgt2x
Copy link

Lgt2x commented Dec 26, 2023

To reproduce : run the trame-grid-layout README example. In the browser, the grid is not shown, and the program prints an error : 'int' object is not iterable with trame-client 2.14.0 (works fine with trame-client 2.13)

My understanding is that the property set for GridLayout, in the script, row_height=20, is translated by trame-client when it should not be (because it's not a string, hence not iterable). This change may be the problem here

@jourdain
Copy link
Collaborator

test with 2.14.1, I think I fixed that issue

@Lgt2x
Copy link
Author

Lgt2x commented Dec 27, 2023

2.14.1/master has the same problem

@jourdain
Copy link
Collaborator

Can you try #19 and comment back?

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