Skip to content

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

@2sn

Description

@2sn

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions