Skip to content

Add workaround for orca segmentation fault#1140

Merged
jonmmease merged 3 commits intomasterfrom
orca_segfault
Aug 30, 2018
Merged

Add workaround for orca segmentation fault#1140
jonmmease merged 3 commits intomasterfrom
orca_segfault

Conversation

@jonmmease
Copy link
Contributor

See discussion in plotly/orca#124

This PR adds a line to unset the NODE_OPTIONS environment variable before calling orca, thereby avoiding the segmentation fault.

Unset the NODE_OPTIONS environment variable before calling orca
to avoid an orca segmentation fault
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>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant