diff --git a/src/Mod/PartDesign/InitGui.py b/src/Mod/PartDesign/InitGui.py index c935ffb033..f7b7ac747e 100644 --- a/src/Mod/PartDesign/InitGui.py +++ b/src/Mod/PartDesign/InitGui.py @@ -39,7 +39,10 @@ class PartDesignWorkbench ( Workbench ): def Initialize(self): # load the module try: + import traceback from PartDesign.WizardShaft import WizardShaft + except RuntimeError: + print ("{}".format(traceback.format_exc())) except ImportError: print("Wizard shaft module cannot be loaded") try: