Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-11-2022, 04:05 PM   #1
lewisdale
Junior Member
lewisdale began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2022
Device: raspberry pi
Calibre Won't Start on Debian

I installed Calibre 5.12 on Debian using apt install but Calibre won't start. I frankly don't understand the traceback shown below.

calibre --ignore-plugins
Traceback (most recent call last):
File "/usr/bin/calibre", line 19, in <module>
from calibre.gui_launch import calibre
File "/usr/lib/calibre/calibre/__init__.py", line 23, in <module>
initialize_calibre()
File "/usr/lib/calibre/calibre/startup.py", line 104, in initialize_calibre
set_translators()
File "/usr/lib/calibre/calibre/utils/localization.py", line 268, in set_translators
lang = get_lang()
File "/usr/lib/calibre/calibre/utils/localization.py", line 90, in get_lang
from calibre.utils.config_base import prefs
File "/usr/lib/calibre/calibre/utils/config_base.py", line 13, in <module>
from calibre.utils.lock import ExclusiveFile
File "/usr/lib/calibre/calibre/utils/lock.py", line 16, in <module>
from calibre_extensions import speedup
ImportError: cannot import name 'speedup' from 'calibre_extensions' (unknown location)

What is Calibre trying to tell me?
lewisdale is offline   Reply With Quote
Old 08-11-2022, 04:11 PM   #2
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,267
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I'd suggest trying the calibre installer from calibre-ebook.com instead of the repository version.

I've played with calibre on Linux and other than Arch, most of the repository versions are
outdated, don't come with all the prerequisites or are buggy. Often all three. At the least with the official version, you can get some help.
DNSB is online now   Reply With Quote
Advert
Old 08-11-2022, 04:17 PM   #3
lewisdale
Junior Member
lewisdale began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2022
Device: raspberry pi
Not on Raspberry PI

Latest Calibre requires QT6. Although debian is now 64bit it is still using QT5 so the latest Calibre linux package won't run on any raspberry pi.
lewisdale is offline   Reply With Quote
Old 08-11-2022, 05:08 PM   #4
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,056
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
5.44.0 is on the Calibre site. It's the last QT5 version.
See instructions for installing ANY older version for any Debian, though maybe it's only x86 and x86-64. The Pi is ARM based.
Quoth is offline   Reply With Quote
Old 08-11-2022, 06:01 PM   #5
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,188
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
As has been pointed out before go to:
https://calibre-ebook.com/download_linux

Use the command:

Code:
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
That will install the ARM64 version--at this time 6.2.1-- of calibre, this is the official and only ARM version of calibre that is supported.

Now the question is are you running a 64bit PI and OS.

bernie

P.S. calibre uses it own build of QT now the system build.
Quote:
Originally Posted by lewisdale View Post
I installed Calibre 5.12 on Debian using apt install but Calibre won't start. I frankly don't understand the traceback shown below.

calibre --ignore-plugins
Traceback (most recent call last):
File "/usr/bin/calibre", line 19, in <module>
from calibre.gui_launch import calibre
File "/usr/lib/calibre/calibre/__init__.py", line 23, in <module>
initialize_calibre()
File "/usr/lib/calibre/calibre/startup.py", line 104, in initialize_calibre
set_translators()
File "/usr/lib/calibre/calibre/utils/localization.py", line 268, in set_translators
lang = get_lang()
File "/usr/lib/calibre/calibre/utils/localization.py", line 90, in get_lang
from calibre.utils.config_base import prefs
File "/usr/lib/calibre/calibre/utils/config_base.py", line 13, in <module>
from calibre.utils.lock import ExclusiveFile
File "/usr/lib/calibre/calibre/utils/lock.py", line 16, in <module>
from calibre_extensions import speedup
ImportError: cannot import name 'speedup' from 'calibre_extensions' (unknown location)

What is Calibre trying to tell me?

Last edited by gbm; 08-11-2022 at 06:06 PM.
gbm is offline   Reply With Quote
Advert
Old 08-11-2022, 06:11 PM   #6
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: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by lewisdale View Post
What is Calibre trying to tell me?
Calibre is trying to tell you to never ever use a Linux repository for anything ever again.
JSWolf is offline   Reply With Quote
Old 08-12-2022, 09:17 AM   #7
lewisdale
Junior Member
lewisdale began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2022
Device: raspberry pi
Thanks to gbm

Thanks kind user as Calibre finally installed and ran correctly.
lewisdale is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre won't start Rellwood Calibre 3 09-03-2021 06:14 PM
Calibre won't start TomSpot Devices 11 03-06-2019 10:45 PM
Calibre won't start! belle2 Calibre 4 09-19-2012 09:29 AM
Calibre 0.7.9 won't start HarryC Calibre 4 07-20-2010 04:45 PM
Calibre 0.4.89 won't start ould Calibre 3 10-02-2008 09:21 PM


All times are GMT -4. The time now is 10:57 PM.


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