Upgraded freecad to v0.19 Rev. 24046 on a Debian 64 bit system yesterday.
Since that time CfdOF workbench is not working anymore for me.
When selecting preferences the following error shows up
18:23:28 Traceback (most recent call last):
18:23:28 File "/home/christian/.FreeCAD/Mod/CfdOF/CfdPreferencePage.py", line 120, in __init__
18:23:28 self.setDownloadURLs()
18:23:28 File "/home/christian/.FreeCAD/Mod/CfdOF/CfdPreferencePage.py", line 179, in setDownloadURLs
18:23:28 if self.testGetRuntime() == "MinGW":
18:23:28 File "/home/christian/.FreeCAD/Mod/CfdOF/CfdPreferencePage.py", line 170, in testGetRuntime
18:23:28 runtime = CfdTools.getFoamRuntime()
18:23:28 File "/home/christian/.FreeCAD/Mod/CfdOF/CfdTools.py", line 387, in getFoamRuntime
18:23:28 installation_path = getFoamDir()
18:23:28 File "/home/christian/.FreeCAD/Mod/CfdOF/CfdTools.py", line 383, in getFoamDir
18:23:28 return os.path.normpath(installation_path)
18:23:28 File "/usr/lib/python3.7/posixpath.py", line 340, in normpath
18:23:28 path = os.fspath(path)
18:23:28 TypeError: expected str, bytes or os.PathLike object, not NoneType
18:23:28 CfdPreferencePage is not a preference page[/i]
Selecting CfdOF in the menu brings an empty screen.
Re-installing the workbench showed no effect.
Anyone having the same issue ?
Kind Regards,
Christian
OS: Debian GNU/Linux 10 (buster) (GNOME/gnome)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24046 (Git)
Build type: Unknown
Branch: master
Hash: 2b881cccad603718b5b314f4414cf608ed841505
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
[solved] CfdOF workbench not working anymore after upgrade to Freecad v0.19 Rev 24046 (git)
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
-
- Posts: 7
- Joined: Mon Dec 28, 2020 1:46 pm
[solved] CfdOF workbench not working anymore after upgrade to Freecad v0.19 Rev 24046 (git)
Last edited by shaundasschaf on Tue Mar 02, 2021 9:39 pm, edited 1 time in total.
- oliveroxtoby
- Posts: 840
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: CfdOF workbench not working anymore after upgrade to Freecad v0.19 Rev 24046 (git)
I have pushed an attempted fix. Could you update your workbench and see if this resolves it?shaundasschaf wrote: ↑Sat Feb 27, 2021 5:28 pm Upgraded freecad to v0.19 Rev. 24046 on a Debian 64 bit system yesterday.
Since that time CfdOF workbench is not working anymore for me.
When selecting preferences the following error shows up
18:23:28 Traceback (most recent call last):
18:23:28 File "/home/christian/.FreeCAD/Mod/CfdOF/CfdPreferencePage.py", line 120, in __init__
18:23:28 self.setDownloadURLs()
18:23:28 File "/home/christian/.FreeCAD/Mod/CfdOF/CfdPreferencePage.py", line 179, in setDownloadURLs
18:23:28 if self.testGetRuntime() == "MinGW":
18:23:28 File "/home/christian/.FreeCAD/Mod/CfdOF/CfdPreferencePage.py", line 170, in testGetRuntime
18:23:28 runtime = CfdTools.getFoamRuntime()
18:23:28 File "/home/christian/.FreeCAD/Mod/CfdOF/CfdTools.py", line 387, in getFoamRuntime
18:23:28 installation_path = getFoamDir()
18:23:28 File "/home/christian/.FreeCAD/Mod/CfdOF/CfdTools.py", line 383, in getFoamDir
18:23:28 return os.path.normpath(installation_path)
18:23:28 File "/usr/lib/python3.7/posixpath.py", line 340, in normpath
18:23:28 path = os.fspath(path)
18:23:28 TypeError: expected str, bytes or os.PathLike object, not NoneType
18:23:28 CfdPreferencePage is not a preference page[/i]
Selecting CfdOF in the menu brings an empty screen.
Re-installing the workbench showed no effect.
Anyone having the same issue ?
Kind Regards,
Christian
OS: Debian GNU/Linux 10 (buster) (GNOME/gnome)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24046 (Git)
Build type: Unknown
Branch: master
Hash: 2b881cccad603718b5b314f4414cf608ed841505
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
-
- Posts: 7
- Joined: Mon Dec 28, 2020 1:46 pm
Re: CfdOF workbench not working anymore after upgrade to Freecad v0.19 Rev 24046 (git)
Issue resolved .
Thank's for your efforts.
Greetings from sunny Bavaria,
Christian
Thank's for your efforts.
Greetings from sunny Bavaria,
Christian
Re: CfdOF workbench not working anymore after upgrade to Freecad v0.19 Rev 24046 (git)
Please mark thread [Solved] by editing the title of the first post. Thank you
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs