Forums

Error code: Unhandled Exception

Trying to run a python code and getting the error. The last error in the log is:

2022-07-15 04:04:58,621: File "/usr/local/lib/python3.6/site-packages/xlrd/init.py", line 60, in inspect_format 2022-07-15 04:04:58,621: with open(path, "rb") as f:

Not sure what is the issue. Will appreciate the help.

The part of the log you copied does not have an error message in it -- could you show more context?

Hello, that was the last line of my error. I figured out the error. There was typo in the path for xls file in the code and python was unable to find the right excel file during execution. Thanks.

Glad you figured that out. Just a margin note -- it doesn't look like last line of the traceback though. Anyway, a meaningful traceback message should contain at least the error and where it happend.