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

--autoreload leads to error after upgrade to 1.4.2 #6838

Closed
yjcui opened this issue May 15, 2024 · 6 comments · Fixed by #6886
Closed

--autoreload leads to error after upgrade to 1.4.2 #6838

yjcui opened this issue May 15, 2024 · 6 comments · Fixed by #6886
Milestone

Comments

@yjcui
Copy link

yjcui commented May 15, 2024

I recently updated from 1.3.x to latest 1.4.2 and noticed the previously working dashboard based on Jupyter Notebook stopped working. After trial and error, I located the cause with --autoreload option. With it, I kept getting below message but no dashboard was created in my localhost. I did get this FIXED_SIZING_MODE warning before, but it did not stop generating the dashboard.

image

If I remove the --autoreload option, everything works just like before.

@philippjfr
Copy link
Member

Does it work if you install watchfiles?

@sylvaint
Copy link

sylvaint commented May 21, 2024

Does it work if you install watchfiles?

I have the same issue and it does not work when installing watchfiles.

@philippjfr
Copy link
Member

Okay, I've got a request for you. Could one of you go into your installed panel and edit panel/command/__init__.py and change line 96 from die("ERROR: " + str(e)) to raise e and then report back with the error message?

@sylvaint
Copy link

image

@philippjfr
Copy link
Member

Super helpful. Thank you. Will get a fix into 1.4.3.

@sylvaint
Copy link

Awesome, thank you.

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

Successfully merging a pull request may close this issue.

3 participants