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

Better error messages when dependencies for Tesseract are missing #92

Closed
utsav666 opened this Issue Mar 14, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@utsav666

utsav666 commented Mar 14, 2018

there is an issue with tesseract.py it gives error in line no 7 """"subprocess.Popen(convert.split(' '), stdout=subprocess.PIPE)"""" I repllace the line with this """"subprocess.Popen(convert.split(' '), stdout=subprocess.PIPE,shell=True)"""" but it gives a new error
""""-density: 1: -density: convert: not found
Error in pixReadMem: size < 12
Error during processing."""""

@m3nu

This comment has been minimized.

Show comment
Hide comment
@m3nu

m3nu Mar 14, 2018

Collaborator

This error just means that the imagemagick library is not installed. This prerequisite should be mentioned in the README. Not sure if it is.

The Tesseract module didn't get much love recently. I'm sure there are some things to improve. Like properly checking for installed prerequisites.

Collaborator

m3nu commented Mar 14, 2018

This error just means that the imagemagick library is not installed. This prerequisite should be mentioned in the README. Not sure if it is.

The Tesseract module didn't get much love recently. I'm sure there are some things to improve. Like properly checking for installed prerequisites.

@m3nu m3nu changed the title from issue with teeseract to Better error messages when dependencies for Tesseract are missing Mar 14, 2018

AvatarSenju added a commit to AvatarSenju/invoice2data that referenced this issue Mar 14, 2018

updated README.md
with respect to invoice-x#92

This was referenced Mar 14, 2018

@m3nu m3nu added this to the gsoc-1 milestone Apr 29, 2018

duskybomb added a commit that referenced this issue May 20, 2018

For issue #92
* checks for installed dependencies
    * tesseract
    * imagemagick
* better message when dependencies not found

duskybomb added a commit that referenced this issue May 20, 2018

For issue #92
* Checks for dependencies
    * tesseract
    * imagemagick
* Better message when dependencies not found

@duskybomb duskybomb referenced this issue May 20, 2018

Merged

For issue #92 #126

@m3nu

This comment has been minimized.

Show comment
Hide comment
@m3nu

m3nu May 21, 2018

Collaborator

This is almost fixed. Commit still needs some work as the conditions are wrong and there is a typo in the import statement.

Collaborator

m3nu commented May 21, 2018

This is almost fixed. Commit still needs some work as the conditions are wrong and there is a typo in the import statement.

@duskybomb

This comment has been minimized.

Show comment
Hide comment
@duskybomb

duskybomb May 21, 2018

Collaborator

Yes, I don't know how it happened. Make the correction though.

Collaborator

duskybomb commented May 21, 2018

Yes, I don't know how it happened. Make the correction though.

@m3nu m3nu closed this May 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment