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

Failed to load model class 'TreeModel' from module 'ipytree' #82

Open
2sn opened this issue Apr 24, 2023 · 1 comment
Open

Failed to load model class 'TreeModel' from module 'ipytree' #82

2sn opened this issue Apr 24, 2023 · 1 comment

Comments

@2sn
Copy link

2sn commented Apr 24, 2023

Does not seem to run on Google Chrome/Fedora. I get the error message

Failed to load model class 'TreeModel' from module 'ipytree'
Error: Script error for "ipytree"
http://requirejs.org/docs/errors.html#scripterror
    at makeError (http://localhost:8888/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593:168:17)
    at HTMLScriptElement.onScriptError (http://localhost:8888/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593:1735:36)


from the browser console:

menubar.js:283 actions jupyter-notebook:find-and-replace does not exist, still binding it in case it will be defined later...
MenuBar.bind_events @ menubar.js:283
utils.js:60 load_extensions Arguments(3)
bidi.js:19 Loaded moment locale en-au
utils.js:37 Loading extension: nbextensions_configurator/config_menu/main
utils.js:37 Loading extension: jupyterlab-plotly/extension
session.js:55 Session: kernel_created (9852d92d-1576-4a80-9914-3ebed0be8464)
kernel.js:464 Starting WebSockets: ws://localhost:8888/api/kernels/bfe1b247-6db7-41be-9c63-09ab5c4d2b66
utils.js:37 Loading extension: jupyter-js-widgets/extension
kernel.js:107 Kernel: kernel_connected (bfe1b247-6db7-41be-9c63-09ab5c4d2b66)
kernel.js:107 Kernel: kernel_ready (bfe1b247-6db7-41be-9c63-09ab5c4d2b66)
manager-base.js:291 Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel, fallback to fetching individual model state. Reason: Control comm was closed too early
_loadFromKernel @ manager-base.js:291
:8888/static/ipytree.js?v=20230421232518:1          Failed to load resource: the server responded with a status of 404 (Not Found)
Untitled1.ipynb:1 Refused to execute script from 'http://localhost:8888/static/ipytree.js?v=20230421232518' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
6manager-base.js:575 Error: Script error for "ipytree"
http://requirejs.org/docs/errors.html#scripterror
    at makeError (require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593:168:17)
    at HTMLScriptElement.onScriptError (require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593:1735:36)
loadModelClass @ manager-base.js:575
DevTools failed to load source map: Could not load content for chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND

Any suggestions?

@dridk
Copy link

dridk commented Aug 29, 2024

Same error from Jupyterlab

[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'TreeModel' from module 'ipytree'
Error: No version of module ipytree is registered
    at f.loadClass (https://jupyter.chu-brest.fr/user/0154618a/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/446.fdf8b1b233cb8c1783f6.js?v=fdf8b1b233cb8c1783f6:1:74920)

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