[solved] BIM Addon fails on install

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
PMac
Posts: 135
Joined: Sat Sep 02, 2017 10:44 pm

[solved] BIM Addon fails on install

Post by PMac »

Hi, Am trying to install BIM WB via addon manager. Getting following errors.

After initial BIM install, prior to automated FC forced restart:
07:40:42 Failed to initialize: Bad git executable.
The git executable must be specified in one of the following ways:
- be included in your $PATH
- be set via $GIT_PYTHON_GIT_EXECUTABLE
- explicitly set via git.refresh()

All git commands will error until this is rectified.

This initial warning can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
- quiet|q|silence|s|none|n|0: for no warning or exception
- warn|w|warning|1: for a printed warning
- error|e|raise|r|2: for a raised exception

Example:
export GIT_PYTHON_REFRESH=quiet
07:40:42
07:40:42 GitPython not found. Using standard download instead.
07:40:42 Downloading https://github.com/yorikvanhavre/BIM_Wo ... master.zip

After FC forced restart, on switching to BIM WB, from initial startup Arch WB:
08:50:09 No module named 'draftguitools.gui_edit_base_object'
08:50:09 Traceback (most recent call last):
File "<string>", line 208, in Initialize
File "/home/user5/.FreeCAD/Mod/BIM/archguitools/gui_wall.py", line 37, in <module>
import archmake.make_wall as make_wall
File "/home/user5/.FreeCAD/Mod/BIM/archmake/make_wall.py", line 29, in <module>
from archobjects.wall import Wall
File "/home/user5/.FreeCAD/Mod/BIM/archobjects/wall.py", line 1001, in <module>
from draftguitools.gui_edit_base_object import GuiTools
[/i]

BIM WB install via Addon manager has successfully worked in recent FC 0.19 versions - this time it crashes. I do not leave the BIM WB addon installed, preferring a clean FC base program whilst I am not using BIM.


OS: Linux Mint 20 (X-Cinnamon/cinnamon)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22262 (Git) AppImage
Build type: Release
Branch: master
Hash: f56825c79f11b75648a7a0dcc8a9f52bb4574e61
Python version: 3.8.5
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/New Zealand (en_NZ)
Last edited by PMac on Tue Aug 18, 2020 10:25 pm, edited 1 time in total.
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: BIM Addon fails on install

Post by carlopav »

Thx for reporting!

My fault: try to update it in 2 hours now, should be fixed :)

EDIT: Fixed with 32d73500a3c210ed5b79d5c32a8c335ddcfd7777
follow my experiments on BIM modelling for architecture design
PMac
Posts: 135
Joined: Sat Sep 02, 2017 10:44 pm

Re: [solved] BIM Addon fails on install

Post by PMac »

Thanks carlopav. Successful BIM install via Addon Manager.
Post Reply