Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workaround for orca segmentation fault #1140

Merged
merged 3 commits into from
Aug 30, 2018
Merged

Add workaround for orca segmentation fault #1140

merged 3 commits into from
Aug 30, 2018

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