Ondsel-Development / FreeCAD

This is the official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.
https://www.freecad.org
Other
192 stars 9 forks source link

[Problem] Macros = ModuleNotFoundError - No module names gui_facebinders #28

Open RandomLegend opened 9 months ago

RandomLegend commented 9 months ago

Is there an existing issue for this?

Problem description

I wanted to record a macro that creates a facebinder via the draft workbench on a selected face. Using either the gui buttons or using shortcuts, i can create the facebinder without issues.

Executing the macro however throws the following error:

12:55:12  pyException: Traceback (most recent call last):
  File "/home/frank-garuda/.local/share/Ondsel/Macro/Facebind.FCMacro", line 6, in <module>
    import gui_facebinders
  File "/tmp/.mount_Ondsell3G3CT/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'gui_facebinders'

Tested this with the appimage ondsel version, weekly built dev of freecad and stable freecad. All behave the same.

Full version info

OS: Garuda Linux (Hyprland/garuda-hyprland)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.35594 (Git) AppImage
Build type: Release
Branch: main
Hash: 49e7bba9c7390b11e6cc9acebd10cc1568ec8869
Python 3.10.13, Qt 5.15.8, Coin 4.0.2, Vtk 9.2.6, OCC 7.6.3
Locale: English/United States (en_US)

Subproject(s) affected?

None

Anything else?

No response

Code of Conduct