Skip to content
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

Changing working directory makes calls to pytesser fail #1

Open
GoogleCodeExporter opened this issue Apr 30, 2015 · 5 comments
Open

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 21 May 2007 at 3:44

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 27 May 2007 at 4:21

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

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

Original comment by [email protected] on 8 May 2009 at 3:28

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

Remember to import os...

Original comment by [email protected] on 14 Jun 2012 at 10:43

@GoogleCodeExporter
Copy link
Author

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

Original comment by [email protected] on 5 Jun 2013 at 6:12

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

No branches or pull requests

1 participant