alekssadowski95 / FreeCAD-Beginner-Assistant

Gives realtime and asynchronous feedback to parts created in the FreeCAD Part Design and Sketcher workbenches.
GNU Lesser General Public License v2.1
4 stars 5 forks source link

No module named 'fpdf' #13

Open FreeCutter opened 2 days ago

FreeCutter commented 2 days ago

Hi, I'm curious to see what the WB is about.

However, while starting the WB / apply WB to a file being open I got the following error messages:

grafik

and Report View tells me:

07:03:06 No module named 'fpdf' 07:03:06 Traceback (most recent call last): File "C:\Users\...\AppData\Roaming\FreeCAD\Mod\FreeCAD-Beginner-Assistant-main\.\InitGui.py", line 37, in Initialize from commands import AnalyseDocumentCommand File "C:\Program Files\FreeCAD 1.0\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature.py", line 139, in _import return original_import(name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\...\AppData\Roaming\FreeCAD\Mod\FreeCAD-Beginner-Assistant-main\.\commands.py", line 8, in <module> from pdfgen import run_report File "C:\Program Files\FreeCAD 1.0\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature.py", line 139, in _import return original_import(name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\...\AppData\Roaming\FreeCAD\Mod\FreeCAD-Beginner-Assistant-main\.\pdfgen.py", line 1, in <module> from fpdf import FPDF File "C:\Program Files\FreeCAD 1.0\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature.py", line 139, in _import return original_import(name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

FreeCAD Version info: OS: Windows 10 build 19045 Word size of FreeCAD: 64-bit Version: 1.0.0RC2.38806 (Git) Build type: Release Branch: (HEAD detached at 1.0rc2) Hash: 3d63fc6c2f665a8d5e6468845a419bcac80756c7 Python 3.11.9, Qt 5.15.13, Coin 4.0.3, Vtk 9.2.6, OCC 7.7.2 Locale: German/Germany (de_DE) Stylesheet/Theme/QtStyle: unset/FreeCAD Classic/Qt default Installed mods:

alekssadowski95 commented 10 hours ago

Thank you for your bug report! I added the fpdf library as a static dependency. Its LGPLv3 so it should be compatible. Does it work on your side now?