Update electron version to 2.0.8 to address segmentation fault#125
Update electron version to 2.0.8 to address segmentation fault#125
Conversation
|
Great. We'll need to test this on stage, to make sure the new electron behaves well enough for our image-server before merging this. @scjody what are some of the tests you ran last spring? |
|
@etpinard I did my testing from the I used a modified version of the plotly.js testing tools, which can be found on the imageserver-testing-hacks branch, along with these datasets. Note that the tests can make calls via a streambed instance or directly to an imageserver; you want direct mode. |
|
Thanks @scjody ! Unfortunately @jonmmease , I don't think I'll have time to get to this until at least Friday if not next Tuesday. If not too busy, perhaps @tarzzz could help us out? |
|
I totally understand @etpinard, this sounds a bit involved. I'll focus on the rest of the plotly.py 3.2 release items and them make the call on whether to block on this or not. Thanks! |
|
@etpinard I'm in the process of adding a workaround to plotly.py that will simply unset the This takes care of the segmentation fault problem when orca is used from a plotly.py session that was launched with the |
Is this still the case @jonmmease ? |
|
Yes. My workaround is working well. Thanks for following up! |
Fantastic. I'll differ testing Electron 2.0 to after the plotly.js |
|
Hello, +1 On raspberry pi 3 b+ with version 1.8.4 of electron and latest node [1] i get the following error [2]. After applying the changes manually in this PR it works for me, would be nice to have it in the master ;) (BTW first i tried with electron 5.X, the server could start but the plot generation was just hanging without any apparent reason) [1] [2] |
|
Superseded and closed by #266 |
This PR updates the electron version from 1.8.4 to 2.0.8 to address the segmentation fault error discussed in #124.
I verified on MacOS that the segmentation fault no longer occurs when the NODE_OPTIONS environment variable is set.
My local tests all passed without an issue, now we'll see what the CI tests do.