-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
overhaul external process calls in TexManager #7490
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
Labels
Difficulty: Medium
https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
Milestone
Comments
tomspur
added a commit
to tomspur/matplotlib
that referenced
this issue
Dec 5, 2016
This commits starts with moving from `os.system` to the `subprocess` module and captures stderr and includes it in the exceptions. For more information see matplotlibgh-7490.
tomspur
added a commit
to tomspur/matplotlib
that referenced
this issue
Dec 11, 2016
This commits starts with moving from `os.system` to the `subprocess` module and captures stderr and includes it in the exceptions. For more information see matplotlibgh-7490.
tomspur
added a commit
to tomspur/matplotlib
that referenced
this issue
Dec 23, 2016
This commits starts with moving from `os.system` to the `subprocess` module and captures stderr and includes it in the exceptions. For more information see matplotlibgh-7490.
Hi, is anyone working on this? If it's alright, I can try working on it. |
tomspur
added a commit
to tomspur/matplotlib
that referenced
this issue
Feb 4, 2017
This commits starts with moving from `os.system` to the `subprocess` module and captures stderr and includes it in the exceptions. For more information see matplotlibgh-7490.
tomspur
added a commit
to tomspur/matplotlib
that referenced
this issue
Feb 4, 2017
This commits starts with moving from `os.system` to the `subprocess` module and captures stderr and includes it in the exceptions. For more information see matplotlibgh-7490.
tomspur
added a commit
to tomspur/matplotlib
that referenced
this issue
Feb 4, 2017
This commits starts with moving from `os.system` to the `subprocess` module and captures stderr and includes it in the exceptions. For more information see matplotlibgh-7490.
tomspur
added a commit
to tomspur/matplotlib
that referenced
this issue
Feb 5, 2017
This commits starts with moving from `os.system` to the `subprocess` module and captures stderr and includes it in the exceptions. For more information see matplotlibgh-7490.
tomspur
added a commit
to tomspur/matplotlib
that referenced
this issue
Feb 5, 2017
This commits starts with moving from `os.system` to the `subprocess` module and captures stderr and includes it in the exceptions. For more information see matplotlibgh-7490.
tomspur
added a commit
to tomspur/matplotlib
that referenced
this issue
Mar 28, 2017
This commits starts with moving from `os.system` to the `subprocess` module and captures stderr and includes it in the exceptions. For more information see matplotlibgh-7490.
tomspur
added a commit
to tomspur/matplotlib
that referenced
this issue
Mar 28, 2017
This commits starts with moving from `os.system` to the `subprocess` module and captures stderr and includes it in the exceptions. For more information see matplotlibgh-7490.
tomspur
added a commit
to tomspur/matplotlib
that referenced
this issue
Apr 3, 2017
This commits starts with moving from `os.system` to the `subprocess` module and captures stderr and includes it in the exceptions. For more information see matplotlibgh-7490.
tomspur
added a commit
to tomspur/matplotlib
that referenced
this issue
Apr 9, 2017
This commits starts with moving from `os.system` to the `subprocess` module and captures stderr and includes it in the exceptions. For more information see matplotlibgh-7490.
Fixed by #7572. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We see frequent transient failures for the
TexManager
in travis and http://stackoverflow.com/questions/40695296/strange-crash-after-saving-many-colormeshplots-using-matplotlibI suspect what is going on here is that there is a race condition around the various system calls we are making. We capture the stdout from the various tex related processes, but do not caputer stderr (which I hope will have useful debugging information). We are using the (old) method of
os.system
. The suggested way to do this is now thesubprocess
module (https://www.python.org/dev/peps/pep-0324/). See https://docs.python.org/2/library/subprocess.html#replacing-os-system for comments on how to convert fromos.system
.The specific tasks for this issue:
os.system
tosubprocess.call
Tagging this as 'medium' difficulty because it is touching a rarely touched part of the code base and may require a good understanding of how subprocess calls work in python, but as new-contributor-friendly because it is a self-contained project on a relatively well tested set of functionality.
The text was updated successfully, but these errors were encountered: