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

Gmsh load issue #826

Closed
addadyy opened this issue Oct 12, 2021 · 3 comments
Closed

Gmsh load issue #826

addadyy opened this issue Oct 12, 2021 · 3 comments

Comments

@addadyy
Copy link

addadyy commented Oct 12, 2021

On WSL unbuntu, gmsh version info is given in the standard output, instead of stderr, which cause gmsh version fails to fetch
from the following line (gmshMesh.py: 81):
out, verStr = p.communicate()

Consider check whichever one is empty and set the verStr to be that one? like,
out, err = p.communicate()
verStr = out.decode('ascii').strip() if out else err.decode('ascii').strip()

@guyer
Copy link
Member

guyer commented Oct 12, 2021

As it may be more relevant than the linux distribution, what version of Gmsh are you running?

@addadyy
Copy link
Author

addadyy commented Oct 13, 2021

Hi, i'm using gmsh 4.9.0

@guyer
Copy link
Member

guyer commented Apr 29, 2022

Fixed by #846

@guyer guyer closed this as completed Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants