Ask Your Question

Calibre will no longer start

asked 2018-12-15 07:04:17 -0500

Steve-V gravatar image

Calibre previously started fine, now it fails to start with the following message:

steve@rosie ~]$ calibre
Traceback (most recent call last):
  File "/usr/bin/calibre", line 19, in <module>
    from calibre.gui_launch import calibre
  File "/usr/lib64/calibre/calibre/", line 28, in <module>
    from calibre.startup import winutil, winutilerror
  File "/usr/lib64/calibre/calibre/", line 93, in <module>
  File "/usr/lib64/calibre/calibre/utils/", line 208, in set_translators
    mpath = get_lc_messages_path(lang)
  File "/usr/lib64/calibre/calibre/utils/", line 107, in get_lc_messages_path
    if lang in available_translations():
  File "/usr/lib64/calibre/calibre/utils/", line 21, in available_translations
    stats = msgpack_loads(open(stats, 'rb').read())
  File "/usr/lib64/calibre/calibre/utils/", line 108, in msgpack_loads
    return msgpack.unpackb(dump, ext_hook=msgpack_decoder, raw=False)
  File "msgpack/_unpacker.pyx", line 100, in msgpack._unpacker.unpackb (msgpack/_unpacker.cpp:102)
TypeError: unpackb() got an unexpected keyword argument 'raw'
/usr/lib64/calibre/calibre/ RuntimeWarning: Parent module 'calibre' not found while handling absolute import
  import shutil

This is a problem with msgpack, but I have the most up-to-date msgpack installed (0.5.6).

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-12-15 07:06:38 -0500

Steve-V gravatar image

It turns out that I also had msgpack-python-0.4.7 installed through pip:

[steve@rosie ~]$ pip list | grep msgpack
msgpack (0.5.6)
msgpack-python (0.4.7)

So the solution was:

[steve@rosie ~]$ pip uninstall msgpack-python
Uninstalling msgpack-python-0.4.7:
Proceed (y/n)? y
  Successfully uninstalled msgpack-python-0.4.7
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-12-15 07:04:17 -0500

Seen: 154 times

Last updated: Dec 15 '18