Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
XLwings 15.9, Excel Office 365, Python 3.7
The issue i have is that after i run a par of code that gives an error, when i solve the issue in either python or VBA and rerun the code exactly the same error is given. To me it seems like the python environment sticks in this old error. And it does not take the new code. Any solutions for this?
File "<string>", line 1 import sys, os; sys.path[0:0]=os.path.normcase(os.path.expandvars(r'C:\Users\Mark Buis\OneDrive - Focus Orange Advisory B.V;C:\Users\Mark Buis\OneDrive - Focus Orange Advisory B.V\TickerIDRetriever.zip;')).split(';'); import hello2; hello2.scrapeAndPrint(ALX:AEX1) ^ SyntaxError: invalid syntax
Until this is properly fixed, you could just make sure that the log file is deleted when you suspect this behaviour. You'll find the log file here: http://docs.xlwings.org/en/stable/addin.html#log-file-default-locations
Changing the location might also help or make it easier at least to delete manually if need be.