Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-24-2022, 08:43 PM   #1
Joseph The Grave
Member
Joseph The Grave began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2022
Device: PC
Open each ebook with a different epub viewer?

A few of my epub books won't open with Calibre's built-in default epub viewer. Is it possible with a plugin or whatever to configure troublesome ebooks to automatically open with a different ebook viewer?
Joseph The Grave is offline   Reply With Quote
Old 07-24-2022, 08:53 PM   #2
Foozle
Connoisseur
Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.
 
Posts: 62
Karma: 221034
Join Date: May 2021
Device: None
What happens when you try to open them? Error messages? Nothing?

If you want to try a different viewer, all you have to do is change the Open With program for the ebook files.
Foozle is offline   Reply With Quote
Advert
Old 07-24-2022, 09:10 PM   #3
BetterRed
null operator (he/him)
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: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
  1. Right click the EPUB in Book Details
  2. Select "Open EPUB with..."
  3. Select "Add other application for EPUB files..."
  4. Browse to and select another viewer (e.g. Adobe Digital Editions)
You can set keyboard shortcuts for Open With items in Preferences, e.g you could set Open EPUB with ADE to Shift+A.

BR
BetterRed is offline   Reply With Quote
Old 07-24-2022, 09:44 PM   #4
Joseph The Grave
Member
Joseph The Grave began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2022
Device: PC
Quote:
Originally Posted by Foozle View Post
What happens when you try to open them? Error messages? Nothing?

If you want to try a different viewer, all you have to do is change the Open With program for the ebook files.
Yes, I get an error message. It only happens with a very few books - usually large custom ebooks - though, but they're books I like.

Quote:
Originally Posted by BetterRed View Post
  1. Right click the EPUB in Book Details
  2. Select "Open EPUB with..."
  3. Select "Add other application for EPUB files..."
  4. Browse to and select another viewer (e.g. Adobe Digital Editions)
You can set keyboard shortcuts for Open With items in Preferences, e.g you could set Open EPUB with ADE to Shift+A.

BR
I found the option but I have to select "Open with <name of other epub viewer>" every time I open the file. There's no way to have it remember so next time I only have to double click within calibre to open it in that viewer?
Joseph The Grave is offline   Reply With Quote
Old 07-24-2022, 11:06 PM   #5
BetterRed
null operator (he/him)
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: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Joseph The Grave View Post
I found the option but I have to select "Open with <name of other epub viewer>" every time I open the file. There's no way to have it remember so next time I only have to double click within calibre to open it in that viewer?
I can't think of a direct way to have calibre record the last viewer used for an individual book.

You could tag the book with something like '_altview', and create a column colour rule to use a distinctive colour, e.g. 'Red', if that tag is present. Then you'd hit a keyboard shortcut for 'Red' books.

BR

Last edited by BetterRed; 07-24-2022 at 11:10 PM.
BetterRed is offline   Reply With Quote
Advert
Old 07-24-2022, 11:53 PM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by BetterRed View Post
I can't think of a direct way to have calibre record the last viewer used for an individual book.

You could tag the book with something like '_altview', and create a column colour rule to use a distinctive colour, e.g. 'Red', if that tag is present. Then you'd hit a keyboard shortcut for 'Red' books.
You could probably use something like that with the Open With plugin. It might need a batch script that takes the a value as a parameter to choose the application to open the book with. Or it could be used to have a menu of different viewers to open books with.
davidfor is offline   Reply With Quote
Old 07-25-2022, 12:07 AM   #7
Joseph The Grave
Member
Joseph The Grave began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2022
Device: PC
Heh, I think all these options to auto-open epubs with a particular ebook reader are way too advanced for me I only started using Calibre as my default ebook database/library a few weeks ago. Before that I just use to open ebooks in a mess of barely organized folders with Calibre's ebook book viewer. Life is a lot easier now that I half-way know what I'm doing with Calibre but the intricacies of the program still elude me.
Joseph The Grave is offline   Reply With Quote
Old 07-25-2022, 02:00 AM   #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: 46,042
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Joseph The Grave View Post
A few of my epub books won't open with Calibre's built-in default epub viewer. Is it possible with a plugin or whatever to configure troublesome ebooks to automatically open with a different ebook viewer?
Considering that calibre's ebook-viewer is very forgiving of errors in an epub, I'm not sure how many other programs will be more forgiving. Perhaps cleaning up the epub before attempting to view it might be a good idea.
DNSB is online now   Reply With Quote
Old 07-25-2022, 02:22 AM   #9
BetterRed
null operator (he/him)
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: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DNSB View Post
Considering that calibre's ebook-viewer is very forgiving of errors in an epub, I'm not sure how many other programs will be more forgiving. Perhaps cleaning up the epub before attempting to view it might be a good idea.
Does the viewer handle Fixed Layout EPUBS?

The OP said the troublesome books are 'large custom ebooks'.

