Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 08-08-2014, 04:12 PM   #1411
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I see LuaSocket pulling the right zsync control file, and that's the only device-dependent part, so, that, at least, works (which we knew already, since you do see the 'new version available' prompt ).

tar might be falling on its ass on Kobos, that's the next step.

Easy enough to check with a shell: as the same user than KOReader uses (root? not familiar with Kobos), and from the koreader directory (again, not familiar with Kobos ;p), run:

Code:
./tar cvf ota/koreader.installed.tar -C .. -T ota/package.index --no-recursion
echo $?
And report back .

Last edited by NiLuJe; 08-08-2014 at 04:18 PM.
NiLuJe is offline   Reply With Quote
Old 08-08-2014, 04:38 PM   #1412
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
@embryo, what does crash.log say?
Where are your books stored?
WS64 is offline   Reply With Quote
Old 08-08-2014, 04:57 PM   #1413
embryo
Fanatic
embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.
 
embryo's Avatar
 
Posts: 529
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
Quote:
Originally Posted by WS64 View Post
@embryo, what does crash.log say?
Where are your books stored?
Crash.log
Code:
./luajit: error loading module 'defaults' from file './defaults.lua':
	./defaults.lua:148: unexpected symbol near '/'
stack traceback:
	[C]: at 0x00041881
	[C]: in function 'require'
	./reader.lua:9: in main chunk
	[C]: in function 'dofile'
	./koreader-base:22: in main chunk
	[C]: at 0x0000bd85
The books are stored at "/mnt/sd/.Books"
The full line I have is:
LIBRARY_PATH = /mnt/sd/.Books

What is the problematic symbol?
embryo is offline   Reply With Quote
Old 08-08-2014, 05:11 PM   #1414
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
That should probably be quoted. (i.e., LIBRARY_PATH = "/mnt/sd/.Books")

Last edited by NiLuJe; 08-08-2014 at 05:13 PM.
NiLuJe is offline   Reply With Quote
Old 08-08-2014, 05:15 PM   #1415
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
Did you by chance edit defaults.lua with a windows editor like notepad?
In that case the problematic character would be chr(10). In that case overwrite defaults.lua with the one from the package again and try again with a different editor.
WS64 is offline   Reply With Quote
Old 08-08-2014, 05:17 PM   #1416
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
Ahh, quotes, of course... In case I did not use quotes on the examples I will change that tomorrow
WS64 is offline   Reply With Quote
Old 08-08-2014, 05:41 PM   #1417
embryo
Fanatic
embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.
 
embryo's Avatar
 
Posts: 529
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
Red face

Quote:
Originally Posted by WS64 View Post
Ahh, quotes, of course... In case I did not use quotes on the examples I will change that tomorrow
Yeap, that was it!
Now I can search.

Next problem.

When Calibre sends books to a device, is changing the Unicode characters to English equivalents.
There is no way around it.
The same happens when you 'Save to Disk', but here you have a way to disable this.
So I do that.
I 'Save to Disk' first and then copy the files to the reader by myself.

And now in the search results I get many "\u03b9\u03c7\..." characters.
Is the only solution to that to let Calibre convert the filenames?

Is it OK for the conversation about the metadata search problems to continue here or at this thread?

Last edited by embryo; 08-08-2014 at 06:21 PM.
embryo is offline   Reply With Quote
Old 08-08-2014, 06:43 PM   #1418
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@WS64: AFAICT, switching to a proper json decoder would be probably faster if there's a C backend, and handle the unicode issue properly.

EDIT: Barring that, looking at one should at least give you an example of how to handle escaped unicode sequences.

EDIT²: For example, dkjson's unichar function seems to handle it in a fairly concise manner.

Code:
> print(unichar(0x00e9))
é

Last edited by NiLuJe; 08-08-2014 at 07:24 PM.
NiLuJe is offline   Reply With Quote
Old 08-09-2014, 03:38 AM   #1419
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
Thanks, NiLuJe, that worked!
Just added this to GH.

@embryo, I also added chapter markersfor the mini bar (you can turn it on and off in defaults.lua) and added quotation marks to the default.lua comments.

Should all be in the next nightly.
WS64 is offline   Reply With Quote
Old 08-09-2014, 06:10 AM   #1420
embryo
Fanatic
embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.
 
embryo's Avatar
 
Posts: 529
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
Quote:
Originally Posted by WS64 View Post
Thanks, NiLuJe, that worked!
Just added this to GH.

@embryo, I also added chapter markersfor the mini bar (you can turn it on and off in defaults.lua) and added quotation marks to the default.lua comments.

Should all be in the next nightly.
That was really quick!
Thank you!

And while we're waiting for the next nightly, I could add one more suggestion.

Searching for the metadata could lead to 2 problems.
- If you don't remember the exact 'Wording - Naming' of a tag, Author, etc or,
- The tag, Author, etc, is using Unicode characters that you can not enter by the keyboard.
(I'm still trying to find where the keyboard setup is, like the kbd.txt for vlasovsoft one, but even if I do put Unicode characters in there, some of them like punctuated ones can not be easily accessed).

A solution to this could be the presentation of all the metadata the query of the 'metadata.calibre' can produce, in a form of a menu (with the actual search in a menu entry of its own), as soon as the user enters the query.
Here is a screenshot of the FBReader's Library.

This way every menu entry could be a search of its own.
E.g. if you press 'Tags' you'll presented with a sub-menu having the names of all the tags the search can find.
Pressing the 'Fantasy' sub-menu will lead you to the search results with the books having the 'Fantasy' tag.
Menus with many entries like Titles, Authors and Series could lead to a sub-menu of groups by the first letters: A - B - C ... with an easy option (maybe in a single page?) to jump to a particular letter.
The "First Letter Grouping" could be an option to turn it on or off if you don't have that many books in your reader.

Well, I thing I was carried a little away with this ...
These are just suggestions from a user's perspective.
I know that it could be undoable from the programmers side, and I really do appreciate the work done thus far, but I had to ask.
embryo is offline   Reply With Quote
Old 08-09-2014, 08:06 AM   #1421
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
I was thinking of menus with the metadata items too, I just don't know how to present them (like a popup menu or something like that.)


I just have enhanced the keyboard to display man umlauts, that should also solve some of the things you mentioned...
WS64 is offline   Reply With Quote
Old 08-09-2014, 10:12 AM   #1422
embryo
Fanatic
embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.
 
embryo's Avatar
 
Posts: 529
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
Just got 469 (not from the air, more like from the cable ;o) and the progress bar markers are looking good.
Thanks WS64!
Can we have a "DMINIBAR_PROGRESS_MARKER_SIZE" or something, to make it a little more visible?
Quote:
Originally Posted by WS64 View Post
I just have enhanced the keyboard to display man umlauts, that should also solve some of the things you mentioned...
Actually, I need a totally different language.
With sergeyvl12's keyboard you can do it like that.
embryo is offline   Reply With Quote
Old 08-09-2014, 03:40 PM   #1423
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
I'm not sure a marker_size would make sense without being also changed for every book. I have some books that have so many TOC entries that the progress bar right now is nearly useless since it is all black, while in general I agree it is pretty thin.

I think what koreader needs is a concept to edit way more settings while it is running.

If you want to manually make it stronger search edit
frontend/ui/widget/virtualkeyboard.lua
and change this value (line 40 on):
Quote:
if #self.TOC > 0 then
for i=1, #self.TOC do
v = self.TOC[i]
bb:paintRect(x+(my_size.w-2*self.margin_h)*(v.page/self.last), y+self.margin_v+self.bordersize,
2,(my_size.h-2*(self.margin_v+self.bordersize)), self.bordercolor)
end
end
3 will do, I would not go much higher.

To the keyboard, well, we don't have such an easy to configure keyboard right now, sorry.

But again, you can edit one layout yourself, this is done in
frontend/ui/widget/virtualkeyboard.lua
from line 124 on.
I suggest you use columns 5-8 or 9-12 and overwrite the "world" and "Äéß" settings. Just enter your letters instead of the existing ones.
WS64 is offline   Reply With Quote
Old 08-09-2014, 06:38 PM   #1424
embryo
Fanatic
embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.
 
embryo's Avatar
 
Posts: 529
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
Quote:
Originally Posted by WS64 View Post
If you want to manually make it stronger search edit
frontend/ui/widget/virtualkeyboard.lua
and change this value (line 40 on):
3 will do, I would not go much higher.
You mean frontend/ui/widget/progresswidget.lua, right?
I made the changes but nothing happened.
What I'm trying to achieve is to make it wider and minimize the margins around it, like the snapshot I uploaded, but it seems impossible.
Anyway, its not that important.
Its already acceptable.
Quote:
To the keyboard, well, we don't have such an easy to configure keyboard right now, sorry.

But again, you can edit one layout yourself, this is done in
frontend/ui/widget/virtualkeyboard.lua
from line 124 on.
I suggest you use columns 5-8 or 9-12 and overwrite the "world" and "Äéß" settings. Just enter your letters instead of the existing ones.
Perfect!
Exactly what I was looking for.
Thank you.
embryo is offline   Reply With Quote
Old 08-10-2014, 02:25 AM   #1425
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
Quote:
Originally Posted by embryo View Post
You mean frontend/ui/widget/progresswidget.lua, right?
I made the changes but nothing happened.

Yes, progresswidget, sorry.
The 2 is the width of the markers, you should see a difference!
WS64 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 03:40 AM.


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