Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workaround for orca segmentation fault (#1140)
* Workaround for plotly/orca#124 Unset the NODE_OPTIONS environment variable before calling orca to avoid an orca segmentation fault * Constrain ipykernel version. Build was breaking on Python 2.7 with ipykernel 4.9 * Reconnect stream write on 502 errors Example test failure: ``` ====================================================================== ERROR: test_stream_single_points (plotly.tests.test_plot_ly.test_stream.test_stream.TestStreaming) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/circleci/project/plotly/tests/test_plot_ly/test_stream/test_stream.py", line 52, in test_stream_single_points my_stream.write(Scatter(x=[1], y=[10])) File "/home/circleci/project/plotly/plotly/plotly.py", line 704, in write self._stream.write(jdata, reconnect_on=reconnect_on) File "/home/circleci/project/plotly/plotly/chunked_requests/chunked_request.py", line 61, in write msg=response.read())) Exception: Server responded with status code: 502 and message: <html><body><h1>502 Bad Gateway</h1> The server returned an invalid or incomplete response. </body></html> ```
- Loading branch information