View Single Post
Old 10-19-2013, 06:25 PM   #649
Markismus
Guru
Markismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicing
 
Markismus's Avatar
 
Posts: 962
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, OnyxNotePro, Note5, Kobo Glo, Aura
Quote:
Originally Posted by paola View Post
I installed the latest build (589), and I cannot launch it. I don't know what is wrong. It cannot be filesmonitor, as e.g. kobolauncher starts properly (though the reboot does not work anymore either). I reinstalled fmon just in case, re-instlaled koreader, too, and still it does not work. The files are all there where they should be; Here is koreader.sh in fmon:
Code:
$root/.kobo/fmon/fmon $root/koreader.png $root/.kobo/koreader/koreader_kobo.sh &
and here is koreader_kobo.sh (in the koreader directory):
Code:
#!/bin/sh
export LC_ALL="en_US.UTF-8"

# we're always starting from our working directory
cd /mnt/onboard/.kobo/koreader/

# export trained OCR data directory
export TESSDATA_PREFIX="data"

# export dict directory
export STARDICT_DATA_DIR="data/dict"

# finally call reader
./reader.lua /mnt/onboard 2> crash.log

# continue with nickel

reboot
Grateful for your help, this should be working but it is not, and I've run out of ideas. My Mini is on firmware 2.6.2 - the koreader.png file is in the root directory
I thought you used a dedicated directory for OCR and dict. Are you sure this is the version of koreader_kobo.sh that you should be running?

Originally the fmon command-line added ">> $root/.kobo/fmon/fmon.log.txt 2>&1 &" to the end (without ""). It puts all output of the command to a txt-file in the fmon directory. That could give some more info.
Markismus is offline   Reply With Quote