View Issue Details

IDProjectCategoryView StatusLast Update
0004072FreeCADBugpublic2021-02-06 06:49
Reporterpoeschlr Assigned To 
Status newResolutionopen 
Product Version0.18 
Target Version0.20 
Summary0004072: Addon manager python exception and lockup (module 'git' has no attribute 'Repo')
DescriptionFresh install under fedora 30. Works well on fedora 28.
Message in report view:

Traceback (most recent call last):
  File "/usr/lib64/freecad/Mod/AddonManager/", line 804, in run
    bare_repo = git.Repo.clone_from(repo[1], clonedir + os.sep + '.git', bare=True)
AttributeError: module 'git' has no attribute 'Repo'

python version reported in python console:
Python 3.7.3 (default, May 11 2019, 00:38:04)
[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux
Steps To ReproduceClick on any already installed addon within the addon manager. Freecad locks up and the message detailed above is printed in the report view.
Additional InformationOS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.Unknown
Build type: Unknown
Python version: 3.7.3
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.9.1.oce-0.18
Locale: English/UnitedKingdom (en_GB)
FreeCAD Information



2019-07-27 18:01

reporter   ~0013389

Same problem happens when one tries to install something using the addon manager. (locks up and same error message in report view)


2019-07-29 14:48

administrator   ~0013391


Can you recreate this in the 0.18 appimage or 0.19 appimage ?
I ask because your version uses inferior dependencies (BTW, before you open a ticket next time, familiarize yourself with our ticket opening guidelines in the large yellow banner at the top of the page).


2019-07-30 16:05

reporter   ~0013395

If the package uses inferior dependencies then there is a bug in the official fedora package. (Should i open a new bug about that or will you do it? I would guess you have more details what dependencies are to be updated.)


And an exception that is not reported to the user is clearly a bug no matter why it got thrown in the first place. (The only "feedback" outside the report view is a locked up addon manager. At least spawn an error message that makes some sense.) Meaning the "if you are unsure if it is a bug then open a discussion on the forum" stuff is clearly not necessary.


2020-10-08 13:47

reporter   ~0014797

I'm running into this on Arch Linux, `FreeCAD 0.19 Revision: 22436 (Git)`, so it's not just broken in Fedora.

Issue History

Date Modified Username Field Change
2019-07-27 17:42 poeschlr New Issue
2019-07-27 18:01 poeschlr Note Added: 0013389
2019-07-29 14:48 Kunda1 Note Added: 0013391
2019-07-29 14:48 Kunda1 Status new => feedback
2019-07-29 14:49 Kunda1 Tag Attached: addon-manager
2019-07-30 16:05 poeschlr Note Added: 0013395
2019-07-30 16:05 poeschlr Status feedback => new
2020-10-08 13:47 io7m Note Added: 0014797
2021-02-06 06:49 abdullah Target Version => 0.20