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, 06: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, 8 views)
File Type: rar main.lua on my kobo original format.rar (2.6 KB, 34 views)

Last edited by jshzh; 04-19-2019 at 06:28 PM.
jshzh is offline   Reply With Quote
Old 04-20-2019, 01:45 AM   #3092
Frenzie
Guru
Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.
 
Posts: 626
Karma: 115152
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
Old 04-20-2019, 04: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
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 1126 03-30-2019 10:34 PM
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 08:32 AM.


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