I had to reinstall LMDE after the recent batch of updates ate all available space on my / partition. But when I reinstalled Calibre from Synaptic (and later, when that didn't work, using aptitude) it didn't start. When I tried to start it via the terminal I got this:
[peter@linuxmint-debian64 ~]$ calibre
Traceback (most recent call last):
File "/usr/bin/calibre", line 19, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/gui2/main.py", line 362, in main
app, opts, args, actions = init_qt(args)
File "/usr/lib/calibre/calibre/gui2/main.py", line 43, in init_qt
from calibre.gui2.ui import Main
File "/usr/lib/calibre/calibre/gui2/ui.py", line 30, in <module>
from calibre.gui2.widgets import ProgressIndicator
File "/usr/lib/calibre/calibre/gui2/widgets.py", line 24, in <module>
from calibre.gui2.progress_indicator import ProgressIndicator as _ProgressIndicator
File "/usr/lib/calibre/calibre/gui2/progress_indicator/__init__.py", line 15, in <module>
pi_error)
RuntimeError: Failed to load the Progress Indicator plugin: the sip module implements API v8.0 to v8.1 but the progress_indicator module requires API v7.1
Can anyone help?
Calibre won't work after recent updates
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Calibre won't work after recent updates
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Calibre won't work after recent updates
I can't help you with Calibre, I don't know anything about it, but I may be able to help with the problem above.I had to reinstall LMDE after the recent batch of updates ate all available space on my / partition
On a rolling release like LMDE the sheer volume of updates generates a huge /var/cache/apt/archives file if you don't manage it yourself. (/archives is where the downloaded packages are stored).
The way to clear it is to use either the command
Code: Select all
sudo apt-get clean
Code: Select all
sudo apt-get autoclean
If you do that every so often you probably wont run into the space problem again.
Re: Calibre won't work after recent updates
Thanks for the tip, viking777 - I'll certainly do that from now on!
Re: Calibre won't work after recent updates
It's a bug solved in the last version of Calibre.
You have 3 solutions :
- Download the latest version on Calibre site, not the usual "linux way" but it works.
- Add (temporary) debian sid repository and upgrade Calibre
- Wait for the update to reach your repositories.
You have 3 solutions :
- Download the latest version on Calibre site, not the usual "linux way" but it works.
- Add (temporary) debian sid repository and upgrade Calibre
- Wait for the update to reach your repositories.
Re: Calibre won't work after recent updates
I had the same issue, and as Olorin suggested, I just got the latest version from the website and it was up and running again.
mikhou
mikhou
Re: Calibre won't work after recent updates
Thanks for your help Olorin & mikhou - I went the temporary sid way, and an upgraded version of Calibre is running on my system as I type this. Brilliant!
Pete
Pete
Re: Calibre won't work after recent updates
I always use http://calibre-ebook.com/download_linux to install Calibre. It's "not the linux way" but gives you the latest Calibre (repos are usually way behind). Make sure you have "Show Notification" in Preferences>Behavior checked, this will notify you (in Calibre) when a newer version is available.
Re: Calibre won't work after recent updates
ARRGH! this is what I get when i try this method
wget -O- http://status.calibre-ebook.com/dist/src | tar xvz
cd calibre*
sudo python setup.py install
Dropping privileges to those of brian: 1000
Traceback (most recent call last):
File "setup.py", line 99, in <module>
sys.exit(main())
File "setup.py", line 85, in main
command.run_all(opts)
File "/home/brian/calibre/setup/__init__.py", line 159, in run_all
self.run_cmd(self, opts)
File "/home/brian/calibre/setup/__init__.py", line 150, in run_cmd
cmd.pre_sub_commands(opts)
File "/home/brian/calibre/setup/install.py", line 128, in pre_sub_commands
import calibre.utils.config as c
File "/home/brian/calibre/src/calibre/__init__.py", line 17, in <module>
from calibre.constants import iswindows, isosx, islinux, isfreebsd, isfrozen, \
File "/home/brian/calibre/src/calibre/constants.py", line 8, in <module>
import re, importlib
ImportError: No module named importlib
wget -O- http://status.calibre-ebook.com/dist/src | tar xvz
cd calibre*
sudo python setup.py install
Dropping privileges to those of brian: 1000
Traceback (most recent call last):
File "setup.py", line 99, in <module>
sys.exit(main())
File "setup.py", line 85, in main
command.run_all(opts)
File "/home/brian/calibre/setup/__init__.py", line 159, in run_all
self.run_cmd(self, opts)
File "/home/brian/calibre/setup/__init__.py", line 150, in run_cmd
cmd.pre_sub_commands(opts)
File "/home/brian/calibre/setup/install.py", line 128, in pre_sub_commands
import calibre.utils.config as c
File "/home/brian/calibre/src/calibre/__init__.py", line 17, in <module>
from calibre.constants import iswindows, isosx, islinux, isfreebsd, isfrozen, \
File "/home/brian/calibre/src/calibre/constants.py", line 8, in <module>
import re, importlib
ImportError: No module named importlib
Re: Calibre won't work after recent updates
Install the python-importlib package.zaphodbblx wrote: ImportError: No module named importlib