MarcosRech / python-tesseract

Automatically exported from code.google.com/p/python-tesseract
0 stars 0 forks source link

Calls of the form tesseract.XXXX(*args,api) crash Python 2.7 #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Each of the 3 examples listed in Project Home result in IDLE crashing and 
requiring a shell restart
2. The error can be attributed to calls of the form tesseract.XXXX(*args,api) 
where api = tesseract.TessBaseAPI()

What is the expected output? What do you see instead?
Following the examples, I should see either the text output of the image 
supplied or the confidence values from the OCR algorithms.  Instead, I see the 
crash popup pictured in the attachment.

What version of the product are you using? On what operating system?
Using Python 2.7 on Windows XP (SP3).  This issue has occurred with both 
version 0.7.5 and 0.8-1.6

Please provide any additional information below.
When I remove the aforementioned calls, the test programs run (without expected 
output of course).

Original issue reported on code.google.com by b.elber...@gmail.com on 27 Mar 2013 at 1:57

GoogleCodeExporter commented 9 years ago
Try change the compatibility of python.exe as shown in:

https://code.google.com/p/python-tesseract/issues/detail?id=31&can=1&q=xp

Original comment by FreeT...@gmail.com on 2 Apr 2013 at 6:19

GoogleCodeExporter commented 9 years ago
I have the same issue on WinXP Service Pack 3

Original comment by Siarhei....@gmail.com on 7 Apr 2013 at 9:09

GoogleCodeExporter commented 9 years ago
Honestly, I don't know where the bug is. Why not using windows 7?

Original comment by FreeT...@gmail.com on 8 Apr 2013 at 11:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
run python with "-u" fix the problem
>python -u test.py

Original comment by FreeT...@gmail.com on 8 Apr 2013 at 12:49

GoogleCodeExporter commented 9 years ago
It doesn't help

Original comment by Siarhei....@gmail.com on 17 Apr 2013 at 7:58

GoogleCodeExporter commented 9 years ago
I have the same issue under Windows XP.
On machine with Windows 7 the same code does not cause any issue.

Original comment by przemo.m...@gmail.com on 12 Nov 2013 at 9:55

GoogleCodeExporter commented 9 years ago
I still don't know how to fix the crash under Window XP unfortunately

Original comment by FreeT...@gmail.com on 12 Nov 2013 at 12:55

GoogleCodeExporter commented 9 years ago
Fixed eventually
https://drive.google.com/file/d/0BxR8J6QWLdsVUTZEMW1jd3EtbHc/edit?usp=sharing

Original comment by FreeT...@gmail.com on 25 Apr 2014 at 9:19

GoogleCodeExporter commented 9 years ago

Original comment by FreeT...@gmail.com on 9 May 2014 at 7:52