I use:bernd wrote: ↑Wed Jul 14, 2021 12:04 pmCode: Select all
14:02:03 Running the Python command 'hfcMystranNeuInWire' failed: Traceback (most recent call last): File "/home/hugo/.FreeCAD/Mod/hfcMystran/hfcMystranNeuInWire.py", line 203, in Activated iniFout = open(inifileOut,"w") [Errno 2] Datei oder Verzeichnis nicht gefunden: '/usr/local/Mod/hfcMystran/hfcMystran.ini'
Code: Select all
ininame="Mod/hfcMystran/hfcMystran.ini"
inifile = FreeCAD.getHomePath()+ininame
You installed the WB at "/home/hugo/.FreeCAD/Mod/hfcMystran/hfcMystranNeuInWire.py", the WB expects hfcMystran.ini at "/home/hugo/.FreeCAD/Mod/hfcMystran/hfcMystran/hfcMystran.ini'.
Don't know why FreeCAD.getHomePath() is pointing to '/usr/local/'.
Even so, you put hfcMystran.ini at '/usr/local/Mod/hfcMystran/hfcMystran.ini', it should be found.
The content of hfcMystran.ini could be one line text like:
Code: Select all
/usr/local/Mod/hfcMystran/