printError in db now works in python3