You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using DecoratedGraph.export_plot fails on windows. This is due to the method first creating a temporary file, writing contents to it and then calling dot with the filename as input while still holding the file handle. Windows doesn't allow another process to to open the file while we still have the handle, but we also can't simply drop it before calling dot, because that would remove it.
The text was updated successfully, but these errors were encountered:
* Create draft PR for #369
* Fix export_plot on windows
* black
* Move temporary file creation out of method
* Add missed flush
* add tests for png export
* add graphviz to dockerfile requirements
* Use CloseableNamedTemporaryFile.py
* Remove unnecessary use of temporary file
* Add missing file deletion for 'closeable_temporary_file'
* Rename CloseableNamedTemporaryFile.py
* test CloseableNamedTemporaryFile
* close CloseableNamedTemporaryFile before removing
* black
---------
Co-authored-by: rihi <[email protected]>
Co-authored-by: rihi <[email protected]>
Co-authored-by: Manuel Blatt <[email protected]>
Co-authored-by: Manuel Blatt <[email protected]>
Using
DecoratedGraph.export_plot
fails on windows. This is due to the method first creating a temporary file, writing contents to it and then callingdot
with the filename as input while still holding the file handle. Windows doesn't allow another process to to open the file while we still have the handle, but we also can't simply drop it before callingdot
, because that would remove it.The text was updated successfully, but these errors were encountered: