Changes to get setup to run - might have made some mistakes..
Trying to debug..
Added pdb.
Yay, fixed it.
Trying to get the trace to work.
Trying to get trace to work.