FreeCAD suddenly won't start - how to debug ?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
Boo
Posts: 43
Joined: Fri Jul 24, 2020 12:38 pm

FreeCAD suddenly won't start - how to debug ?

Post by Boo »

Hi,

I am running FreeCAD 0.20.2 which was working great but suddenly it refuses to start. The splash screen shows up and gets as far as "Loading PathToolController... Initialising c:\Users\..." but then it disappears and the "FreeCAD Main Program" in the Windows Task Manager disappears too. Nothing further happens and I cannot see anything relating to FreeCAD in WTM after that point.

Can anyone give me any pointers how to proceed to debug/resolve this issue please ?

The last time I posted here I was Using:

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * A2plus 0.4.60g
  * Assembly3 0.11.4
  * Assembly4 0.12.5
  * BOLTSFC
  * Curves 0.6.5
  * fasteners 0.4.27
  * fcgear 1.0.0
  * kicadStepUpMod 10.16.5
  * MakerWorkbench
  * Manipulator 1.4.9
  * parts_library
  * Plot 2022.4.17
  * ThreadProfile 1.84.0
  * WebTools
but my current splash screen shows 0.20.2 as I posted above.

Thanks,

Boo
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FreeCAD suddenly won't start - how to debug ?

Post by wmayer »

Start FreeCAD from the command line and pass the option --write-log. This will create the file FreeCAD.log under %APPDATA%\FreeCAD and may contain some information about what's going on.
Boo
Posts: 43
Joined: Fri Jul 24, 2020 12:38 pm

Re: FreeCAD suddenly won't start - how to debug ?

Post by Boo »

wmayer wrote: Mon Mar 27, 2023 6:07 pm Start FreeCAD from the command line and pass the option --write-log. This will create the file FreeCAD.log under %APPDATA%\FreeCAD and may contain some information about what's going on.
OK, thank you very much. I have done what you suggest and (after changing the User from my name to "UserME" and deleting the path) I have attached the file as "FreeCAD.log.edited.txt".

From the error message it seems to be an issue with "\MakerWorkbench", can anyone suggest a way forward for me ? I seem to remember that I recently updated this workbench but it is not one that I use, I just wanted to play with it...

Thanks again,

Boo
Attachments
FreeCAD.log.edited.txt
(12.09 KiB) Downloaded 11 times
User avatar
chennes
Veteran
Posts: 3881
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: FreeCAD suddenly won't start - how to debug ?

Post by chennes »

You can remove that workbench by deleting its folder from USER/AppData/Roaming/FreeCAD/Mod, or you can disable it by creating a file called ADDON_DISABLED (no content necessary) in its Mod folder. then try to start FreeCAD again.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
Boo
Posts: 43
Joined: Fri Jul 24, 2020 12:38 pm

Re: FreeCAD suddenly won't start - how to debug ?

Post by Boo »

chennes wrote: Mon Mar 27, 2023 7:24 pm You can remove that workbench by deleting its folder from USER/AppData/Roaming/FreeCAD/Mod, or you can disable it by creating a file called ADDON_DISABLED (no content necessary) in its Mod folder. then try to start FreeCAD again.
Thanks, that worked and I am going again.

Boo
BezdaM
Posts: 1
Joined: Tue Mar 28, 2023 5:47 pm

Re: FreeCAD suddenly won't start - how to debug ?

Post by BezdaM »

Hello, I have problem too
Attachments
log.txt
(61.66 KiB) Downloaded 13 times
User avatar
chennes
Veteran
Posts: 3881
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: FreeCAD suddenly won't start - how to debug ?

Post by chennes »

I don't think that's the same error -- it looks to be some sort of problem with the Start workbench, maybe? It doesn't look like you have any 3rd party addons installed.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
Post Reply