dials.background: Fix error writing out file when no display connection available #1550
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Jenkins has failed on the new background_plot test because
apparently the X server isn't properly configuredthe connection to the desktop isn't available on mac CII had actually tested a fix to do exactly this before, because when
DISPLAY
is set the X server is connected to, even if it doesn't display anything, but had decided my complaint was small and technical and the cost of connecting to the window server was also small (on macOS, when logged in remotely, the X server opens but doesn't display anything). Additionally, forcing theagg
backend causes issues if you want to use the command line tools functionally from a program that wants to.show()
plots, so I thought leaving it would be sufficient to avoid problems. C'est la vie. 馃う