ppd / freecad-ppd

5 stars 1 forks source link

FEM - No module named 'yaml' #2

Closed tommirintala closed 2 years ago

tommirintala commented 2 years ago

When running FEM inside Freecad, the subjects error message appears.

I know the meaning of the error message. It means that the Freecad is unable to locate python's yaml -module.

What I don't know, what is the correct way to add dependency to snap freacad. Since I have in local system python-yaml installed, but it is not used by snap instances.

ppd commented 2 years ago

I will add it and kick off a new build shortly. Thanks for the pointer.

ppd commented 2 years ago

Build for edge: https://github.com/ppd/freecad-ppd/actions/runs/1529726926 Build for stable: https://github.com/ppd/freecad-ppd/actions/runs/1529725293

The stable build will end up in candidate first. If you could refresh to that in about two hours and verify that it's working, I'd promote it to stable thereafter.

tommirintala commented 2 years ago

Wow -- this was fast! I'll try it when it is available. :partying_face:

ppd commented 2 years ago
>>> import yaml
>>> yaml
<module 'yaml' from '/snap/freecad-ppd/72/usr/lib/python3/dist-packages/yaml/__init__.py'>

released revision 72 to stable

tommirintala commented 2 years ago

It took me longer to get back on desktop, than expected, sorry for the delay. And the tests, which I run, took a little longer, than I expected.

I tested both latest/edge and latest/candidate. In my tests, all relevant FEM functionality is now working, including the yaml and gmsh -- which could have been the next stopping point.

ppd commented 2 years ago

Excellent, thank you. Please file additional issues if you encounter any problems.