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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-25-2020, 07:21 AM   #1
prom king
Enthusiast
prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.
 
prom king's Avatar
 
Posts: 47
Karma: 2112464
Join Date: Jan 2008
Device: Kobo Forma, Sony PRS-500
Can't open lrf format with

Recently I updated Calibre to newest version and now when I convert ebooks to lrf format I can't open them in calibre e-book viewer.

For every e-book I try to open I first get an error message that says:

Quote:
calibre, version 4.14.0
ERROR: Unhandled error: Uncaught TypeError: Cannot read property 'is_html' of undefined<br><span style="font-size:smaller">Error at userscript:viewer.js:37212:23</span>

Traceback (most recent call last):
at XMLHttpRequest.ρσ_anonfunc (userscript:viewer.js:5830:21)
at complete_callback (userscript:viewer.js:5798:17)
at manifest_received (userscript:viewer.js:37361:22)
at View.display_book (userscript:viewer.js:36385:39)
at View.ρσ_interpolate_kwargs (userscript:viewer.js:2616:18)
at View.show_name (userscript:viewer.js:36496:18)
at View.load_doc (userscript:viewer.js:36515:13)
at load_resources (userscript:viewer.js:13272:13)
at do_one (userscript:viewer.js:13224:31)
at Object.get_file (userscript:viewer.js:37212:23)
TypeError: Cannot read property 'is_html' of undefined
And then it is loading forever. While on older version I could open lrf ebooks, to check how they are converted before I put them on my Sony PRS 500
prom king is offline   Reply With Quote
Old 04-25-2020, 08:17 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 60,310
Karma: 58876983
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
I see the same error trying to view LRF with the Calibre viewer using 4.14.
JSWolf is online now   Reply With Quote
Advert
Old 04-25-2020, 09:12 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 38,164
Karma: 16793319
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...e77adfa2736045

note you will need to clear the viewer's cache for the fix to work.
kovidgoyal is offline   Reply With Quote
Old 04-26-2020, 07:15 AM   #4
prom king
Enthusiast
prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.
 
prom king's Avatar
 
Posts: 47
Karma: 2112464
Join Date: Jan 2008
Device: Kobo Forma, Sony PRS-500
Great, kovidgoyal, but what do I do with that piece of code? I do see people exchanging code on github but I never see instructions of what to do with that code.

I am little bit in programming and I presume that code was written in java?
prom king is offline   Reply With Quote
Old 04-26-2020, 08:04 AM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 60,310
Karma: 58876983
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by prom king View Post
Great, kovidgoyal, but what do I do with that piece of code? I do see people exchanging code on github but I never see instructions of what to do with that code.

I am little bit in programming and I presume that code was written in java?
You just have to wait until the next version of Calibre is released and your problem will be solved.
JSWolf is online now   Reply With Quote
Advert
Old 04-26-2020, 09:01 AM   #6
prom king
Enthusiast
prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.prom king ought to be getting tired of karma fortunes by now.
 
prom king's Avatar
 
Posts: 47
Karma: 2112464
Join Date: Jan 2008
Device: Kobo Forma, Sony PRS-500
What, you can't tell me how to paste that code into the program? I tried opening ebook-viewer.exe with Notepad++ but all I get is a display of some strange characters.
prom king is offline   Reply With Quote
Old 04-26-2020, 09:12 AM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 60,310
Karma: 58876983
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by prom king View Post
What, you can't tell me how to paste that code into the program? I tried opening ebook-viewer.exe with Notepad++ but all I get is a display of some strange characters.
You are running a compiled version of Calibre. So you'll have to wait for the next version to be released.
JSWolf is online now   Reply With Quote
Old 04-26-2020, 01:21 PM   #8
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 8,834
Karma: 40802167
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Forma, Clara HD, Nexus 7 HD, iPad Pro, Tolino epos
Quote:
Originally Posted by prom king View Post
What, you can't tell me how to paste that code into the program? I tried opening ebook-viewer.exe with Notepad++ but all I get is a display of some strange characters.
To use the code snippets, you will need to be running calibre from source. See Setting up a calibre development environment for information on doing this.
DNSB is online now   Reply With Quote
Old 04-26-2020, 06:05 PM   #9
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 16,685
Karma: 19705250
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@prom king - uninstall 4.14, and install the version you were using before - you won't lose any settings or books.

BR
BetterRed is offline   Reply With Quote
Old 04-26-2020, 06:44 PM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 60,310
Karma: 58876983
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
@prom king For now, don't open with. Just click the LRF format in the formats list and you'll get a viewer that's not the main viewer, but it works well enough.
JSWolf is online now   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
Calibre 0.9.4 and format LRF Foolproof Conversion 3 11-01-2012 09:13 AM
LRF Release to Open Source? Timoleon LRF 5 02-23-2011 05:43 PM
LRF Format eibix PocketBook 9 01-14-2010 01:35 PM
PRS-600 LRF Format and the 600 kazbates Sony Reader 9 09-20-2009 10:27 AM
Open source LRF viewer kovidgoyal LRF 30 01-18-2009 06:10 AM


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


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