pombreda / pytesser

Automatically exported from code.google.com/p/pytesser
Other
0 stars 0 forks source link

Changing working directory makes calls to pytesser fail #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by mjtoke...@gmail.com on 21 May 2007 at 3:44

GoogleCodeExporter commented 9 years ago

Original comment by moke...@gmail.com on 27 May 2007 at 4:21

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

Original comment by gaeco...@gmail.com on 8 May 2009 at 3:28

GoogleCodeExporter commented 9 years ago
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.

Original comment by biu.dantas on 6 Jan 2011 at 12:32

GoogleCodeExporter commented 9 years ago
Remember to import os...

Original comment by dmsa...@gmail.com on 14 Jun 2012 at 10:43

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

Original comment by anudeep....@gmail.com on 5 Jun 2013 at 6:12