anki-search-inside-add-card icon indicating copy to clipboard operation
anki-search-inside-add-card copied to clipboard

Cannot open epub file with Calibre

Open XDitto0165 opened this issue 3 years ago • 4 comments

I have imported some epub files. Normally I read epub by Calibre. But when I tried to open those file in Anki, I got the message error message "This application failed to start because no Qt platform plugin could be initialized." from Calibre. What should I do?

XDitto0165 avatar Feb 03 '21 09:02 XDitto0165

Hi, sorry, cannot follow. Did you try to open a .epub file within the add-on? I.e. you created an add-on note with the source like /Path/to/file.epub? If so, sorry, epubs are not supported.

fonol avatar Feb 05 '21 07:02 fonol

Can the add-on just call out Calibre and then open the epub file in Calibre?

XDitto0165 avatar Feb 05 '21 15:02 XDitto0165

I did a quick test: If you set the Source like this: file:///path/to/file.epub, it will open in Calibre for me, as long as I have registered Calibre as the default program for .epub files in Windows.

Under the Source field, you can select External File, then Find File.

fonol avatar Feb 06 '21 07:02 fonol

This is exactly the steps I am following. But I am still getting the error "This application failed to start because no Qt platform plugin could be initialized." when try to open the file in the queue. On the other hand, I can open the epub file in Calibre normally through File Explorer. This error seems to appear after I updated Calibre to the latest version.

For now I have switched to opening the epub file in the queue by Freda, and it can be opened normally.

XDitto0165 avatar Feb 06 '21 08:02 XDitto0165