-
Notifications
You must be signed in to change notification settings - Fork 38
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
Not passing FMUchecker - undefined symbol: _Py_NoneStruct #202
Comments
I guess this is related to #187 Basicially PythonFMU on Linux has the following issue:
|
Okay, I'll try that way. To be honest I don't know much in detail what goes behind the code... I suppose it will work. I am trying to CoSimulate with StarCCM, and it was giving me the very same error, so I suppose that going back to 0.6.2 will solve the issue. Cannot go to windows as some of these simulations need to run on Linux machines. Thanks! |
I have tried downgrading to 0.6.2, but now the checker just crashes. Can you develop on how to build from source? I have seen a post in which you indicate to run "build_unix.sh" from the package folders, but not sure where the target ".py" should be located for that purpose. Thanks again |
Closed accidentally |
Then you would invoke |
Thanks once again. It gives me the same issue as when using Python3.9, the tester and CCM+ crash with a segmentation fault. Not sure which is the issue. I assume not related with your tool...
|
I have exactly the same issue and couldn't manage to solve it :/. Have you? |
I have tried to use windows to build the FMU and still getting the same error:
|
I also tested downgrading to 0.6.2 and was obtaining segmentation fault. |
This would have zero effect. It's a runtime thing. |
Let me know if you manage to make it work through 0.6.2 to bypass the segmentation fault. I've managed to use the tool, but with the version 0.5.0, and didn't crash. |
I won't comment on the CCM error, but you can get it work with the latest version using
Reflecting the fact that the explicit link has been removed. This should remove the undefined symbol error. I'm not sure about the segmentation fault, but given this is just loading shared libraries you're at the mercy of the linker... You can always try the LD_DEBUG var https://bnikolic.co.uk/blog/linux-ld-debug.html. Also you can check if it works with python tools (e.g. fmpy) (this is for a conda & linux setup) |
Hello there, I have an issue on the FMU generated by the tool. The FMUchecker is giving back the following information:
The python code is pretty straightforward:
The text was updated successfully, but these errors were encountered: