So the key is in this line of the error:
2013-08-08 18:35:53: Exception: Python Exception: IndentationError : (Python.Runtime.PythonException)
That says there’s something wrong with your indentation (tabs, spaces). Since the forum tends to strip out formatting, I can’t really tell where the problem would be.
Common issues to keep an eye out for with this error:
There’s an indent where there shouldn’t be one
You’re missing an indent where ther should be on
You’re using one too few or one too many spaces in an indent
You’re mixing tab indents and space indents (as a general rule you should pick one and stick to it)
If you still can’t figure out what’s wrong with it, could you post your full script so that I can have a look at it?
Hey the indent errors are coming from the fact that you are mixing tabs with spaces for line indents. All shipped deadline scripts use 4 spaces instead of tabs.
Glad you figured it out, I was just about to post a fixed version of your script
The reason you’re probably running into issues with 6.0, and not with 5.2, is that we changed all of our scripts from using Tabs to using Spaces for indentation. We did this mostly because this is the recommended Python standard.
If you’re using Notepad++, there’s a couple things you can do to help you avoid this type of confusion in the future. First, you can configure your settings to replace tabs with spaces when indenting. This can be done in ‘Settings’ -> ‘Preferences’ -> ‘Language Menu/Tab Settings’.
You can also turn on displaying of whitespace and tab symbols, which is useful for diagnosing these types of problems. This can be done by selecting ‘View’ -> ‘Show Symbol’ -> ‘Show White Space and TAB’.