PyVista WRML file output is incorrect with checkers in WSL2 and Ubuntu 22 and correct in PowerShell and Windows 11 #12393
Unanswered
mbalcerzyk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
I am getting incorrect PyVista WRML file output with checkers in WSL2 and Ubuntu 22 and correct in PowerShell and Windows 11. I opened a bug in PyVista page, but as it shows up only in WSL2 Ubuntu, it is a border question. The issue is reported with details at
pyvista/pyvista#6974
There was no answer. I checked the same piece of Python and Pyvista code in the same computer but with Python 3.11 for Windows and the rendering is correct. I have graphical subsystem in Ubuntu working fine. One of my friends has the same problem with WSL2 and Pyvista in Ubuntu. The Pyvista properties in WSL2 and Windows from print(pv) are:
In WSL2 the output of print is
Date: Fri Dec 13 11:57:55 2024 CET
MathText Support : True
Python 3.11.11 (main, Dec 4 2024, 08:55:07) [GCC 11.4.0]
in Windows 11 (24H2) the output is
Date: Fri Dec 13 11:54:26 2024 Romance Standard Time
MathText Support : False
Python 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64
bit (AMD64)]
As it is a border question, I ask also on WSL2 forum for help. If you try to reproduce the code there, it uses opengate Python library, which is very big and complex. Maybe you can use any WRML 3D file to view it in Windows and WSL2 to compare.
Kind regards
Marcin Balcerzyk
Beta Was this translation helpful? Give feedback.
All reactions