From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52016 invoked by alias); 22 Sep 2015 16:15:32 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 52008 invoked by uid 89); 22 Sep 2015 16:15:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_50,CYGWIN_OWNER_BODY,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-wi0-f170.google.com Received: from mail-wi0-f170.google.com (HELO mail-wi0-f170.google.com) (209.85.212.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 22 Sep 2015 16:15:30 +0000 Received: by wiclk2 with SMTP id lk2so201126282wic.0 for ; Tue, 22 Sep 2015 09:15:27 -0700 (PDT) X-Received: by 10.180.92.225 with SMTP id cp1mr21274716wib.2.1442938527638; Tue, 22 Sep 2015 09:15:27 -0700 (PDT) Received: from [172.21.188.129] ([62.154.173.198]) by smtp.googlemail.com with ESMTPSA id ly4sm2657885wjb.4.2015.09.22.09.15.26 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Sep 2015 09:15:27 -0700 (PDT) Subject: Re: AW: Tesseract 3.04 - Cygwin64 - Windows 8.1 - Can't open makebox To: "Schmitz, Marco" , "cygwin@cygwin.com" References: <560010D0.4010903@gmail.com> From: Marco Atzeri Message-ID: <56017E9C.8060501@gmail.com> Date: Tue, 22 Sep 2015 16:15:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00359.txt.bz2 On 22/09/2015 14:18, Schmitz, Marco wrote: > Okay, my shell script problem "not finding makebox" was a line ending problem (CR+LF). > > But how about TESSDATA_PREFIX ? > > -----Ursprüngliche Nachricht----- > Von: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] Im Auftrag von Schmitz, Marco > Gesendet: Dienstag, 22. September 2015 13:23 > An: Marco Atzeri ; cygwin@cygwin.com > Betreff: AW: Tesseract 3.04 - Cygwin64 - Windows 8.1 - Can't open makebox > > Hi Marco, > > without setting TESSDATA_PREFIX (neither Windows environment variables nor .bash_profile) I get: > > $ tesseract --list-langs > Error opening data file C:\DEV\tesseract\Tesseract-OCR\tessdata/eng.traineddata This file path is surely not coming from cygwin tesseract default. have you another version around in the path ? $ which tesseract /usr/bin/tesseract $ tesseract --version tesseract 3.04.00 leptonica-1.72 libgif 4.1.6(?) : libjpeg 8d (libjpeg-turbo 1.3.1) : libpng 1.6.17 : libtiff 4.0.3 : zlib 1.2.8 : libwebp 0.4.3 As reported on https://www.cygwin.com/problems.html please Run cygcheck -s -v -r > cygcheck.out and include that file as an attachment in your report. Please do not compress or otherwise encode the output. Just attach it as a straight text file so that it can be easily viewed. Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple