View Issue Details

IDProjectCategoryView StatusLast Update
0004535Addon ManagerBugpublic2021-11-24 15:35
ReporteriXware Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version0.18 
Target Version0.20 
Summary0004535: Addon Manager - no access to Macros on github
DescriptionMarcos cannot be retrieved from Github
Steps To Reproducei have installed following patch https://github.com/FreeCAD/FreeCAD/commit/5e51288bf6
Addons can be accessed, but no macros

start FreeCAD
goto Tools->Addon Manager
then klick on Tab "Macros"

the message "Retrieving info from wiki" is displayed endless

I get the attached additional info when I start Freecad from shell
Additional Informationfrank@frank:~> FreeCAD
FreeCAD 0.18, Libs: 0.18RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  ##### #### ### ####
  # # # # # #
  # ## #### #### # # # # #
  #### # # # # # # # ##### # #
  # # #### #### # # # # #
  # # # # # # # # # ## ## ##
  # # #### #### ### # # #### ## ## ##

Loading Assembly4 WorkBench
During initialization the error inconsistent use of tabs and spaces in indentation (<string>, line 52) occurred in /home/frank/.FreeCAD/Mod/cura_engine/InitGui.py
Please look into the log file for further information
Unable to fetch the code of this macro.Traceback (most recent call last):
  File "/usr/lib64/FreeCAD/Mod/AddonManager/addonmanager_macro.py", line 147, in fill_details_from_wiki
    code = code.replace(b'\xc2\xa0'.decode("utf-8"), ' ')
AttributeError: 'list' object has no attribute 'replace'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/FreeCAD/Mod/AddonManager/AddonManager.py", line 862, in run
    self.macro.fill_details_from_wiki(url)
  File "/usr/lib64/FreeCAD/Mod/AddonManager/addonmanager_macro.py", line 149, in fill_details_from_wiki
    FreeCAD.Console.PrintWarning(translate("AddonsInstaller", "Unable to clean macro code: ") + code + '\n')
TypeError: must be str, not list
Tags#tobeclosed, addon-manager

Relationships

duplicate of 0004504 closedKunda1 FreeCAD 0.18.5: addon manager still hangs 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-01-16 01:11 iXware New Issue
2021-01-16 01:11 iXware Tag Attached: addon-manager
2021-02-06 06:49 abdullah Target Version => 0.20
2021-08-26 16:03 chennes Relationship added duplicate of 0004504
2021-08-27 12:28 Kunda1 Tag Attached: #tobeclosed
2021-11-24 15:35 chennes Project FreeCAD => Addon Manager