[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

[Bug] Add-ons manager stops.

Post by fcaduser »

Hello.

When I try to launch the add-ons manager it systematically stops during the update process (always at the same point about 70%, it very seems).

1) I see no hint about the error in the terminal.
2) https://github.com is accessible from Firefox.

Any idea ?

Code: Select all

OS: Debian GNU/Linux 11 (bullseye) (GNOME/gnome)
Word size of FreeCAD: 64-bit
Version: 0.21.29998 (Git)
Build type: Release
Branch: master
Hash: 7a1c9303d39ad82199f23dac88e26bc91d4282c1
Python 3.9.2, Qt 5.15.2, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: French/France (fr_FR)
Installed mods: 
  * fasteners
  * fcgear
  * A2plus 0.4.54b
  * Curves 0.3.0
  * sheetmetal 0.2.49
Last edited by fcaduser on Thu Aug 11, 2022 1:26 pm, edited 2 times in total.
fcaduser
Posts: 446
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

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

Post by fcaduser »

Just in case... I've just purged :
"~/.local/share/FreeCAD"
But it did nothing. My add-ons manager is broken.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

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

Post by chrisb »

Look here where the helper files are according to the XDG specification: https://wiki.freecadweb.org/Release_notes_0.20#Core
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

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

Post by Syres »

I'd target clearing the cache initially but if none of those fix it please raise @chennes.
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) I purged everything :

Code: Select all

rm -rvf ~/.cache/FreeCAD ~/.local/share/FreeCAD ~/.config/FreeCAD
2) I've removed ~/.FreeCAD long time ago, nothing still lingering here.

3) Same symptom except I have now a tiny information, it stops and shows the message : "icon downloaded FOR "frame" "
Last edited by fcaduser on Tue Aug 09, 2022 3:13 pm, edited 1 time in total.
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

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

Post by Syres »

fcaduser wrote: Tue Aug 09, 2022 10:56 am 3) Same symptom except I have now a tiny information, it stops and shows the message : "icon downloaded from "frame" "
With FreeCAD closed, in src\Mod\AddonManager\AddonManager.py at line 161 change from:

Code: Select all

        ADDON_MANAGER_DEVELOPER_MODE = pref.GetBool("developerMode", False)

Code: Select all

        ADDON_MANAGER_DEVELOPER_MODE = pref.GetBool("developerMode", True)
and save the updated file, start FC and without opening any file run the AddonManager. This will give @chennes some additional information hopefully. Copy the output from Checking network connection... onwards into your next reply, my output looks like:

Code: Select all

12:41:15  Checking network connection...
12:41:16  GitHub's zen message response: Non-blocking is better than blocking.
12:41:16  Package AnimationFreeCAD: Adding dependency on blinker
12:41:16  Package AnimationFreeCAD: Adding dependency on docutils
12:41:16  Package AnimationFreeCAD: Adding dependency on nine
12:41:16  Package Assembly3: Adding dependency on numpy
12:41:16  Package Assembly3: Adding dependency on py-slvs
12:41:16  Package Beltrami: Adding dependency on Curves workbench
12:41:16  Package BIM: Adding dependency on Arch
12:41:16  Package Curves: Adding dependency on numpy
12:41:16  Package Curves: Adding dependency on scipy
12:41:17  Package FEM_FrontISTR: Adding dependency on FEM
12:41:17  Package frame: Adding dependency on scipy
12:41:17  Package ImportNURBS: Adding dependency on rhino3dm
12:41:17  Package InventorLoader: Adding dependency on Part
12:41:17  Package InventorLoader: Adding dependency on Draft
12:41:17  Package InventorLoader: Adding dependency on Sketcher
12:41:17  Package InventorLoader: Adding dependency on SheetMetal Workbench
12:41:17  Package InventorLoader: Adding dependency on olefile
12:41:17  Package InventorLoader: Adding dependency on xlrd
12:41:17  Package InventorLoader: Adding dependency on xlwt
12:41:17  Package InventorLoader: Adding dependency on xlutils
12:41:17  Package Plot: Adding dependency on matplotlib
12:41:17  Package Mnesarco Utils does not list any content items in its package.xml metadata file.
12:41:17  Package Ship: Adding dependency on capytaine
12:41:17  Package Ship: Adding dependency on plot
12:41:31  Output from pip -o:
12:41:31    Package            Version Latest Type
12:41:31    ------------------ ------- ------ -----
12:41:31    importlib-metadata 4.11.4  4.12.0 wheel
12:41:31    Markdown           3.3.7   3.4.1  wheel
12:41:31    zipp               3.8.0   3.8.1  wheel
12:41:31    
12:41:31  

ADDON MANAGER DEVELOPER MODE CHECKS
12:41:31  -----------------------------------
12:41:31  Addon '3D_Printing_Tools' does not have a package.xml file
12:41:31  Errors found in package.xml file for 'A2plus'
12:41:31     * No readme url specified (not required, but highly recommended)
12:41:32  Addon 'animation' does not have a package.xml file
12:41:32  Addon 'ArchTextures' does not have a package.xml file
12:41:32  Addon 'assembly2' does not have a package.xml file
12:41:33  Addon 'Autoload' does not have a package.xml file
12:41:33  Errors found in package.xml file for 'BCFPlugin'
12:41:33     * No readme url specified (not required, but highly recommended)
12:41:33  Errors found in package.xml file for 'Behave-Dark-Colors'
12:41:33     * No readme url specified (not required, but highly recommended)
12:41:33  Addon 'BIMBots' does not have a package.xml file
12:41:33  Errors found in package.xml file for 'BIM'
12:41:33     * No readme url specified (not required, but highly recommended)
12:41:33  Addon 'bimtester' does not have a package.xml file
12:41:33  Addon 'BOLTSFC' does not have a package.xml file
12:41:33  Addon 'CADExchanger' does not have a package.xml file
12:41:33  Addon 'cadquery_module' does not have a package.xml file
12:41:33  Errors found in package.xml file for 'CfdOF'
12:41:33     * No readme url specified (not required, but highly recommended)
12:41:33  Addon 'Cfd' does not have a package.xml file
12:41:33  Addon 'CommandPanel' does not have a package.xml file
12:41:33  Addon 'CubeMenu' does not have a package.xml file
12:41:33  Addon 'cura_engine' does not have a package.xml file
12:41:33  Errors found in package.xml file for 'CurvedShapes'
12:41:33     * No readme url specified (not required, but highly recommended)
12:41:33  Errors found in package.xml file for 'Curves'
12:41:33     * No readme url specified (not required, but highly recommended)
12:41:33  Addon 'Defeaturing' does not have a package.xml file
12:41:33  Errors found in package.xml file for 'Design456'
12:41:33     * No readme url specified (not required, but highly recommended)
12:41:33  Errors found in package.xml file for 'DesignSPHysics'
12:41:33     * No readme url specified (not required, but highly recommended)
12:41:33  Addon 'dodo' does not have a package.xml file
12:41:33  Errors found in package.xml file for 'Dracula'
12:41:33     * No readme url specified (not required, but highly recommended)
12:41:33  Addon 'drawing_dimensioning' does not have a package.xml file
12:41:33  Addon 'dxf-library' does not have a package.xml file
12:41:33  Errors found in package.xml file for 'DynamicData'
12:41:33     * No readme url specified (not required, but highly recommended)
12:41:33  Addon 'EM' does not have a package.xml file
12:41:33  Addon 'ExplodedAssembly' does not have a package.xml file
12:41:33  Addon 'ExtMan' does not have a package.xml file
12:41:33  Errors found in package.xml file for 'ExtremeProDark'
12:41:33     * No readme url specified (not required, but highly recommended)
12:41:34  Errors found in package.xml file for 'fcgear'
12:41:34     * No readme url specified (not required, but highly recommended)
12:41:34  Errors found in package.xml file for 'FEM_FrontISTR'
12:41:34     * No readme url specified (not required, but highly recommended)
12:41:34  Addon 'flamingo' does not have a package.xml file
12:41:34  Errors found in package.xml file for 'frame'
12:41:34     * No readme url specified (not required, but highly recommended)
12:41:35  Addon 'GDT' does not have a package.xml file
12:41:35  Addon 'Glass' does not have a package.xml file
12:41:35  Errors found in package.xml file for 'Help'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Addon 'IconThemes' does not have a package.xml file
12:41:35  Addon Manager: Unexpected 404 response from server
12:41:35  Errors found in package.xml file for 'ImportNURBS'
12:41:35     * Could not access specified readme at https://github.com/KeithSloa/ImportNURBS/blob/master/README.md
12:41:35  Errors found in package.xml file for 'InventorLoader'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Addon 'kerkythea' does not have a package.xml file
12:41:35  Errors found in package.xml file for 'kicadStepUpMod'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Errors found in package.xml file for 'lattice2'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Addon 'Launcher' does not have a package.xml file
12:41:35  Addon 'LCInterlocking' does not have a package.xml file
12:41:35  Addon 'parts_library' does not have a package.xml file
12:41:35  Addon 'Lithophane' does not have a package.xml file
12:41:35  Addon 'MakerWorkbench' does not have a package.xml file
12:41:35  Errors found in package.xml file for 'Manipulator'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Errors found in package.xml file for 'Marz'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Errors found in package.xml file for 'MeshRemodel'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Errors found in package.xml file for 'MnesarcoUtils'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35     * No content items found
12:41:35  Addon 'ModernUI' does not have a package.xml file
12:41:35  Errors found in package.xml file for 'MOOC'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Addon 'NavigationIndicator' does not have a package.xml file
12:41:35  Addon 'nurbs' does not have a package.xml file
12:41:35  Errors found in package.xml file for 'OpticsWorkbench'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Addon 'ose-piping' does not have a package.xml file
12:41:35  Addon 'OSE3dPrinter' does not have a package.xml file
12:41:35  Errors found in package.xml file for 'Part-o-magic'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Addon 'pcb' does not have a package.xml file
12:41:35  Addon 'persistenttoolbars' does not have a package.xml file
12:41:35  Addon 'PieMenu' does not have a package.xml file
12:41:35  Addon 'pivy_trackers' does not have a package.xml file
12:41:35  Errors found in package.xml file for 'Plot'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Addon 'pluginloader' does not have a package.xml file
12:41:35  Addon 'POV-Ray-Rendering' does not have a package.xml file
12:41:35  Errors found in package.xml file for 'ProDarkThemePreferencePack'
12:41:35     * No email address specified for maintainer 'turn211'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Addon 'Pyramids-and-Polyhedrons' does not have a package.xml file
12:41:35  Addon 'pyrate' does not have a package.xml file
12:41:35  Addon 'reconstruction' does not have a package.xml file
12:41:35  Errors found in package.xml file for 'Reinforcement'
12:41:35     * No top-level <version> element found, or <version> element is invalid
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Addon 'RemBench' does not have a package.xml file
12:41:35  Addon 'Reporting' does not have a package.xml file
12:41:35  Addon 'retr3d' does not have a package.xml file
12:41:35  Errors found in package.xml file for 'Rocket'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35  Errors found in package.xml file for 'SearchBar'
12:41:35     * No readme url specified (not required, but highly recommended)
12:41:35     * No <classname> specified for workbench
12:41:35  Addon 'SelectorToolbar' does not have a package.xml file
12:41:36  Errors found in package.xml file for 'Ship'
12:41:36     * No readme url specified (not required, but highly recommended)
12:41:36  Addon 'ShortCuts' does not have a package.xml file
12:41:36  Errors found in package.xml file for 'Silk'
12:41:36     * No readme url specified (not required, but highly recommended)
12:41:36  Addon 'slic3r-tools' does not have a package.xml file
12:41:36  Addon 'SlopedPlanesMacro' does not have a package.xml file
12:41:36  Addon 'SteelColumn' does not have a package.xml file
12:41:36  Addon 'symbols_library' does not have a package.xml file
12:41:36  Addon 'TabBar' does not have a package.xml file
12:41:36  Errors found in package.xml file for 'ThreadProfile'
12:41:36     * No readme url specified (not required, but highly recommended)
12:41:36  Addon 'timber' does not have a package.xml file
12:41:36  Addon 'ToolbarStyle' does not have a package.xml file
12:41:36  Addon 'Trails' does not have a package.xml file
12:41:36  Addon 'WebTools' does not have a package.xml file
12:41:36  Addon 'workfeature-macro' does not have a package.xml file
12:41:36  Addon 'workfeature' does not have a package.xml file
12:41:36  Addon 'yaml-workspace' does not have a package.xml file
12:41:36  Addon 'offline-documentation' does not have a package.xml file
12:41:36  Macro 'FCRotateViewAbsolute' does not have an icon
12:41:36  Macro 'Foto' does not have an icon
12:41:36  Macro 'SolidSweep' does not have an icon
12:41:36  Macro 'DxfToSketchLayers' does not have an icon
12:41:36  Macro 'ExportFem' does not have an icon
12:41:36  Macro 'FemAnimateModeShapes' does not have an icon
12:41:36  Macro 'GetGlobalPlacement' does not have an icon
12:41:36  Macro 'SimpleProperties' does not have an icon
12:41:36  Macro 'TreeToAscii' does not have an icon
12:41:36  Macro 'AirfoilImportAndScale' does not have an icon
12:41:36  Macro 'Draft_Circle_3_Points' does not have an icon
12:41:36  Macro 'EllipseCenter2Points' does not have an icon
12:41:36  Macro 'HalfHull' does not have an icon
12:41:36  Macro 'ParabolaCreater' does not have an icon
12:41:36  Macro 'ScrewMaker' does not have an icon
12:41:36  Macro 'GeodesicDome' does not have an icon
12:41:36  Macro 'Rectellipse' does not have an icon
12:41:36  Macro 'GuiSpacemouseRotationOff' does not have an icon
12:41:36  Macro 'GuiSpacemouseRotationOn' does not have an icon
12:41:36  Macro 'GuiSpacemouseRotationToggle' does not have an icon
12:41:36  Macro 'SplitPropEditor' does not have an icon
12:41:36  Macro 'ViewRotation' does not have an icon
12:41:36  Macro 'SketcherBlockAll' does not have an icon
12:41:36  Macro 'SketcherFixAllPoints' does not have an icon
12:41:36  Macro 'SketcherOffset' does not have an icon
12:41:36  Macro 'TechDrawAnnoTextFromv018' does not have an icon
12:41:36  Macro 'TechDrawMigrateFromv018' does not have an icon
12:41:36  Macro 'TechDrawSymbolsLibrary' does not have an icon
12:41:36  Macro 'TechDrawTools' does not have an icon
12:41:36  Macro 'TechDrawViewSet' does not have an icon
12:41:36  Macro 'MessageBox' does not have an icon
12:41:36  Macro 'pcbway' does not have an icon
12:41:36  Macro 'PlacementAbsolufy' does not have an icon
12:41:36  Macro 'StraightenObject' does not have an icon
12:41:36  Macro 'Rotate ViewAxonometric' does not have an icon
12:41:36  Macro 'FCInfo' does not have an icon
12:41:36  Macro 'Unroll Ruled Surface' does not have an icon
12:41:36  -----------------------------------

