CentFOAM Python Script Installation: Error
First things first - thanks to the contributors and developers out there who are helping to make this amazing software available to all.
Now, on to business.
I have been trying to install CentFOAM by using the python script supplied at the following website:
I continue by relocating the file to my preferred installation directory:
My hunch is that the path is not being defined correctly. The reason I can be clearly viewed in the following code...
Continuing on this notion, I tried to find where in the script that the path was being defined. Unfortunately, I do not speak "python" very well and could only deduce that a variable referred to as "path" was being used in arguments, but I could not find the source of its definition.
Still, I noticed lines like this...
As I type, I am flabbergasted. Since I hate to leave loose ends untied, I decided to post here in order to see if there is an easy solution while also providing documentation of this "bug" so others who encounter it in the future may rest easy knowing that they are not alone in their pain. :D
While I wait, hopefully, for a response to this thread, I will attempt to make small modifications in the python script to resolve the potentially problematic "//" phenomenon.
Thank you for reading!
Manually unpacking these files has worked. Each program is usable.
Still interested if anyone has any ideas about the python script though.
Here's a recent thread about using CentFOAM: http://www.cfd-online.com/Forums/ope...01308-gcc.html - I know, the title is misleading...
As for me, the day I tested using the CentFOAM.py script, Sourceforge.net was having existential problems, so I didn't trigger any of those bugs, since I ended up having to do more steps manually.
|All times are GMT -4. The time now is 01:36.|