You need to install python3-git https://packages.ubuntu.com/bionic/python3-gitrockn wrote: ↑Tue Jul 09, 2019 9:55 pmThis part is not very user friendly
That say, It's not going well.
Code: Select all
No module named 'git'
GitPython not found. Using standard download instead.
Downloading https://framagit.org/freecad-france/moo ... master.zip
Traceback (most recent call last):
File "/usr/share/freecad-daily/Mod/AddonManager/addonmanager_workers.py", line 588, in run
self.download(self.repos[idx][1],clonedir)
File "/usr/share/freecad-daily/Mod/AddonManager/addonmanager_workers.py", line 687, in download
zfile.write(u.read())
AttributeError: 'NoneType' object has no attribute 'read'
Do you get the readme.md in the description plane? BTW: Thanks for your early work on the addons-macro. That's where it all started!
Code: Select all
OS: Linux Mint 19.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16117 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.18.2)
Hash: dbb4cc6415bac848a294f03b80f65e888d531742
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Code: Select all
OS: Linux Mint 19.1 (MATE/mate)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
BuildRevisionDate = 2019/07/08 02:00:36
In a cyberpunk bar if I remember well
This error happens when the addon manager is already falling back to zip download. But apparently the URL to download a zip from framasoft is different from github. We need to have a better look and adapt the addon manager. In the meantime in git commit 4fc91dcc7 I added a more friendly message.sgrogan wrote: ↑Tue Jul 09, 2019 10:05 pmYou need to install python3-git https://packages.ubuntu.com/bionic/python3-git
It would be nice if this could fall back to .zip, like standard WB.
The readme file is markdown, but the addon manager can only display HTML. So for github what we do is take the HTML page of the readme file, and extract only the section that is the readme itself (discard the github stuff around). Obviously framasoft renders things differently so we need to adapt.