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

local_file_picker Example error in version 1.4.25: #3072

Closed
epmb1n opened this issue May 14, 2024 · 5 comments
Closed

local_file_picker Example error in version 1.4.25: #3072

epmb1n opened this issue May 14, 2024 · 5 comments
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@epmb1n
Copy link

epmb1n commented May 14, 2024

Description

raise RuntimeError('Cannot await JavaScript responses on the auto-index page. '
RuntimeError: Cannot await JavaScript responses on the auto-index page. There could be multiple clients connected and it is not clear which one
to wait for.

@mattloose
Copy link

Hi - yes I've seen this too since the update from 1.4.24 to 1.4.25.

Conceptually it seems like the correct thing however - I had previously observed that if using the file picker with multiple connections on the auto-index page it caused a problem. I'd love to know what a work around is for the demo to see if I can apply it to my own code!

@falkoschindler
Copy link
Contributor

Thanks for reporting this issue, @epmb1n! I fixed it by moving the local file picker into a @page function.

@falkoschindler falkoschindler added the documentation Improvements or additions to documentation label May 16, 2024
@falkoschindler falkoschindler added this to the 1.4.26 milestone May 16, 2024
@epmb1n
Copy link
Author

epmb1n commented May 20, 2024

Thanks for reporting this issue, @epmb1n! I fixed it by moving the local file picker into a @page function.

Hello bro, can you write an example that one of the AGGRID columns is a button,like as the example -editable_table,When in the py file, I don't know how to set the value of "cellRenderer" to a JSclass

@jweite-amazon
Copy link

I'm getting this on example editable_ag_grid too. I didn't have success moving its components into an @page func myself.

@falkoschindler
Copy link
Contributor

@jweite-amazon Thanks, I fixed it in 2d69785.

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

No branches or pull requests

4 participants