The upper stack-trace was printed by the traceback module. The lower one would be if we did not catch it.
For fixing Windows errors, we recommend Fortect: Fortect will identify and deploy the correct fix for your Windows errors. Follow the 3 easy steps to get rid of Windows errors: To write a working code ...