BR
BetterRed is offline   Reply With Quote
Old 07-25-2022, 03:14 AM   #10
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by DNSB View Post
Considering that calibre's ebook-viewer is very forgiving of errors in an epub, I'm not sure how many other programs will be more forgiving. Perhaps cleaning up the epub before attempting to view it might be a good idea.
That's a good point. I don't think I have seen the viewer fail to open a book that wasn't in very bad state. Sometimes it can take a while, but, it very rare for the book not to open.

And @Joseph The Grave has said there was an error, but, has not actually mentioned what the error is. That might tell us what is the real problem.
davidfor is offline   Reply With Quote
Old 07-25-2022, 08:30 AM   #11
Joseph The Grave
Member
Joseph The Grave began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2022
Device: PC
Quote:
Originally Posted by DNSB View Post
Considering that calibre's ebook-viewer is very forgiving of errors in an epub, I'm not sure how many other programs will be more forgiving. Perhaps cleaning up the epub before attempting to view it might be a good idea.
I tried 2 or 3 other epub viewers, including Adobe Digital Editions, and they all open the troublesome epubs fine. It's just Calibre's ebook viewer that has the issue. But since calibre's ebook viewer is by far the best epub viewer I've used, I'd certainly prefer to use it over all others. Yes, no doubt the epub in question (someone else put it together, btw... I have no real expertise in these matters) is sloppily put together and is in a very bad state, as someone said. Are there any programs that might help in auto-cleaning it up? (see below for specific error msg)

Quote:
Originally Posted by BetterRed View Post
Does the viewer handle Fixed Layout EPUBS?

The OP said the troublesome books are 'large custom ebooks'.

BR
I don't even know what "Fixed Layout Epubs" are lol

Quote:
Originally Posted by davidfor View Post
That's a good point. I don't think I have seen the viewer fail to open a book that wasn't in very bad state. Sometimes it can take a while, but, it very rare for the book not to open.

And @Joseph The Grave has said there was an error, but, has not actually mentioned what the error is. That might tell us what is the real problem.
As mentioned in previous posts, yes, this happens VERY rarely but it's still annoying when it does. Here's the specific error message in its entirety:

Spoiler:
calibre, version 5.44.0
ERROR: Loading book failed: Failed to open the book at J:\Downloads\Margaret St. Clair - COMPLEAT Collected Short SFF Stories, The.epub. Click "Show details" for more info

Failed to convert book: J:\Downloads\Margaret St. Clair - COMPLEAT Collected Short SFF Stories, The.epub with error:
InputFormatPlugin: EPUB Input running
on J:\Downloads\Margaret St. Clair - COMPLEAT Collected Short SFF Stories, The.epub
Found HTML cover titlepage.xhtml
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "site.py", line 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\utils\ipc\worker.py", line 196, in main
File "<string>", line 1, in <module>
File "calibre\srv\render_book.py", line 823, in viewer_main
File "calibre\srv\render_book.py", line 814, in render_for_viewer
File "calibre\srv\render_book.py", line 792, in render
File "calibre\srv\render_book.py", line 646, in process_exploded_book
File "calibre\srv\render_book.py", line 496, in __call__
Exception: Render worker failed with error:
Failed to run pipe worker with command: from calibre.srv.render_book import worker_main; worker_main()

Traceback (most recent call last):

File "runpy.py", line 194, in _run_module_as_main

File "runpy.py", line 87, in _run_code

File "site.py", line 82, in <module>

File "site.py", line 77, in main

File "site.py", line 49, in run_entry_point

File "calibre\utils\ipc\worker.py", line 196, in main

File "<string>", line 1, in <module>

File "calibre\srv\render_book.py", line 506, in worker_main

File "calibre\srv\render_book.py", line 561, in process_book_files

File "calibre\srv\render_book.py", line 405, in transform_html

File "calibre\srv\render_book.py", line 394, in handle_link

File "calibre\srv\render_book.py", line 104, in link_replacer

File "calibre\ebooks\oeb\polish\container.py", line 529, in href_to_name

File "calibre\ebooks\oeb\polish\container.py", line 121, in href_to_name

File "calibre\ebooks\oeb\polish\container.py", line 97, in abspath_to_name

File "ntpath.py", line 703, in relpath

ValueError: path is on mount '\\\\-\\JfONDAY', start on mount 'N:'
Joseph The Grave is offline   Reply With Quote
Old 07-25-2022, 09:15 AM   #12
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: 45,331
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Do an EPUB to EPUB conversion and the result will likely work fine or just wait for the next calibre release, which handles these invalid internal filenames.
kovidgoyal is offline   Reply With Quote
Old 07-25-2022, 09:28 AM   #13
Joseph The Grave
Member
Joseph The Grave began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2022
Device: PC
Quote:
Originally Posted by kovidgoyal View Post
Do an EPUB to EPUB conversion and the result will likely work fine or just wait for the next calibre release, which handles these invalid internal filenames.
This was one of the first things I tried when I first experienced the issue with that particular epub, and no joy. Just tried it again (Einstein once said that the definition of insanity was doing the same thing over and over again, expecting a different result each time lol) and still no joy. I get the same error message. So, unless someone else has another solution, I guess I'll just have to wait for the next version of calibre.

I do love your program, btw, but what kept me from using it as my ebook organizer/library in the past was that i prefer all my frontends/database/organizer software to be truly portable, and now that it is, it's been working great for me. Thanks for your hard work and continuing to improve and refine it without turning it into bloatware.
Joseph The Grave is offline   Reply With Quote
Old 07-25-2022, 02:08 PM   #14
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: 46,042
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by BetterRed View Post
Does the viewer handle Fixed Layout EPUBS?

The OP said the troublesome books are 'large custom ebooks'.

BR
The viewer will open a fixed layout epub but the display is not readable since only part of the page is displayed and the layout is toasted.
DNSB is online now   Reply With Quote
Old 07-25-2022, 02:17 PM   #15
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: 46,042
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Joseph The Grave View Post
I don't even know what "Fixed Layout Epubs" are lol
A fixed layout epub displays a fixed page and not the reflowable display from a normal epub. It's useful for kid's stories where you want the graphics and text to have fixed locations on the page and other books where fixed locations can be advantageous. The only fixed layout epub I have that actually makes sense is Harry Potter: A Journey Through a History of Magic from the British Library.



Quote:
Originally Posted by Joseph The Grave View Post
As mentioned in previous posts, yes, this happens VERY rarely but it's still annoying when it does. Here's the specific error message in its entirety:

Spoiler:
calibre, version 5.44.0
ERROR: Loading book failed: Failed to open the book at J:\Downloads\Margaret St. Clair - COMPLEAT Collected Short SFF Stories, The.epub. Click "Show details" for more info

Failed to convert book: J:\Downloads\Margaret St. Clair - COMPLEAT Collected Short SFF Stories, The.epub with error:
InputFormatPlugin: EPUB Input running
on J:\Downloads\Margaret St. Clair - COMPLEAT Collected Short SFF Stories, The.epub
Found HTML cover titlepage.xhtml
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "site.py", line 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\utils\ipc\worker.py", line 196, in main
File "<string>", line 1, in <module>
File "calibre\srv\render_book.py", line 823, in viewer_main
File "calibre\srv\render_book.py", line 814, in render_for_viewer
File "calibre\srv\render_book.py", line 792, in render
File "calibre\srv\render_book.py", line 646, in process_exploded_book
File "calibre\srv\render_book.py", line 496, in __call__
Exception: Render worker failed with error:
Failed to run pipe worker with command: from calibre.srv.render_book import worker_main; worker_main()

Traceback (most recent call last):

File "runpy.py", line 194, in _run_module_as_main

File "runpy.py", line 87, in _run_code

File "site.py", line 82, in <module>

File "site.py", line 77, in main

File "site.py", line 49, in run_entry_point

File "calibre\utils\ipc\worker.py", line 196, in main

File "<string>", line 1, in <module>

File "calibre\srv\render_book.py", line 506, in worker_main

File "calibre\srv\render_book.py", line 561, in process_book_files

File "calibre\srv\render_book.py", line 405, in transform_html

File "calibre\srv\render_book.py", line 394, in handle_link

File "calibre\srv\render_book.py", line 104, in link_replacer

File "calibre\ebooks\oeb\polish\container.py", line 529, in href_to_name

File "calibre\ebooks\oeb\polish\container.py", line 121, in href_to_name

File "calibre\ebooks\oeb\polish\container.py", line 97, in abspath_to_name

File "ntpath.py", line 703, in relpath

ValueError: path is on mount '\\\\-\\JfONDAY', start on mount 'N:'
Where is the J: drive located? Is it a local drive, on a NAS or a cloud connection (OneDrive, GoogleDrive, etc.). If it is not a local drive, see I am getting errors with my calibre library on a networked drive/NAS? in the calibre FAQs.

Edit: In one of the html files, there is a path which is invalid (the \\JfONDAY' bit in the error message).

Last edited by DNSB; 07-25-2022 at 02:45 PM.
DNSB is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open ebook with viewer WITHOUT opening Calibre Database madame_newbie Calibre 5 06-08-2021 03:20 AM
Calibre ebook viewer won't open on Win 10 timnz Viewer 14 09-16-2020 05:22 PM
ebook-viewer fails to open book: find_epub_cover codedr Library Management 7 12-11-2019 12:53 AM
mac osx open assign ebook viewer to epub files mac osx asllearner Devices 4 09-13-2013 04:17 AM
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc kovidgoyal Calibre 68 05-30-2011 08:46 PM


All times are GMT -4. The time now is 09:01 PM.


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