sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #00529
[Bug 702625] [NEW] Capture crashes Sikuli on Fedora 14
Public bug reported:
Sikuli version: Sikuli-X-1.0rc1
OS: Fedora 14
To reproduce:
1. Launch Sikuli-IDE from the command line with sikuli-ide.sh.
2. Click the capture button.
3. After the delay, select something.
Result: Sikuli crashes and the following message appears in the shell:
"Unable to load unicharset file /tmp/sikuli/tessdata/eng.unicharset".
The file /tmp/sikuli/tessdata/eng.unicharset exists but is empty. The
reason is that the tesseract OCR resources are not found (writeFileList
in org.sikuli.script.ResourceExtractor.java:21) and the
NullPointerException is ignored. The empty file causes tesseract to
crash.
I'm using the tesseract 2.04 Fedora RPM. The resource files are in
/usr/share/tesseract/tessdata. Adding this path to the
TESSERACT_DATA_DIR confsets in cmake_modules/common.cmake fixes the
problem.
** Affects: sikuli
Importance: Undecided
Assignee: Edu (karlmicha)
Status: New
** Tags: capture crash linux
** Changed in: sikuli
Assignee: (unassigned) => Edu (karlmicha)
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/702625
Title:
Capture crashes Sikuli on Fedora 14
Status in Sikuli:
New
Bug description:
Sikuli version: Sikuli-X-1.0rc1
OS: Fedora 14
To reproduce:
1. Launch Sikuli-IDE from the command line with sikuli-ide.sh.
2. Click the capture button.
3. After the delay, select something.
Result: Sikuli crashes and the following message appears in the shell:
"Unable to load unicharset file /tmp/sikuli/tessdata/eng.unicharset".
The file /tmp/sikuli/tessdata/eng.unicharset exists but is empty. The
reason is that the tesseract OCR resources are not found
(writeFileList in org.sikuli.script.ResourceExtractor.java:21) and the
NullPointerException is ignored. The empty file causes tesseract to
crash.
I'm using the tesseract 2.04 Fedora RPM. The resource files are in
/usr/share/tesseract/tessdata. Adding this path to the
TESSERACT_DATA_DIR confsets in cmake_modules/common.cmake fixes the
problem.
Follow ups
-
[Bug 702625] Re: x 1.0rc1: Linux: Fedora 14: Capture crashes Sikuli - workaround
From: RaiMan, 2013-02-22
-
[Bug 702625] Re: x 1.0rc1: Linux: Fedora 14: Capture crashes Sikuli - workaround
From: Arnaud Gelas, 2011-02-18
-
[Bug 702625] Re: x 1.0rc1: Linux: Fedora 14: Capture crashes Sikuli - workaround
From: Tsung-Hsiang Chang, 2011-02-08
-
[Bug 702625] Re: x 1.0rc1: Linux: Fedora 14: Capture crashes Sikuli - workaround
From: Arnaud Gelas, 2011-02-08
-
[Bug 702625] Re: x 1.0rc1: Linux: Fedora 14: Capture crashes Sikuli - workaround
From: RaiMan, 2011-01-14
-
[Bug 702625] Re: Capture crashes Sikuli on Fedora 14
From: Edu, 2011-01-14
-
[Bug 702625] Re: Capture crashes Sikuli on Fedora 14
From: Edu, 2011-01-14
-
[Bug 702625] Re: Capture crashes Sikuli on Fedora 14
From: Arnaud Gelas, 2011-01-13
-
[Bug 702625] Re: Capture crashes Sikuli on Fedora 14
From: Edu, 2011-01-13
-
[Bug 702625] [NEW] Capture crashes Sikuli on Fedora 14
From: Edu, 2011-01-13
References