-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Plotly version: 2.8.3
Platform: Windows 10
Chrome: 97.0.4692.99
If you open a local HTML file on a Windows network shared folder with Chrome, it shows RESULT_CODE_KILLED_BAD_MESSAGE.
Looks like it happens if you open an HTML file with a network shared folder path like \\machine-name\folder\index.html. This issue doesn't happen if you copy the HTML file to the local drive like "C:\folder".
It has been working fine until last week. The difference between last week and this week is the Chrome version. Seems like it happens on the recent Chrome.
The other HTML pages are still working fine. Only pages with Plotly fail with this error. If you know how to workaround this problem, please let me know.
How to Reproduce
- Prepare a network shared folder.
- Copy plotly-2.8.3.min.js in the folder.
- Create an index.html in the folder with the following contents. I prepared a zip file also for convenience.
<head>
<script src='./plotly-2.8.3.min.js'></script>
</head>
<body>
<div id='myDiv'><!-- Plotly chart will be drawn inside this DIV --></div>
<script>
var data = [
{
x: ['giraffes', 'orangutans', 'monkeys'],
y: [20, 14, 23],
type: 'bar'
}
];
Plotly.newPlot('myDiv', data);
</script>
</body>
- Open the shared folder from the a different Windows box using
\\machine-name\folderpath syntax and openindex.htmlon Chrome.
Related topic on Forum:
https://community.plotly.com/t/chrome-edge-give-result-code-killed-bad-message-on-loading-local-html-from-network-drive/59902

