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

Flaky issue when using gr.themes.builder() #6531

Closed
abidlabs opened this issue Nov 21, 2023 · 1 comment · Fixed by #6536
Closed

Flaky issue when using gr.themes.builder() #6531

abidlabs opened this issue Nov 21, 2023 · 1 comment · Fixed by #6536
Labels
bug Something isn't working

Comments

@abidlabs
Copy link
Member

I'm unable to run the theme builder locally. I get this error in the console:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'forEach')
at handle_update (Blocks.svelte:316:8)
at Blocks.svelte:451:7

This error happens consistently for me, but not for @freddyaboulton so it could be related to some race condition.

Repro

  1. Run gr.themes.builder()
  2. Try to change the base theme -- the UI freezes up
@abidlabs abidlabs added the bug Something isn't working label Nov 21, 2023
@hannahblair
Copy link
Collaborator

hannahblair commented Nov 22, 2023

I can run the theme builder and change the base theme without it freezing up, but I do see the error you're seeing in the console

edit - theme changing actually works fine when running via the backend server but freezes up in the frontend server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants