-
Notifications
You must be signed in to change notification settings - Fork 505
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
Voila-Vuetify template fails to load after the loading bar is displayed #878
Comments
Thanks @Jul3k. Would you be able to try with the latest
Were you also able to check with |
@jtpio thank you for the recommendation. Installing the latest |
Thanks @Jul3k for checking. There was a refactoring of the frontend that was shipped in So looking at the code for voila vuetify, the However the structure of the And the one now in Voila master: voila/share/jupyter/voila/templates/base/static/main.js Lines 18 to 39 in 8dd5ee3
Not sure any of the classes from the Voila frontend were ever part of the public API, but it's a good sign that we should also be testing compatibility with downstream templates here in the Hopefully #846 will make the frontend more structured with properly defined APIs at the plugin level, so this should help detecting such issues. |
In the meantime, the simplest fix might be to update the vuetify template to use the new structure for the |
I guess voila-dashboards/voila-vuetify#44 is the fix |
The fix mentioned by @jtpio, which is already implemented by voila-dashboards/voila-vuetify#44 in the meantime while I was looking into the issue solves the problem. Thank you! |
When using the voila-vuetify template the widgets fail to load. An the the site gets stuck after the loading bar is displayed.
In Chrome the error message reads "Cannot read property 'kernelChanged' of undefined":
on Firefox the error message is "Uncaught (in promise) TypeError: e.sessionContext is undefined":
Loading the notebooks without specifying a template works without issues. The Notebook for testing just shows a simple ipyvuetify widget. The issue might be related to jupyter-flex uncaught exception #78. They recommend downgrading to a previous version of voila in the 0.2.X series. For me I could only get it working by downgrading to
voila==0.1.24
andvoial-vuetify==0.4.0
Here is a list of the installed package versions. I could reproduce this issue on three machines running Linux.
I am not sure if this is an issue with voila or voila-vuetify, but since the error occures in voila.js I deceided to open the issue here.
The text was updated successfully, but these errors were encountered: