Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Calibre can't convert any book!

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

Calibre can't convert any book!

#1 Post by hack3rcon »

Hello,
I want to convert a PDF book to EPUB format, but I got below error:
https://pastebin.com/hnfPrDtD
I got the same error about any book.
What is the problem?

Thank you.

peter_irich
Posts: 1406
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation
Been thanked: 11 times

Re: Calibre can't convert any book!

#2 Post by peter_irich »

Use other program. Enter in Google in advanced_search
convert pdf to epub

Peter.

sgage
Posts: 86
Joined: 2013-03-10 21:00
Has thanked: 1 time
Been thanked: 2 times

Re: Calibre can't convert any book!

#3 Post by sgage »

hack3rcon wrote:Hello,
I want to convert a PDF book to EPUB format, but I got below error:
https://pastebin.com/hnfPrDtD
I got the same error about any book.
What is the problem?

Thank you.
PDF to EPUB or MOBI conversion works fine here (Debian 10.3). Looking at the error output, it seems there may be a bad character in the PDF, though that shouldn't abort the whole conversion. Can you get another copy of the PDF? Is it just this one, or have you had the same issue with other PDF's. I've been using Calibre to convert things for a long time and never seen that message.

peer
Posts: 451
Joined: 2017-03-26 10:14
Has thanked: 9 times
Been thanked: 22 times

Re: Calibre can't convert any book!

#4 Post by peer »

It seems a coding problem. You error file has the line:

Code: Select all

UnicodeDecodeError: 'utf8' codec can't decode byte 0x8a in position 2691: invalid start byte
Perhaps you can try to convert the file online?
have you tried another pdf??

I have calibre 4.99.4 (latest version) in debian testing and conversion from pdf to epub just works.

hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

Re: Calibre can't convert any book!

#5 Post by hack3rcon »

Yes, I tested other PDF files too and got the same error.

hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

Re: Calibre can't convert any book!

#6 Post by hack3rcon »

It is a linux problem because Calibre on the Windows OS can convert the file.

User avatar
sickpig
Posts: 591
Joined: 2019-01-23 10:34
Been thanked: 1 time

Re: Calibre can't convert any book!

#7 Post by sickpig »

hack3rcon wrote:It is a linux problem because Calibre on the Windows OS can convert the file.
^^
such a flawless logic.
You should approach "linux" forum(s) then.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Calibre can't convert any book!

#8 Post by stevepusser »

Try some other pdf to make sure it's just that one pdf that has issues.
Try the newest Calibre in buster-backports.
If that still fails, try the static current release you can install from the code from the Calibre home page.

If that fails, then, and only then, get back to us.
MX Linux packager and developer

Post Reply