Build error cannot open file 'Mod\Sketcher\SketcherGui.pyd

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
paddle
Veteran
Posts: 1365
Joined: Mon Feb 03, 2020 4:47 pm

Build error cannot open file 'Mod\Sketcher\SketcherGui.pyd

Post by paddle »

Hey guys,
When I try to compile FreeCAD with freecad open, I get

Code: Select all

cannot open file 'C:\Users\Sky_l\Desktop\Freecad-Build2\Mod\Sketcher\SketcherGui.pyd
So that's ok. I close the program compile again and it works.

Now the problem is that when FreeCAD crashes, then I get this error even if it's closed. And I can't find any process that seem to be it. So I have to reboot the computer which is quite annoying.

Any way around?
Thanks
kisolre
Veteran
Posts: 4159
Joined: Wed Nov 21, 2018 1:13 pm

Re: Build error cannot open file 'Mod\Sketcher\SketcherGui.pyd

Post by kisolre »

ProcessExplorer/Find Handle of DLL..
User avatar
paddle
Veteran
Posts: 1365
Joined: Mon Feb 03, 2020 4:47 pm

Re: Build error cannot open file 'Mod\Sketcher\SketcherGui.pyd

Post by paddle »

kisolre wrote: Mon Jan 17, 2022 3:37 pm ProcessExplorer/Find Handle of DLL..
Thanks but I can't figure it out. What is the name of the process? I have nothing under 'Handle of DLL' or 'Handle of...' or anything which seems related to python or freecad.
kisolre
Veteran
Posts: 4159
Joined: Wed Nov 21, 2018 1:13 pm

Re: Build error cannot open file 'Mod\Sketcher\SketcherGui.pyd

Post by kisolre »

This should find which process has that file open (in theory):
Attachments
FindHandle.jpg
FindHandle.jpg (71.71 KiB) Viewed 726 times
wmayer
Founder
Posts: 20203
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Build error cannot open file 'Mod\Sketcher\SketcherGui.pyd

Post by wmayer »

Now the problem is that when FreeCAD crashes, then I get this error even if it's closed.
The GUI may have disappeared but I guess the FreeCAD.exe process is still running. Have a look at the Task Manager (or Process Explorer) and check if FreeCAD.exe is still there.
User avatar
paddle
Veteran
Posts: 1365
Joined: Mon Feb 03, 2020 4:47 pm

Re: Build error cannot open file 'Mod\Sketcher\SketcherGui.pyd

Post by paddle »

Thanks for your replies, I'll check on next crash.

But no I already checked and Freecad.exe is not in the app or processes. Nor any names which seem related to freecad or python or other.
Post Reply