TODO:

- report python runtime errors with line number of source template (really needed? currently, lines of the python script are 1:! with lines in the source template)
