This is the mail archive of the
cygwin
mailing list for the Cygwin project.
starting tesseract from user which hasnt logon
- From: Fernando Benites <fernabenso at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 4 Mar 2009 15:29:22 +0100
- Subject: starting tesseract from user which hasnt logon
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/