Export to GitHub

pytesser - issue #1

Changing working directory makes calls to pytesser fail


Posted on May 21, 2007 by Helpful Giraffe

What steps will reproduce the problem? 1. import pytesser 2. os.chdir([...]) 3. call any pytesser function

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system? 0.0.1

Please provide any additional information below.

Comment #1

Posted on May 27, 2007 by Helpful Bear

(No comment was entered for this change.)

Comment #2

Posted on May 8, 2009 by Massive Rabbit

i meet the same problem when i use activepython inter. windows to test and chdir . then popup up error;

Comment #3

Posted on Jan 6, 2011 by Quick Panda

Here is the patch. Just open pytesser.py and change line 13:

tesseract_exe_name = os.path.abspath(os.path.dirname(file) + '/tesseract.exe' )

Will work smoothly.

Comment #4

Posted on Jun 14, 2012 by Happy Lion

Remember to import os...

Comment #5

Posted on Jun 5, 2013 by Quick Camel

Man u made my day. I am working to fix the issue from 11 continuous hrs.... Thanks a lot... @biu.dantas

Status: Accepted

Labels:
Type-Defect Priority-Medium