Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76339 - [freecad] Missing python-yaml dependency

Attached to Project: Community Packages
Opened by Borys (fasdk) - Saturday, 29 October 2022, 10:18 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 31 October 2022, 23:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Missing python-yaml dependency.

Additional info:
* version 0.20.1-7

Steps to reproduce:
1. Go through tutorial https://wiki.freecadweb.org/FEM_tutorial
2. At the material selection step choose Calculix-Steel as the material and click 'use FreeCAD material editor'.
You will see exception in 'Report View' as follows:

12:50:13 Material card chosen:
/usr/share/freecad/Mod/Material/StandardMaterial/CalculiX-Steel.FCMat
12:50:13
12:50:29 Traceback (most recent call last):
12:50:29 File "/usr/lib/freecad/Mod/Fem/femtaskpanels/task_material_common.py", line 325, in edit_material
12:50:29 new_material_params = MaterialEditor.editMaterial(card_path=self.card_path)
12:50:29 File "/usr/lib/freecad/Mod/Material/MaterialEditor.py", line 798, in editMaterial
12:50:29 editor = MaterialEditor(material=material, card_path=card_path)
12:50:29 File "/usr/lib/freecad/Mod/Material/MaterialEditor.py", line 120, in __init__
12:50:29 self.implementModel()
12:50:29 File "/usr/lib/freecad/Mod/Material/MaterialEditor.py", line 157, in implementModel
12:50:29 template_data = get_material_template(True)
12:50:29 File "/usr/lib/freecad/Mod/Material/materialtools/cardutils.py", line 225, in get_material_template
12:50:29 import yaml
12:50:29 File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
12:50:29 return original_import(name, *args, **kwargs)
12:50:29 ModuleNotFoundError: No module named 'yaml'
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Monday, 31 October 2022, 23:16 GMT
Reason for closing:  Fixed
Comment by Toolybird (Toolybird) - Saturday, 29 October 2022, 23:08 GMT
Please refer to PM's comments here [1] for some additional background regarding deps

[1] https://bugs.archlinux.org/task/75760#comment210751
Comment by Alexander F. Rødseth (xyproto) - Sunday, 30 October 2022, 11:56 GMT
Thanks for reporting! I'll add it as a dependency.

Loading...