Open justinlaughlin opened 8 months ago
I've made a few more various attempts (jupyterlab
, nbclassic
, different python versions) without success. It could be a jupyter compatibility issue, or just my environment. Either way, there seems to be a big migration in jupyter to "Notebook 7" that will break old plugins. I'd be happy to help with any changes needed; I think the javascript plugin may need to be converted to a jupyter server extension? I was able to successfully build the latest glvis-js
using emscripten
- I am thinking a reasonable next step is to figure out how to convert that into a notebook 7
compatible plugin. It'd be nice to compare notes with whoever helped to develop the plugin previously.
Thanks!
Any updates here? I have a similar error in Jupyter Lab:
[Open Browser Console for more detailed log - Double click to close this message]
Model class 'GLVisModel' from module 'glvis-jupyter' is loaded but can not be instantiated
_make_model@http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.0a90bd910629a565bb7e.js?v=0a90bd910629a565bb7e:1:7932
Any updates here?
Maybe you can try PR #44?
@bclyons12 let me know if the PR works for you, feel free to reach out if you have trouble
I ran a fresh pip install of
pymfem
andpyglvis
, enabled the jupyter extension, and receive the following error runningex1.ipynb
(link)I did some googling and it looks like this may be a common issue (example), possibly related to compatibility changes from
ipywidgets
7.x
to8.x
. I checked and I am currently usingipywidgets == 8.0.4
andwidgetsnbextension == 4.0.5
. I've tried downgrading (ipywidgets == 7.8.0
andwidgetsnbextension == 3.6.6
) with no luck.Curious if anyone else has run into this; I will keep playing around with this to see if I can find a solution.