-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
We are trying to use chemiscope for visualization in the documentation of tblite, however the chemiscope javascript component cannot be found. Is there any guidance on how to setup the JS component of chemiscope with sphinx?
Error message in HTML output:
Failed to load view class 'ChemiscopeView' from module 'chemiscope'
Error: Script error for "chemiscope"
http://requirejs.org/docs/errors.html#scripterror
at makeError (https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js:1:1067)
at HTMLScriptElement.onScriptError (https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js:1:13218)
Error message in browser log:
strict mode: use allowUnionTypes to allow union type keyword at "#/properties/state/additionalProperties/properties/buffers/items/properties/path/items" (strictTypes)
Failed to load resource: the server responded with a status of 404 ()
geometry.html:1 Refused to execute script from 'https://tblite--257.org.readthedocs.build/en/257/tutorial/python/chemiscope.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
embed-amd.js:26 Falling back to https://cdn.jsdelivr.net/npm/ for chemiscope@0.8.4
embed-amd.js:16 Error: Script error for "chemiscope"
http://requirejs.org/docs/errors.html#scripterror
at makeError (require.min.js:1:1067)
at HTMLScriptElement.onScriptError (require.min.js:1:13218)
Example: https://tblite--257.org.readthedocs.build/en/257/tutorial/python/geometry.html#visualization
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels