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
10 stars 5 forks source link

Bug when trying to generate a report #9

Closed 0phiTeS closed 1 month ago

0phiTeS commented 1 month ago

13:39:45 Running the Python command 'Analyse_Document_Command' failed: Traceback (most recent call last): File "C:\Users*User\AppData\Roaming\FreeCAD\Mod\FreeCAD-Beginner-Assistant-main.\commands.py", line 34, in Activated result_dict = generate_result_dict() ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users*User\AppData\Roaming\FreeCAD\Mod\FreeCAD-Beginner-Assistant-main.\assistant.py", line 460, in generate_result_dict screenshot_abs_path = FreeCADGui.activeDocument().activeView().saveImage("C:\Users\Aleksander\Documents\GitHub\FreeCAD-Beginner-Assistant\model_images\test.png", 1543, 822, 'Transparent')

0phiTeS commented 1 month ago

I changed every hard coded dependency and it worked

alekssadowski95 commented 1 month ago

This has been resolved in PR #10. Thank you for submitting your bug report :)