delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/04/09:29:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Wed, 4 Mar 2009 15:29:22 +0100
Message-ID: <94059cc20903040629g285667f6waaf746890830ba6b@mail.gmail.com>
Subject: starting tesseract from user which hasnt logon
From: Fernando Benites <fernabenso AT googlemail DOT com>
To: cygwin AT cygwin DOT com
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

Hello!
I am trying to use ocropus, which needs some files mounted to /usr/local/share.
My Setup is the following:
Windows Server 2008 64 bit
I create a user, this user should start ocropus and it is startet as a
service from cygrunsrv. The registry Key is set to:
HKEY_USERS\S-1-5-21-2451746164-675617940-143893937-1000\Software\Cygnus
Solutions\Cygwin\mounts v2\/usr/local/share
native:C:\Program Files (x86)\Myprogram
If I start the service I get an error:
Ocropus Alpha (sauvola, rast, curved, tesseract)
0.1.1; Thu Feb 14 14:56:44 2008; CYGWIN_NT-5.1 pc-12 1.5.25(0.156/4/2)
2007-12-14 19:21 i686 Cygwin
Unable to load unicharset file /usr/local/share/tessdata/deu.unicharset
If I logon or use runas it does work properly and i dont have anymore
the problem.
i run strace and saw it tries to access
C:\usr\local\share\tessdata\deu.unicharset
instead of
C:\Program Files (x86)\Myprogram\tessdata\deu.unicharset
This would be fine if I run only on this machine, but this is not the case.
I saw that there is no environment:
getwinenv: cant set native for HOME= since no environ yet
But how can ocropus still not mount correctly  but cygcheck yes:
C:\Program Files (x86)\Myprogram  /usr/local/share  user    binmode
(I run cycheck in the .bat file just before the ocropus.exe command)
Thanks in Advance

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019