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

no current kernel found #22

Open
havok2063 opened this issue Apr 27, 2021 · 8 comments
Open

no current kernel found #22

havok2063 opened this issue Apr 27, 2021 · 8 comments

Comments

@havok2063
Copy link

When testing the latest PR for 0.2.8 compatibility, #21, I'm now getting a no current kernel error message in the dev console.

voila.js:455 Uncaught (in promise) Error: No current kernel
    at Ys._get_comm_info (voila.js:455)
    at Ys._build_models (voila.js:469)
    at voila-embed.js:165

This was discovered during testing of the new kernel pooling aspect (voila-dashboards/hotpot_km#8) which is using the latest voila==0.2.9 but this error also comes up when using the standard voila, version 0.2.7.

@mariobuikhuizen
Copy link
Owner

Yes, #21 depends on the bug fix in this PR: voila-dashboards/voila#876.

Maybe you can use this PR when testing?

@havok2063
Copy link
Author

Ok let me try that. What's weird is that yesterday everything was working properly but perhaps it shouldn't have been.

@havok2063
Copy link
Author

So that PR is merged; I did a git pull and fresh install of voila from master, and I'm still getting the same error.

@mariobuikhuizen
Copy link
Owner

The file voila-embed.js is not part of the installation of voila-embed, it has to be copied manually to your project. Maybe this step is missing?

@havok2063
Copy link
Author

Yeah I had copied the new file over into my project but still had the same problem. I reset everything back to voila 0.2.7, the old embed, closed everything down, refreshed, and got it back to a workable state. I'll try again changing things piecemeal and see what happens. Do you know what kind of thing would trigger this error, in case it happens again, I know what to think about or look for?

@mariobuikhuizen
Copy link
Owner

mariobuikhuizen commented Apr 29, 2021

Sometimes modifying an environment doesn't work well, so I always test in a new conda environment. Also, the fix in Voila is released as 0.2.10, so you don't have to install Voila from git any more.

@havok2063
Copy link
Author

Ok cool. I'll upgrade everything, give it a shake, and see if everything works!

@havok2063
Copy link
Author

Looks like everything is back to normal. I've tested the voila=0.2.10 and the latest voila-embed work in the standard mode as well as the hotpot kernel pooling mode.

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