Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-19-2019, 07:07 PM   #3091
jshzh
Addict
jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.
 
Posts: 320
Karma: 3394
Join Date: Aug 2009
Device: Pocketbook 602 Pro, Kobo Aura HD, LG G Pad III
Quote:
Originally Posted by Frenzie View Post
Code:
./luajit: plugins/send2ebook.koplugin/main.lua:202: attempt to call method 'lazyInitialization' (a nil value)
stack traceback:
	plugins/send2ebook.koplugin/main.lua:202: in function 'onConfirm'
	frontend/ui/downloadmgr.lua:52: in function 'onConfirm'
	frontend/ui/widget/pathchooser.lua:131: in function 'callback'
	frontend/ui/widget/button.lua:218: in function 'action'
	frontend/ui/uimanager.lua:716: in function '_checkTasks'
	frontend/ui/uimanager.lua:993: in function 'handleInput'
	frontend/ui/uimanager.lua:1079: in function 'run'
	./reader.lua:234: in main chunk
	[C]: at 0x00013b61
https://github.com/koreader/koreader.../main.lua#L202

You could see if changing that to Send2Ebook:lazyInitialization() does the trick, since I definitely don't want to actually look at that plugin.
Thank you, Frenzie,

I don't know anything about programming so I am confused here.
1) the main.lua file on github contains 229 lines while the one on my device 261 lines. The two Line 202 are not the same. Please see the attachments with a txt and a word file (with line numbers added) of mine.
2) by "changing that to Send2Ebook:lazyInitialization()", do you mean adding the 9 lines you provided (with "[C]: at 0x00013b61" as the last line) somewhere or replacing something in the main.lua?

I wonder if you could kindly post a modified main.lua so I can download and replace the one on my device and try. I figure it might take a lot of time for you to type here and try to explain to me how to do it. I have the copy of the old one saved on my PC so I can later compare it with your modified version and learn how the editing is done. Thank you.
Attached Files
File Type: docx main.docx (17.0 KB, 59 views)
File Type: rar main.lua on my kobo original format.rar (2.6 KB, 78 views)

Last edited by jshzh; 04-19-2019 at 07:28 PM.
jshzh is offline   Reply With Quote
Old 04-20-2019, 02:45 AM   #3092
Frenzie
Guru
Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.
 
Posts: 828
Karma: 135782
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Those lines show why the program crashed. They're from your log.

The change is only line 202: https://github.com/koreader/koreader/pull/4944/files
Frenzie is offline   Reply With Quote
Advert
Old 04-20-2019, 05:37 PM   #3093
jshzh
Addict
jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.jshzh could sell banana peel slippers to a Deveel.
 
Posts: 320
Karma: 3394
Join Date: Aug 2009
Device: Pocketbook 602 Pro, Kobo Aura HD, LG G Pad III
Thank you, Frenzie. The modification works like a charm on both units.
jshzh is offline   Reply With Quote
Old 05-28-2019, 08:54 PM   #3094
ahdemir81
Junior Member
ahdemir81 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2019
Device: Kobo Aura H2O 2. Ed
2 Problems with Koreader

I have a Kobo h2o 2e. I've set up the Koreader KFS 9. I'm having two problems. Can you help me?
1- When I download books via FTP, Koredaer does not read books.
2- I can not see Webdav Yandex subfolders.
ahdemir81 is offline   Reply With Quote
Old 05-29-2019, 08:18 AM   #3095
Frenzie
Guru
Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.
 
Posts: 828
Karma: 135782
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Could you clarify what you mean by 1?
Frenzie is offline   Reply With Quote
Advert
Old 05-29-2019, 04:58 PM   #3096
ahdemir81
Junior Member
ahdemir81 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2019
Device: Kobo Aura H2O 2. Ed
The books I downloaded via FTP are not opened. The program says "This format is not overridden". But the Format is either PDF or Epub.
ahdemir81 is offline   Reply With Quote
Old 07-04-2019, 09:16 PM   #3097
Ron B.
Junior Member
Ron B. began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2019
Device: Aura 132 Gb
Question Faster SD? Processor debug tool?

Noticed my old aura that bricked during update still gets seen by windows device handler briefly. Makes me wonder if there is an arm processor tool out there I could use to flash an OS on to it?

Noticed sometimes Koreader can load huge a SD directory fast and other times I have to take five while I wait for it.

Any partition support for SD cards?

was thinking sleep exit message could use a few more options like, when was sleep initiated , how long it was running, battery.
Ron B. is offline   Reply With Quote
Old 07-14-2019, 11:20 PM   #3098
The_Immortal
Connoisseur
The_Immortal began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Jan 2011
Device: Kobo GLO HD, KOBO AURA ONE
to delete

Last edited by The_Immortal; 07-15-2019 at 01:49 AM.
The_Immortal is offline   Reply With Quote
Old 08-25-2019, 12:16 PM   #3099
serdar0020
Connoisseur
serdar0020 began at the beginning.
 
Posts: 73
Karma: 10
Join Date: Nov 2013
Location: Germany
Device: the old 6" kobo aura of 2013 with 64GB microSD
this author uses very long word combinations, with hyphen or slash. Hyphenation is active, but doesn't split the words
Spoiler:




serdar0020 is offline   Reply With Quote
Old 08-25-2019, 12:43 PM   #3100
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: 9,486
Karma: 15265084
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
I'm assuming we don't hyphen on slashes, much like we didn't hyphen on em-dashes until very recently?

I'm not even sure we *should*, but at least that explains the rivers here .
NiLuJe is offline   Reply With Quote
Old 08-30-2019, 02:39 AM   #3101
cramoisi
Librarian
cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.
 
Posts: 341
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
There is not a single hyphen on the page. It seems to me that they are disabled by css on this book. Maybe you could try to enable them with style tweaks > text> allow hyphenation on all text. It would not change anything on the big slash word but the result should be better.
cramoisi is offline   Reply With Quote
Old 08-30-2019, 07:55 AM   #3102
pblasi
Enthusiast
pblasi began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Aug 2014
Device: Kobo Clara HD
Is possible to fine adjust margins, word gap, etc. editing some text file? Thanks
pblasi is offline   Reply With Quote
Old 08-30-2019, 08:51 AM   #3103
Frenzie
Guru
Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.
 
Posts: 828
Karma: 135782
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
You can look in insert_bookname.sdr/meta.lua and settings.reader.lua.

Make a backup in case you mess up the syntax.
Frenzie is offline   Reply With Quote
Old 08-31-2019, 11:25 AM   #3104
pblasi
Enthusiast
pblasi began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Aug 2014
Device: Kobo Clara HD
I've learned how to set a default value by long pressing it. However, I don't know how to set a default font size of 25 in the bottom menu (which I reached using the fine tuning controls). I can only set default values for those sizes with icons in the screen (24 or 26). Is it possible to set defaults for fine tuned font size values? Thanks!

Last edited by pblasi; 08-31-2019 at 11:44 AM.
pblasi is offline   Reply With Quote
Old 08-31-2019, 02:15 PM   #3105
Frenzie
Guru
Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.Frenzie has rectified all his or her action issues with transformational deconfliction.
 
Posts: 828
Karma: 135782
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
It looks like that can't be done through the GUI. For the moment you can edit settings.reader.lua.

Make a backup first if you don't want to risk losing your settings if you make a mistake.

It'll be the line that says something like:

Code:
["copt_font_size"] = 22,
You can change it to anything, so also something even more finely tuned like 24.1. Not everything will result in a difference in pixels of course, but because the GUI was originally created for Kindles from 2012ish finer per-pixel details might potentially be lost on higher DPI devices.
Frenzie is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 1138 07-27-2019 10:52 AM
Touch Using two Kobos tkavan Kobo Reader 4 06-23-2017 03:47 AM
2 kobos at once tsarinaerika Kobo Reader 14 06-03-2013 05:13 AM
Syncing between two Kobos fx3000se Kobo Reader 4 01-24-2013 03:10 PM
2 kobos 1 account retired05 Kobo Reader 9 05-05-2012 09:25 AM


All times are GMT -4. The time now is 03:31 AM.


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