otvam / pypeec

PyPEEC - 3D Quasi-Magnetostatic FFT-Accelerated PEEC Solver
https://pypeec.otvam.ch
Mozilla Public License 2.0
14 stars 2 forks source link

PyVista crash (during closing and/or screenshot) #1

Closed otvam closed 6 months ago

otvam commented 1 year ago

PyPEEC is affected by the following PyVista issue pyvista/pyvistaqt#314.

The problem is that the attribute image does not always exist in pyvista/plotting/plotting.py. A temporary workaround is to add self.render() before self.image is referenced.

otvam commented 1 year ago

The bug has been solved upstream. The workaround will be deleted once the new PyVista version is integrated.