This error is apparently stemming from xlsxwriter. I\'m not sure on what line of my code it\'s coming from because my editor Visual Studio 2019 crashes every time I try to debug