Your message dated Wed, 22 Jan 2020 08:38:49 +0900
with message-id <[email protected]>
and subject line Re: Bug#855389: calibre: exception when adding custom 
open-with program
has caused the Debian Bug report #855389,
regarding calibre: exception when adding custom open-with program
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
855389: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855389
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: calibre
Version: 2.75.1+dfsg-1
Severity: important

The following exception is seen when choosing a different program for
"Open With".

calibre, version 2.75.1
ERROR: Unhandled exception: <b>KeyError</b>:u'MimeType'

calibre 2.75.1  embedded-python: False is64bit: True
Linux-4.10.0-rc8+-x86_64-with-debian-9.0 Linux ('64bit', '')
('Linux', '4.10.0-rc8+', '#16 SMP Mon Feb 13 16:57:58 IST 2017')
Python 2.7.13
Linux: ('debian', '9.0', '')
Successfully initialized third party plugins: Reading List (1, 6, 6)
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/book_details.py", line 544, in 
choose_open_with
    entry = choose_program(fmt, self)
  File "/usr/lib/calibre/calibre/gui2/open_with.py", line 313, in choose_program
    entry = finalize_entry(entry)
  File "/usr/lib/calibre/calibre/gui2/open_with.py", line 220, in finalize_entry
    entry['MimeType'] = tuple(entry['MimeType'])
KeyError: u'MimeType'

Steps to reproduce:

* Select a book
* On RHS, right click on label "Formats: type"
* Open File with....
* Add another application. Here, choose a binary, like: /usr/bin/okular

Exception triggered.

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (990, 'unstable-debug'), (990, 'testing-debug'), (990, 
'unstable'), (990, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.10.0-rc8+ (SMP w/4 CPU cores)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages calibre depends on:
ii  calibre-bin                      2.75.1+dfsg-1
ii  fonts-liberation                 1:1.07.4-2
ii  imagemagick                      8:6.9.7.4+dfsg-1
ii  imagemagick-6.q16 [imagemagick]  8:6.9.7.4+dfsg-1
ii  libjs-mathjax                    2.7.0-1
ii  poppler-utils                    0.48.0-2
ii  python-apsw                      3.16.2-r1-2
ii  python-beautifulsoup             3.2.1-1
ii  python-chardet                   2.3.0-2
ii  python-cherrypy3                 3.5.0-2
ii  python-cssselect                 1.0.1-1
ii  python-cssutils                  1.0-4.1
ii  python-dateutil                  2.5.3-2
ii  python-dbus                      1.2.4-1
ii  python-feedparser                5.1.3-3
ii  python-imaging                   4.0.0-4
ii  python-lxml                      3.7.1-1
ii  python-markdown                  2.6.8-1
ii  python-mechanize                 1:0.2.5-3
ii  python-netifaces                 0.10.4-0.1+b2
ii  python-pil                       4.0.0-4
ii  python-pkg-resources             33.1.1-1
ii  python-pyparsing                 2.1.10+dfsg1-1
ii  python-pyqt5                     5.7+dfsg-5
ii  python-pyqt5.qtsvg               5.7+dfsg-5
ii  python-pyqt5.qtwebkit            5.7+dfsg-5
ii  python-routes                    2.3.1-2
ii  python2.7                        2.7.13-2
ii  xdg-utils                        1.1.1-1

Versions of packages calibre recommends:
ii  python-dnspython  1.15.0-1

calibre suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Thanks, closing this bug.

> In the future, please consider trying to install the official prebuilt
> binaries at https://calibre-ebook.com/download_linux and seeing if the
> error can be duplicated; if you still get the error, then it's an
> upstream bug and can be reported to the calibre developer at
> https://calibre-ebook.com/bugs

If everyone would do that, it would be greatly appreciated, but most
Debian users **expect** maintainers to do all this triaging.

Best

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

--- End Message ---

Reply via email to