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

 

 

 

[Resolved] Can any Sid users view ebooks with Calibre 4.0.0?

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

[Resolved] Can any Sid users view ebooks with Calibre 4.0.0?

#1 Post by stevepusser »

I can't with my backports to Buster and Stretch--I get a python error when starting calibre from the terminal and opening an ebook instead:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/calibre-parallel", line 20, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 208, in main
    result = func(*args, **kwargs)
  File "/usr/lib/calibre/calibre/gui_launch.py", line 80, in ebook_viewer
    from calibre.gui2.viewer.main import main
  File "/usr/lib/calibre/calibre/gui2/viewer/main.py", line 12, in <module>
    from PyQt5.QtWebEngineCore import QWebEngineUrlScheme
ImportError: No module named QtWebEngineCore
The last line is what went wrong. It makes me think that Qtwebengine in both Stretch and Buster are now too old, but would like to see if it's working with the newer qtwebengine in Sid.
MX Linux packager and developer

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

Re: [Resolved] Can any Sid users view ebooks with Calibre 4.

#2 Post by stevepusser »

Apparently not, judging by the new changelog, reversion, and referenced bug reports:

Code: Select all

calibre (4.0.0+really3.48.dfsg-1) unstable; urgency=medium

  * Revert to 3.48 since necessary modules for running Calibre >= 4.0 are
    not available for Python 2 (Closes: #941802, #941806)

 -- Norbert Preining <norbert@preining.info>  Sun, 06 Oct 2019 10:09:23 +0900

calibre (4.0.0+dfsg-1) unstable; urgency=medium

  * New upstream version 4.0.0+dfsg
  * fix debian packaging for 4.0 upstream
  * add libhunspell-dev to B-D

 -- Norbert Preining <norbert@preining.info>  Sat, 05 Oct 2019 09:42:11 +0900
MX Linux packager and developer

User avatar
wizard10000
Global Moderator
Global Moderator
Posts: 557
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 76 times
Been thanked: 85 times

Re: [Resolved] Can any Sid users view ebooks with Calibre 4.

#3 Post by wizard10000 »

I haven't run an upgrade in a couple days because it didn't look real safe yesterday, so I'm still on Calibre 3 :(
we see things not as they are, but as we are.
-- anais nin

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: [Resolved] Can any Sid users view ebooks with Calibre 4.

#4 Post by kedaha »

Just to say the I backported Calibre 4.0.0 to Buster and so far it works without any errors.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

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

Re: [Resolved] Can any Sid users view ebooks with Calibre 4.

#5 Post by stevepusser »

kedaha wrote:Just to say the I backported Calibre 4.0.0 to Buster and so far it works without any errors.
Have you tried to open any ebooks with its builtin ebook reader? That's where the errors come in. Or did you backport the 4.0.0 version that's really 3.48?

From looking at the bug reports, it appears 4.0.0 now needs a package of python 2 bindings for at least qtwebengine 5.12. Debian has that qtwebengine upstream, but they are not building the python 2 packages any longer, as part of the python 2 purge.

So Debian won't be doing any further Calibre packaging until it goes full python 3.

Users can still install the "static" build version with the command string from their website, though.
MX Linux packager and developer

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: [Resolved] Can any Sid users view ebooks with Calibre 4.

#6 Post by kedaha »

stevepusser wrote: Have you tried to open any ebooks with its builtin ebook reader? That's where the errors come in. Or did you backport the 4.0.0 version that's really 3.48?
The built-in ebook reader works OK but I did indeed backport the other version:

Code: Select all

user@debian:~/calibre$ ls
calibre-4.0.0+really3.48.dfsg
calibre_4.0.0+really3.48.dfsg-1_all.deb
calibre_4.0.0+really3.48.dfsg-1_amd64.buildinfo
calibre_4.0.0+really3.48.dfsg-1_amd64.changes
calibre_4.0.0+really3.48.dfsg-1.debian.tar.xz
calibre_4.0.0+really3.48.dfsg-1.dsc
calibre_4.0.0+really3.48.dfsg.orig.tar.xz
calibre-bin_4.0.0+really3.48.dfsg-1_amd64.deb
calibre-bin-dbgsym_4.0.0+really3.48.dfsg-1_amd64.deb
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

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

Re: [Resolved] Can any Sid users view ebooks with Calibre 4.

#7 Post by stevepusser »

kedaha wrote:
stevepusser wrote: Have you tried to open any ebooks with its builtin ebook reader? That's where the errors come in. Or did you backport the 4.0.0 version that's really 3.48?
The built-in ebook reader works OK but I did indeed backport the other version:

Code: Select all

user@debian:~/calibre$ ls
calibre-4.0.0+really3.48.dfsg
calibre_4.0.0+really3.48.dfsg-1_all.deb
calibre_4.0.0+really3.48.dfsg-1_amd64.buildinfo
calibre_4.0.0+really3.48.dfsg-1_amd64.changes
calibre_4.0.0+really3.48.dfsg-1.debian.tar.xz
calibre_4.0.0+really3.48.dfsg-1.dsc
calibre_4.0.0+really3.48.dfsg.orig.tar.xz
calibre-bin_4.0.0+really3.48.dfsg-1_amd64.deb
calibre-bin-dbgsym_4.0.0+really3.48.dfsg-1_amd64.deb
Well, yes, 3.48 works fine, and that what you really have.
MX Linux packager and developer

paxmark1
Posts: 54
Joined: 2008-10-23 05:19
Has thanked: 1 time

Re: [Resolved] Can any Sid users view ebooks with Calibre 4.

#8 Post by paxmark1 »

Good question.
I fired Calibre up in Sid with sway (experimental) on my little atom and I see the version offered by Debian is 3.48 for aforementioned python2 to 3 reasons.

I used to use the binaries for Debian from Norbert Preining via MobileRead foum. He now often does it in Debian as you can see from the change log. He has been busy with it lately. But only up to 3.48

https://metadata.ftp-master.debian.org/ ... _changelog

There was a recent post over Calibe on Planet Debian
via Antoine Beaupré - anarcat the post via his blog is
https://anarc.at/software/desktop/calibre/

I am just going to wait a bit before even thinking about going to version 4 Not much at the MobileRead forum yet. A higher priority for me is trying out Sigil 9.18

Best of luck. peace out.

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

Re: [Resolved] Can any Sid users view ebooks with Calibre 4.

#9 Post by stevepusser »

paxmark1 wrote:Good question.
I fired Calibre up in Sid with sway (experimental) on my little atom and I see the version offered by Debian is 3.48 for aforementioned python2 to 3 reasons.

I used to use the binaries for Debian from Norbert Preining via MobileRead foum. He now often does it in Debian as you can see from the change log. He has been busy with it lately. But only up to 3.48

https://metadata.ftp-master.debian.org/ ... _changelog

There was a recent post over Calibe on Planet Debian
via Antoine Beaupré - anarcat the post via his blog is
https://anarc.at/software/desktop/calibre/

I am just going to wait a bit before even thinking about going to version 4 Not much at the MobileRead forum yet. A higher priority for me is trying out Sigil 9.18

Best of luck. peace out.
I installed their static version 4.1 via the commands given on their website, and it's working fine. It installs and uses its own libraries that aren't in Debian. It just doesn't upgrade automatically, as far as I know.
MX Linux packager and developer

pendrachken
Posts: 1394
Joined: 2007-03-04 21:10
Location: U.S.A. - WI.

Re: [Resolved] Can any Sid users view ebooks with Calibre 4.

#10 Post by pendrachken »

stevepusser wrote:
paxmark1 wrote:Good question.
I fired Calibre up in Sid with sway (experimental) on my little atom and I see the version offered by Debian is 3.48 for aforementioned python2 to 3 reasons.

I used to use the binaries for Debian from Norbert Preining via MobileRead foum. He now often does it in Debian as you can see from the change log. He has been busy with it lately. But only up to 3.48

https://metadata.ftp-master.debian.org/ ... _changelog

There was a recent post over Calibe on Planet Debian
via Antoine Beaupré - anarcat the post via his blog is
https://anarc.at/software/desktop/calibre/

I am just going to wait a bit before even thinking about going to version 4 Not much at the MobileRead forum yet. A higher priority for me is trying out Sigil 9.18

Best of luck. peace out.
I installed their static version 4.1 via the commands given on their website, and it's working fine. It installs and uses its own libraries that aren't in Debian. It just doesn't upgrade automatically, as far as I know.

Is there any real reason to update constantly on Linux? I only have Calibre installed on my Windows host OS, but I'm still chugging away on version 2.49, and it hasn't complained about any device I've thrown at it yet... Does the Linux version do hardware mounting or something different than the Windows version?
fortune -o
Your love life will be... interesting.
:twisted: How did it know?

The U.S. uses the metric system too, we have tenths, hundredths and thousandths of inches :-P

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

Re: [Resolved] Can any Sid users view ebooks with Calibre 4.

#11 Post by stevepusser »

Well, they do constantly add support for newer devices, as well as add or fix news sources, if you use Calibre for that sort of thing. If you don't need the new stuff, stick with what works!
MX Linux packager and developer

Post Reply