← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 1838862] [NEW] calibre crashes during startup

 

Public bug reported:

When trying to start calibre with no arguments, the following exception
is thrown before the GUI can appear:

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 28, in <module>
    from calibre.startup import winutil, winutilerror
  File "/usr/lib/calibre/calibre/startup.py", line 93, in <module>
    set_translators()
  File "/usr/lib/calibre/calibre/utils/localization.py", line 209, in set_translators
    mpath = get_lc_messages_path(lang)
  File "/usr/lib/calibre/calibre/utils/localization.py", line 108, in get_lc_messages_path
    if lang in available_translations():
  File "/usr/lib/calibre/calibre/utils/localization.py", line 22, in available_translations
    stats = msgpack_loads(open(stats, 'rb').read())
  File "/usr/lib/calibre/calibre/utils/serialize.py", line 109, 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:1777)
TypeError: unpackb() got an unexpected keyword argument 'raw'
/usr/lib/calibre/calibre/ptempfile.py:29: RuntimeWarning: Parent module 'calibre' not found while handling absolute import
  import shutil

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: calibre 3.39.1+dfsg-2build1
ProcVersionSignature: Ubuntu 5.0.0-23.24-generic 5.0.15
Uname: Linux 5.0.0-23-generic x86_64
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Aug  4 01:57:08 2019
InstallationDate: Installed on 2014-06-27 (1863 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_IE:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_IE.UTF-8
 SHELL=/usr/bin/zsh
SourcePackage: calibre
UpgradeStatus: Upgraded to disco on 2019-04-21 (104 days ago)

** Affects: calibre (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug disco

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to calibre in Ubuntu.
https://bugs.launchpad.net/bugs/1838862

Title:
  calibre crashes during startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1838862/+subscriptions


Follow ups