View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004072 | FreeCAD | Bug | public | 2019-07-27 17:42 | 2021-08-18 09:33 |
Reporter | poeschlr | Assigned To | yorik | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.18 | ||||
Target Version | 0.20 | Fixed in Version | 0.20 | ||
Summary | 0004072: Addon manager python exception and lockup (module 'git' has no attribute 'Repo') | ||||
Description | Fresh install under fedora 30. Works well on fedora 28. Message in report view: Traceback (most recent call last): File "/usr/lib64/freecad/Mod/AddonManager/AddonManager.py", 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 Reproduce | Click on any already installed addon within the addon manager. Freecad locks up and the message detailed above is printed in the report view. | ||||
Additional Information | OS: 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) | ||||
Tags | addon-manager | ||||
FreeCAD Information | |||||
|
Same problem happens when one tries to install something using the addon manager. (locks up and same error message in report view) |
|
@poeschlr Can you recreate this in the 0.18 appimage or 0.19 appimage ? See https://www.freecadweb.org/wiki/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). |
|
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. |
|
I'm running into this on Arch Linux, `FreeCAD 0.19 Revision: 22436 (Git)`, so it's not just broken in Fedora. |
|
I couldn't find any info anywhere about why the git module would lack its "Repo" class... I now added a case to the code so it falls back to HTML download in these cases, but it should be investigated further why this happens... https://github.com/FreeCAD/FreeCAD/commit/380d214e74c8a085293314112be0ade2295b848e |
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 |
2021-08-18 09:32 | yorik | Note Added: 0015827 | |
2021-08-18 09:33 | yorik | Assigned To | => yorik |
2021-08-18 09:33 | yorik | Status | new => closed |
2021-08-18 09:33 | yorik | Resolution | open => fixed |
2021-08-18 09:33 | yorik | Fixed in Version | => 0.20 |