Open petermr opened 9 years ago
When Tesseract fails the subprocess should about to avoid errors such as:
6059 [main] ERROR org.xmlcml.norma.image.ocr.ImageToHOCRConverter - Process failed to terminate after :60 6059 [main] DEBUG org.xmlcml.norma.image.ocr.ImageToHOCRConverter - creating HTML output: /Users/pm286/workspace/ami-plugin/target/junk/1439960185967/null.pbm.png.hocr.html 6059 [main] DEBUG org.xmlcml.norma.image.ocr.ImageToHOCRConverter - creating hocr.hocr name: /Users/pm286/workspace/ami-plugin/target/junk/1439960185967/null.pbm.png.hocr.hocr 6059 [main] DEBUG org.xmlcml.norma.image.ocr.ImageToHOCRConverter - failed to create: /Users/pm286/workspace/ami-plugin/target/junk/1439960185967/null.pbm.png.hocr.html or /Users/pm286/workspace/ami-plugin/target/junk/1439960185967/null.pbm.png.hocr.hocr 6059 [main] ERROR org.xmlcml.ami2.plugins.phylotree.PhyloTreeArgProcessor - cannot run tesseract 6063 [main] DEBUG org.xmlcml.ami2.plugins.phylotree.PhyloTreeArgProcessor - cTreeLog: [org.xmlcml.cmine.args.log.CMineLog: log] 6063 [main] DEBUG org.xmlcml.ami2.plugins.phylotree.PhyloTreeArgProcessor - outputResultElement NYI null; need to add tree
If fact this is due to FileNotFound which should be trapped before trying Tesseract.
When Tesseract fails the subprocess should about to avoid errors such as:
If fact this is due to FileNotFound which should be trapped before trying Tesseract.