DracoDruid
Chieftain
It's hard to be sure why that would happen, but there is one possibility that comes immediately to mind.
In Python, the white space matters. That is, the "empty" space at the beginning of each line is important. The Python code that comes with Civ uses tabs to indent, so you should use tabs too. If whatever program you use to edit the files is changing tabs to spaces, make it stop.
THANK YOU VERY MUCH!!!!!!
That was it!
Edit: I will add some thanks to you in the files!