tk120404 / tesseractindic

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

generating image file except bigimage.box failed. #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2. Whether tool restricted to one file only e.g "rest" as well as length of
vertical line in the rest?If so, What is the solution if exceeds the
limitation of vertical lines in "rest".
. I tried to use as rest/ rest1/rest2/rest3/rest4 in the kan.alphabet
folder.but failed. even tried as rest/resta/restb/restc/restd - which also
failed

Traceback (most recent call last):
  File "./trainer_gui.py", line 136, in train

tesseract_trainer.generate.draw(font_string,15,self.language,tesseract_trainer.f
ile.read_file(self.DirectoryIn),self.DirectoryOut)
  File
"/home/sangeetha/Desktop/TesseractIndic-Trainer-GUI-0.1.3/tesseract_trainer/gene
rate.py",
line 83, in draw

    deltax=bbox[2]-bbox[0]
TypeError: 'NoneType' object is unsubscriptable

I tested the rest again by deleting/reduced to half the contents of the 
"rest" but still same error generated as above - which I could not
understand the error 'NoneType" ?

What is the expected output? What do you see instead?
expected kan.image but blank except bigimage.box.

What version of the product are you using? On what operating system?
version 1.1.3 tool, fedora-11

Please provide any additional information below.
I tested the "rest" again, by deleting/reduced to half the contents of the
 "rest" but still same error generated as above - which I could not
understand the error 'NoneType" ?
Immediate clarification is requested since generating kannada datafiles is
pending for a long time.

Original issue reported on code.google.com by withbles...@gmail.com on 23 Dec 2009 at 3:23