'treatment' is also a old save file problem, though it is missing an entry in the function "backwardsCompatibility" . At the end of the "person.mind" entries add:
if !person.mind.has('treatment'):
person.mind['treatment'] = []
Though, there are a lot more entries in "person.mind" that do not have compatibility entries. At some point, I'll have to see if I can put together a more comprehensive compatibility fix.
The 'fetish' problem is not a direct error message, as there are 2 errors but we are only seeing the second. In this line:
text = "[color=red]Error at getting description for " + value + ": " + person.fetish[value] + '[/color]. '
"person" is never given any value, nor is there any way to get such a value in the current function. Simply replacing it with:
text = "[color=red]Error at getting description for " + value + '[/color]. '
Will fix that error and reveal the first error, which is likely also an old save file problem as "person.knownfetishes" contains a value which is not listed in "fetishdict" of the "getFetishDescription" function .