Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-30-2013, 02:03 PM   #841
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
I can't find libpng in Koreader, I thought it was a part of cr3?
http://code.google.com/p/kobohack-j/...ba3347338bd8ee

This looks interesting for .svg http://sourceforge.net/p/svg2swf/libsvg/ci/master/tree/

Now that we have a 16 bit depth buffer working, things could get interesting.

Luck;
Ken

Last edited by Ken Maltby; 12-01-2013 at 09:52 PM.
Ken Maltby is offline   Reply With Quote
Old 11-30-2013, 06:26 PM   #842
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,840
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
two questions on dictionaries

wonder if anyone can shed light on the following:

1. dictionaries (and highlights) seem to work in pdf but not in epubs, is this to be expected?

2. I have an Italian stardict dictionary, with ocr and all relevant files installed, but I cannot get it to work: I can't highlight a single word, if I long press a whole line is selected. Could there be something wrong with the tessdata file, or does anybody have other pointers please?

The stardict dictionary comes from here, while the ocr file comes from here (both links legit as far as I know).
paola is offline   Reply With Quote
Advert
Old 12-01-2013, 04:15 AM   #843
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: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
It is a known issue: https://github.com/koreader/koreader/issues/176
Markismus is offline   Reply With Quote
Old 12-01-2013, 11:26 AM   #844
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,840
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
Quote:
Originally Posted by Markismus View Post
many thanks Marksimus, so no dictionary in epub is "ok", I'll just wait :-)

But then the Italian dictionary in pdf documents should work, right?
paola is offline   Reply With Quote
Old 12-01-2013, 12:23 PM   #845
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: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
Yes.

You can check the validity of your dictionary, decompile it to a txt-file, edit and recompile it with stardict editor. That program is included with stardict for windows.

I've tried a lot of programs, but for stardict dictionary handling this seems to be the simplest around.

Currently I have a durch-german, german, english, french-english, latin and ancient greek dictionary installed.
Markismus is offline   Reply With Quote
Advert
Old 12-01-2013, 03:58 PM   #846
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,840
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
Quote:
Originally Posted by Markismus View Post
Yes.

You can check the validity of your dictionary, decompile it to a txt-file, edit and recompile it with stardict editor. That program is included with stardict for windows.

I've tried a lot of programs, but for stardict dictionary handling this seems to be the simplest around.

Currently I have a durch-german, german, english, french-english, latin and ancient greek dictionary installed.
thanks Marksimus - the italian-english dictionary works, but the monolingual italian does not, and I cannot figure out if the problem is with the dictionary or with the OCR. I will try decompiling/recompiling and see what happens.
paola is offline   Reply With Quote
Old 12-01-2013, 09:05 PM   #847
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Build 669 doesn't use the -STOP and -CONT switches in the koreader_kobo.sh script, don't see why as Hawhill's changes work. I just saved my old pre-build 669 koreader_kobo.sh file and replaced the new one after copying over the new koreader folder. It seems to be working fine and I can return to Nickel without rebooting. Did someone just miss updating the koreader_kobo.sh file? Or was there some reason it was not considered a good idea?

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 12-02-2013, 12:24 AM   #848
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
I just never tested myself and thus did not introduce this change. Will do.
hawhill is offline   Reply With Quote
Old 12-02-2013, 08:19 AM   #849
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: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
In my koreader_kobo.sh I also added stop/cont for Hindenburg next to Nickel.
Markismus is offline   Reply With Quote
Old 12-02-2013, 10:44 AM   #850
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by Markismus View Post
In my koreader_kobo.sh I also added stop/cont for Hindenburg next to Nickel.
I left Hindenburg running, as I have no idea what it does or what it is for.
I did a plain killall for adobehost and dbus-daemon, as well as running "exec 3<&-" to close all files open for writing.

Also: "./reader.lua /mnt/sd/.Koreader/Books 1> koreader.log.`date +%s` 2>&1"
To have File Manager open at the start of my ebook library.

I keep this script on my desktop so it is easy to use it to replace whatever comes in the nightly builds.

Luck;
Ken

It looks like Hindenburg is Kobo's Web Browser, so I guess I'll kill that as well, not that anything I do within Nickel should have started it.

