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

Redirect orca process stdout to devnull to prevent write_image deadlock #1262

Merged
merged 1 commit into from
Nov 6, 2018

Conversation

jonmmease
Copy link
Contributor

Fix for #1255

This only seemed to be causing a problem on Windows after
more than 20 images had been exported.

The reason stdout had previously been set to subprocess.PIPE
was to prevent orca's stdout from being displayed in the python
shell. Setting it to devnull accomplishes the same thing
but avoids the deadlock problem

This only seemed to be causing a problem on windows after
more than 20 images had been exported.

The reason stdout had previously been set to subprocess.PIPE
was to prevent orca's stdout from being displayed in python
shell. Setting it to devnull accomplishes the same thing
but avoid the deadlock problem
@jonmmease jonmmease added this to the v3.4.1 milestone Nov 5, 2018
@jonmmease jonmmease merged commit caf3ae1 into master Nov 6, 2018
michaelbabyn pushed a commit to michaelbabyn/plotly.py that referenced this pull request Dec 22, 2018
)

This only seemed to be causing a problem on windows after
more than 20 images had been exported.

The reason stdout had previously been set to subprocess.PIPE
was to prevent orca's stdout from being displayed in python
shell. Setting it to devnull accomplishes the same thing
but avoid the deadlock problem
@nicolaskruchten nicolaskruchten deleted the bug_1255 branch June 19, 2020 16:12
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