View Issue Details

IDProjectCategoryView StatusLast Update
0004535Addon ManagerBugpublic2021-12-29 03:55
ReporteriXware Assigned Tochennes  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.18 
Target Version0.20Fixed in Version0.19 
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

chennes

2021-12-09 22:32

administrator   ~0016075

Is it possible for you to update to 0.19? We won't be back porting any more bug fixes to the 0.18 branch.

chennes

2021-12-29 03:55

administrator   ~0016150

These bugs have been addressed on 0.19

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
2021-12-09 22:32 chennes Note Added: 0016075
2021-12-29 03:55 chennes Assigned To => chennes
2021-12-29 03:55 chennes Status new => closed
2021-12-29 03:55 chennes Resolution open => fixed
2021-12-29 03:55 chennes Fixed in Version => 0.19
2021-12-29 03:55 chennes Note Added: 0016150