Marvin for JavaScript - Troubleshoot

Sketch does not appear in the iframe on my page

The "sketcher is null" error message appears when I try the bundled examples

Probably you have opened the example directly from the file system. Please, note that Marvin4JS is a web component, it works only via web server.

When you attempt to open any bundled example from the local filesystem, the code examples can not run properly since the browser may block any attempt to call an external JavaScript code (e.g. reference to the Marvin4JS API). In most browsers, it is the default security policy when resources are loaded from the local storage, see Same-origin policy for file: URIs.

2D clean drops error

Please, note that 2D coordinate calculation is performed at server side. Marvin4JS posts the structure to the Clean2D web service that generates the new coordinates and sends it back to the editor in an MRV. The clean 2D operation can fail if

Please, check that web service is available and it is installed properly, see the installation guide of Marvin4JS. If it is necessary, consult with the system administrator of the server that hosts the web services.