12:41:36  Package Mnesarco Utils does not list any content items in its package.xml metadata file.

Code: Select all

OS: Windows 7 Version 6.1 (Build 7601: SP 1)
Word size of FreeCAD: 64-bit
Version: 0.21.29997 (Git)
Build type: Release
Branch: master
Hash: b52967d52ac46eff7c59e74d991f3f5b298944ef
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * A2plus 0.4.56a
  * Assembly3 0.11.3
  * CfdOF 1.17.7
  * Curves 0.5.4
  * fasteners 0.3.51
  * fcgear 1.0.0
  * freecad.xray 2022.4.17
  * Manipulator 1.4.9
  * Plot 2022.4.17
  * sheetmetal 0.2.56
  * Silk 1.0.0
User avatar
chennes
Veteran
Posts: 3876
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

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

Post by chennes »

@Syres: first, when necessary I'd suggest giving instructions for setting the developerMode variable via the GUI, rather than editing the source code. And second, users should pretty much never need or want that mode enabled. What's needed in this case is to turn on all logging levels.
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 »

I dit it. But where is the log output ? I see nothing in the terminal.
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

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

Post by Syres »

@chennes OK, apologies.

@fcaduser have you got your logging set in Edit>Preferences>General>Output window as per below:

Logging.jpg
Logging.jpg (26.54 KiB) Viewed 795 times

The output will be in Report View Pane.
fcaduser
Posts: 446
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

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

Post by fcaduser »

I don't understand... see the screenshots :

(Only record (="enregistrer") log messages is deactivated to avoid inflation.)
Capture d’écran de 2022-08-09 17-32-24.png
Capture d’écran de 2022-08-09 17-32-24.png (197.22 KiB) Viewed 785 times
Capture d’écran de 2022-08-09 17-32-24.png
Capture d’écran de 2022-08-09 17-32-24.png (197.22 KiB) Viewed 785 times
Attachments
Capture d’écran de 2022-08-09 17-34-09.png
Capture d’écran de 2022-08-09 17-34-09.png (149.16 KiB) Viewed 785 times
Post Reply