Last edited by Ken Maltby; 12-02-2013 at 01:06 PM.
Ken Maltby is offline   Reply With Quote
Old 12-03-2013, 05:07 AM   #851
richzz777
Junior Member
richzz777 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2013
Device: kobo aura hd
Smile

Quote:
Originally Posted by Markismus View Post
No reboot anymore, indeed!

I've changed koreader_kobo.sh to:
#!/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"

# stop Nickel
killall -STOP nickel

# finally call reader
./reader.lua /mnt/sd/.Library 1> koreader.log.`date +%s` 2>&1

# continue with nickel
killall -CONT nickel

And it works.
(If I get problems with the sleepfunction, I'll post it.)

Can you give me your “koreader_kobo.sh” ? THX
richzz777 is offline   Reply With Quote
Old 12-03-2013, 11:31 AM   #852
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by Markismus View Post
No reboot anymore, indeed!

I've changed koreader_kobo.sh to:
#!/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"

# Decrease the reasons for crashes. Search forum for cgm999's explanation.
exec 3<&-

# stop Nickel
killall -STOP nickel
killall -STOP hindenburg

# finally call reader
./reader.lua /mnt/sd/.Library 1> koreader.log.`date +%s` 2>&1

# continue with nickel
killall -CONT hindenburg
killall -CONT nickel

And it works.
(If I get problems with the sleepfunction, I'll post it.)


Can you give me your “koreader_kobo.sh” ? THX /Quote

That is his “koreader_kobo.sh” Just make a copy of your existing one and make it match his ( except change the location he has as an argument being passed to, reader.lua and use the location of your ebook library. He has his library on his external SD card, behind a hidden folder named ".Library".) Having your library behind a hidden folder keeps the ebook files from being processed by Kobo. You should use a HexEditor to make sure there are no 0B (carriage returns) in the file and that the lines end in 0A (Linefeed). Or just use "Notepad++" set for Linux/Unix line endings. [notepad++ is great for reading any script files as it preserves the formatting, where as windows notepad doesn't.]

If you want to make a hidden folder using windows just name the folder with a dot/period both in front and behind the name (like: .Books.) the dot behind will disappear and you will have a Linux hidden folder with the leading dot (.books) that Kobo will not try to process.

Luck;
Ken

Oh, I notice he also mentions -STOP ing Hindenburg as well, I'll edit the above to include that.

Last edited by Ken Maltby; 12-03-2013 at 12:10 PM.
Ken Maltby is offline   Reply With Quote
Old 12-03-2013, 11:54 AM   #853
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: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
Ah, so that's how I could be done from explorer. I just open a command prompt and type "md .Libary"

I thought that it would probably be a good idea to finish off with an "exec 3<&-", too. I find that sometimes highlights an such are not saved.

Last edited by Markismus; 12-03-2013 at 11:57 AM.
Markismus is offline   Reply With Quote
Old 12-03-2013, 12:17 PM   #854
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by richzz777 View Post
Can you give me your “koreader_kobo.sh” ? THX
Quote:
Originally Posted by Markismus View Post
Ah, so that's how I could be done from explorer. I just open a command prompt and type "md .Libary"

I thought that it would probably be a good idea to finish off with an "exec 3<&-", too. I find that sometimes highlights an such are not saved.
OK, added that too.

Command Prompt ... I remember those! I think the current generation might think we were talking about something like: "Don't forget to take the garbage out!"

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 12-03-2013, 01:47 PM   #855
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: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
Somehow my changes to lua-files don't work. When I telnet into my Aura over wireless I see an older version of "input.lua"
I keep getting "can't create koreader.log: Read-only file system
cp: can't create 'ev.log': Read-only file system"
I had this problem a few days ago, too. Anyone knows how to get rid of it?


UPDATE: Apparently, the filesystem was corrupt, more precisely "input.lua".

Last edited by Markismus; 12-03-2013 at 01:54 PM.
Markismus is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 1289 04-07-2025 10:18 AM
Touch Using two Kobos tkavan Kobo Reader 4 06-23-2017 02:47 AM
2 kobos at once tsarinaerika Kobo Reader 14 06-03-2013 04:13 AM
Syncing between two Kobos fx3000se Kobo Reader 4 01-24-2013 02:10 PM
2 kobos 1 account retired05 Kobo Reader 9 05-05-2012 08:25 AM


All times are GMT -4. The time now is 04:31 PM.


MobileRead.com is a privately owned, operated and funded community.