Control: severity -1 important
Control: tag -1 moreinfo unreproducible
Hello Andrzej,
Andrzej A. Filip [2016-06-22 19:32 +0200]:
> Calibre fails to start after upgrade.
> It is most likely due to missing dependences.
>
> 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 22, in <module>
> from calibre.startup import winutil, winutilerror
> File "/usr/lib/calibre/calibre/startup.py", line 149, in <module>
> from calibre.utils.icu import title_case, lower as icu_lower, upper as
> icu_upper
> File "/usr/lib/calibre/calibre/utils/icu.py", line 28, in <module>
> raise RuntimeError('Failed to load icu with error: %s' % err)
> RuntimeError: Failed to load icu with error: No module named icu
I don't think it's a missing dependency. I installed calibre on a
current and relatively small Debian LXD installation, ther is no
python*icu* package installed, and it starts up fine without this
error. Also, this line tries to load a plugin, i. e.
/usr/lib/calibre/calibre/plugins/icu.so which is in calibre-bin. Just
to make sure it's not file system corruption, do you have that file?
If so, what's the output of "ldd /usr/lib/calibre/calibre/plugins/icu.so",
are there any "not found"s in there?
> /usr/lib/calibre/calibre/ptempfile.py:27: RuntimeWarning: Parent module
> 'calibre' not found while handling absolute import
> import shutil
This just looks like a relatively harmless followup error on cleaning
up the one from above, so we can ignore this for now.
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)