I am trying to translate an old project from 2.7 into python 3.x code but I keep getting the same error and I canot figure out what to change.
The error is :
Trace