-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create robust error handling for different cases #45
Comments
I just got this error for the first time, does this belong here? Or need to open new issue?
|
Seems like a new bug, please create a new issue. |
When no images were saved, My suggestion is insert error handling code like following to line 13 on if self.imageNameList == []:
[Error handling] And sometimes a cause of store images failure is luck of Example of print("""Could not make PDF because no images were found.
If you got following error, please put tesseract.ext on tesseract_path of settings.json:
C:\program Files\Tesseract-OCR\tesseract.exe is not installed or it's not in your PATH. See README file for more information.""")
exit(1) This message should get feedbacks. |
One solution is change shebang ( |
Many instances of errors have been reported wherein the error does not make it clear if the issue is with the network or the program. Need to make Error handling more robust.
Such as: #43 and other similiar
The text was updated successfully, but these errors were encountered: