delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:subject:date:message-id:references | |
:in-reply-to:content-type:content-transfer-encoding | |
:mime-version; q=dns; s=default; b=mW0ZOVuYIa7WEwmZPHHcmdbRdrmpZ | |
El1EGwzfZRwrey96hLYkPcQfjlKsVWjsDWmSvqMpWHmuonc2gk/7DNXehUh58TmF | |
LL3nHIGFqBUbSDbbWpRRGsP4sdmPzAXce2yx9eGHzjESrwO/kqDsJ3N6PcbmiPmC | |
aeUJhENzDlLriY= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:subject:date:message-id:references | |
:in-reply-to:content-type:content-transfer-encoding | |
:mime-version; s=default; bh=1UAgQAERvN5DI7JUhR0mn3dG4NM=; b=DsW | |
Vgk9LMJJIDsVAVM1HuT694PP6e3jZlJha+mCo1wd0IyF0pl2K9lK5AE9y9RtrdHF | |
Qcd0emOb5eL3dJhHkRvpznTF0gW9WUL8Ep/XA4jn5ozVjWUSJcKIr/abJCq7XIns | |
1s/bNUWH97QOnivuyit0knlWCgX6lOLRZKXebI9A= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=3.7 required=5.0 tests=AWL,BAYES_60,KAM_ASCII_DIVIDERS,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 |
X-HELO: | mx5.adesso.de |
From: | "Schmitz, Marco" <marco DOT schmitz AT adesso-mobile DOT de> |
To: | Marco Atzeri <marco DOT atzeri AT gmail DOT com>, |
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> | |
Subject: | AW: AW: AW: Tesseract 3.04 - Cygwin64 - Windows 8.1 - Can't open makebox |
Date: | Tue, 6 Oct 2015 08:00:16 +0000 |
Message-ID: | <D347C6895A0AB142BAA2D2F876C96CAA83366990@ex2010-db01> |
References: | <D347C6895A0AB142BAA2D2F876C96CAA83360F13 AT ex2010-db01> <560010D0 DOT 4010903 AT gmail DOT com> <D347C6895A0AB142BAA2D2F876C96CAA83361896 AT ex2010-db01> <D347C6895A0AB142BAA2D2F876C96CAA83361900 AT ex2010-db01> <56017E9C DOT 8060501 AT gmail DOT com> <D347C6895A0AB142BAA2D2F876C96CAA8336641A AT ex2010-db01> <56135185 DOT 6060403 AT gmail DOT com> |
In-Reply-To: | <56135185.6060403@gmail.com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id t9680mZe013337 |
Hi Marco, you got me. I simply renamed the environment variable TESSDATA_PREFIX into _TESSDATA_PREFIX for that first situation instead of deleting it. But a (on purpopse) wrong named variable is like a non set one, right? Greetings, Marco -----Ursprüngliche Nachricht----- Von: Marco Atzeri [mailto:marco DOT atzeri AT gmail DOT com] Gesendet: Dienstag, 6. Oktober 2015 06:44 An: Schmitz, Marco <marco DOT schmitz AT adesso-mobile DOT de>; cygwin AT cygwin DOT com Betreff: Re: AW: AW: Tesseract 3.04 - Cygwin64 - Windows 8.1 - Can't open makebox On 05/10/2015 11:09, Schmitz, Marco wrote: > Hello Marco, > > here come the deserved 2 attachments. > > Without setting the Windows environment variable TESSDATA_PREFIX to C:\DEV\cygwin64\usr\share\tessdata I get: > > $ tesseract --list-langs > Error opening data file > C:\DEV\tesseract\Tesseract-OCR\tessdata/eng.traineddata > Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory. > Failed loading language 'eng' > Tesseract couldn't load any languages! > Could not initialize tesseract. > > This I put into cygcheck-without-windows-environment-variable-set.out. > > ---------------------------------------------------------------------- > ---------------------------------------------------------------------- > -------- > > Then I set TESSDATA_PREFIX to C:\DEV\cygwin64\usr\share\tessdata and restart cygwin. I get: > > $ tesseract --list-langs > List of available languages (13): > arbeitsunfaehigkeit > deu > deu_frak > eng > fra > ita > ita_old > nld > osd > por > spa > spa_old > vie > > This I put into cygcheck-with-windows-environment-variable-set.out. > > > Gretings, > Marco Schmitz Please note that TESSDATA_PREFIX is present in both case. So in the first case it should be a residual of a previous Tesseract (for windows) installation. $ grep TESS cygcheck-with* cygcheck-without-windows-environment-variable-set.out:TESSDATA_PREFIX = 'C:\DEV\tesseract\Tesseract-OCR\' cygcheck-without-windows-environment-variable-set.out:_TESSDATA_PREFIX = 'C:\DEV\cygwin64\usr\share\tessdata' cygcheck-with-windows-environment-variable-set.out:TESSDATA_PREFIX = 'C:\DEV\cygwin64\usr\share\tessdata' I suggest to look on your environment variables: user or system specific. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |