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

[BUG] - Windows access error when plotting with PyVista in GitHub Actions #115

Open
dodu94 opened this issue Nov 25, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@dodu94
Copy link
Member

dodu94 commented Nov 25, 2024

Describe the bug
Only when plotting with pyvista on Windows GitHub action, the following error is observed:

Windows fatal exception: access violation

...

Current thread 0x00001fe8 (most recent call first):
  File "C:\Miniconda\envs\test\lib\site-packages\pyvista\plotting\plotter.py", line 1988 in render
  File "C:\Miniconda\envs\test\lib\site-packages\pyvista\plotting\plotter.py", line 6075 in screenshot
  File "C:\Miniconda\envs\test\lib\site-packages\f4enix\output\plotter.py", line 431 in plot_slices
  File "D:\a\F4Enix\F4Enix\tests\plotter_test.py", line 81 in test_plot_slices

For the moment I was forced to skip the offending tests when in windows (they are still tested in the linux workflow).
The skipped tests can be found in meshtal_test.py and in test_notebooks.py.

To Reproduce
Unfortunately I did not find a way to reproduce this if not on the GitHub actions. It is probably something related to the headless display.

Expected behavior
The tests should run without any issues as per the linux version

@dodu94 dodu94 added the bug Something isn't working label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant