Please try the following for us:
1. Instead of running the script from the Job Manager, save it as a Python file (let's say in your home directory, we'll call it test.py).
2. Open a terminal, and write
Then, run (copy exactly)
atkpython test.py > test.log 2>&1
and send us the contents of test.log.
Regarding the log file, if you do
grep _ZNSs4_Rep20_S_empty_rep_storageE test.log > smaller.log
probably smaller.log is not so large, maybe you can send that.