Hi,
I call blender from my own C++ program and hand over the path of a python script. While testing on several computers this sometimes worked, sometimes not.
The error message is:
“Error in BPY_run_python_script: couldn’t create Blender text from myPythonScript.py”
I found out that this message is generated in
BPY_interface.c / method BPY_run_python_script( char *fn )
Could anyone explain me, what exactly is going on there? What does the condition if (text == NULL) describe?
Christopher