[Bug] Add-ons manager stops.

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
fcaduser
Posts: 446
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

Re: [Bug ?] Add-ons manager stops.

Post by fcaduser »

(Why 3 screenshots ? There are only TWO attachments in my message ! Well, no mater...)
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: [Bug ?] Add-ons manager stops.

Post by Syres »

Yes, you need Enregistrer Les Messages du Journal ticked, when the issue is fixed you can untick it again but that's what enables all the important information is output by.
fcaduser
Posts: 446
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

Re: [Bug ?] Add-ons manager stops.

Post by fcaduser »

Sorry, I didn't know about the option.

Look at the screenshot. The last line...
(I have to kill FC because it freezes so no cut and paste.)
Capture d’écran de 2022-08-09 17-54-01.png
Capture d’écran de 2022-08-09 17-54-01.png (270.44 KiB) Viewed 777 times
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: [Bug ?] Add-ons manager stops.

Post by adrianinsaval »

wouldn't it have been better to run freecad -l in terminal and upload the log file here?
fcaduser
Posts: 446
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

Re: [Bug ?] Add-ons manager stops.

Post by fcaduser »

@ adrianinsaval
OK, which one ?
User avatar
chennes
Veteran
Posts: 3881
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: [Bug ?] Add-ons manager stops.

Post by chennes »

Can you clarify -- I didn't understand this to be a complete freeze from your earlier post. The close button on the dialog does not work?
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
fcaduser
Posts: 446
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

Re: [Bug ?] Add-ons manager stops.

Post by fcaduser »

1) First, each time FC was frozen. So I have to kill it.
2) Now, I can close the window of the AddonManager. I don't understand why the behavior has changed.
fcaduser
Posts: 446
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

Re: [Bug ?] Add-ons manager stops.

Post by fcaduser »

So I removed everything (configuration files included) and did a new fresh compilation.

See the log, right after FC installed I launched FC and I didn't even click the AddonManager button. Just launched, cut and pasted the log, nothing else, point. There is a problem with AM during FC initialization.

Code: Select all

15:52:50  OpenGL version is: 4.5 (4.5 (Compatibility Profile) Mesa 20.3.5)
15:52:50  Run Gui init script
15:52:51  Init: Running FreeCADGuiInit.py start script...
15:52:51  Init:   Searching modules...
15:52:51  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Plot(InitGui.py not found)... ignore
15:52:51  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Part... done
15:52:51  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Mesh... done
15:52:51  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Spreadsheet... done
15:52:51  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Raytracing... done
15:52:52  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/OpenSCAD... done
15:52:52  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/TechDraw... done
15:52:53  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Idf(InitGui.py not found)... ignore
15:52:53  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Tux... done
15:52:53  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Surface... done
15:52:54  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Material... done
15:52:54  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Arch... done
15:52:55  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Points... done
15:52:55  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Draft... done
15:52:55  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Sketcher... done
15:52:55  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Measure(InitGui.py not found)... ignore
15:52:56  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Show(InitGui.py not found)... ignore
15:52:56  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/AddonManager... failed
15:52:56  ----------------------------------------------------------------------------------------------------
15:52:56  Traceback (most recent call last):
  File "<string>", line 140, in RunInitGuiPy
  File "<string>", line 6, in <module>
  File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "/home/mainuser/software/freecad_2022-08-10/Mod/AddonManager/AddonManager.py", line 60, in <module>
    from package_details import PackageDetails
  File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "/home/mainuser/software/freecad_2022-08-10/Mod/AddonManager/package_details.py", line 38, in <module>
    from addonmanager_workers import GetMacroDetailsWorker, CheckSingleUpdateWorker
  File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'addonmanager_workers'
15:52:56  ----------------------------------------------------------------------------------------------------
15:52:56  During initialization the error "No module named 'addonmanager_workers'" occurred in /home/mainuser/software/freecad_2022-08-10/Mod/AddonManager/InitGui.py
15:52:56  Please look into the log file for further information
15:52:56  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Web... done
15:52:57  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Image... done
15:52:57  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Start... done
15:52:57  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Test... done
15:52:57  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/ReverseEngineering... done
15:52:57  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Inspection... done
15:52:57  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/PartDesign... done
15:52:57  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/MeshPart... done
15:52:57  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Fem... done
15:52:57  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Path... done
15:52:57  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Import... done
15:52:57  Init:      Initializing /home/mainuser/software/freecad_2022-08-10/Mod/Robot... done
15:52:57  All modules with GUIs using InitGui.py are now initialized
15:52:57  All modules with GUIs initialized using pkgutil are now initialized
15:52:58  Init: Loading FreeCAD GUI
15:52:58  Init: Running FreeCADGuiInit.py start script... done
15:53:21  Init: Activating default workbench StartWorkbench
15:53:21  Loading GUI of Web module... done
15:53:22  Loading GUI of Start module... done
15:53:22  Loading Start module... done
15:53:22  Unknown command 'Std_AddonMgr'
15:53:22  Init: Showing main window
15:53:22  Main window restored
15:53:22  Show main window
15:53:22  Toolbars restored
15:53:22  Couldn't connect to spacenav daemon. Please ignore if you don't have a spacemouse.
15:53:22  Module: Part
15:53:22  Loading Part module... done
15:53:22  Loading Draft workbench, done.
15:53:22  Unknown command 'Std_AddonMgr'
15:53:22  Draft workbench activated.
15:53:22  Loading Fem module... done
15:53:22  Loading GUI of Fem module... done
15:53:22  Unknown command 'Std_AddonMgr'
15:53:22  Draft workbench deactivated.
15:53:22  Loading Mesh module... done
15:53:22  Loading GUI of Mesh module... done
15:53:22  Loading GUI of MeshPart module... done
15:53:22  flatmesh-commands are not available
15:53:22  flatmesh needs pybind11 as build dependency
15:53:22  No module named 'flatmesh'Unknown command 'Std_AddonMgr'
15:53:22  Loading Sketcher module... done
15:53:22  Loading PartDesign module... done
15:53:22  Loading GUI of Part module... done
15:53:22  Loading GUI of Sketcher module... done
15:53:22  Loading GUI of PartDesign module... done
15:53:22  Unknown command 'Std_AddonMgr'
15:53:22  Unknown command 'Std_AddonMgr'
15:53:22  Unknown command 'Std_AddonMgr'
15:53:22  Loading GUI of Spreadsheet module... done
15:53:22  Unknown command 'Std_AddonMgr'
15:53:22  Loading Inspection module... done
15:53:22  Loading TechDraw module... done
15:53:22  Loading TechDrawGui module... done
15:53:22  Unknown command 'Std_AddonMgr'
15:53:22  Unknown command 'Std_AddonMgr'
15:53:22  Init: Entering event loop
15:53:22  Init: Executing event loop...
15:53:22  Init: Processing command line files

User avatar
chennes
Veteran
Posts: 3881
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: [Bug ?] Add-ons manager stops.

Post by chennes »

Sorry, I'm in the middle of doing some refactoring and I missed a push. Should be fixed in git commit 9250850c9c.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
fcaduser
Posts: 446
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

Re: [Bug ?] Add-ons manager stops.

Post by fcaduser »

No problem, I will compile tomorrow and give you feed-back of course.
Post Reply