Description
Disclaimer:
I collected the possible Errorcodes after looking for a solution to my own problem by using the paint-on Script. So this is only a collection with short explanation of possible Workarounds.
Error 1
A general error that occurs when the script itself fails. This can be due to missing libraries, syntax errors, or incorrect parameters. The script can also be terminated in such a way that it returns an exit code 1, for example, due to an exception.
Error 2
Usually means that a file or a path could not be found. This happens when the path to Python, to the script, or to the temporarily saved G-code file is incorrect or does not exist
Error 9009
Occurs when Python is not found or not called correctly. This can happen especially on Windows if the app aliases for Python are enabled or the path to Python is incorrect. The solution is often to use the full path to python.exe in the installation directory and to disable the app aliases for Python in the Windows settings.
Possible solution:
Be sure to hit the checkbox "Add to Path-Variable" while installing Python. Then call up the commandline and check with "where python" the path.