Package: calibre
Version: 3.46.0+dfsg-1~bpo10+1
Severity: important
Hi,
calibre/buster ran fine, since 3.46 entered buster-bpo, it crashes on opening
markdown files:
-----8<----------
$ echo "# I'm a heading" > foo.md
$ ebook-viewer foo.md
-----8<----------
The main windows shown, blocked by a common, modal error dialog, providing this
stack trace:
-----8<----------
calibre, version 3.46.0
ERROR: Could not open e-book: Failed to read book, foo.md click "Show Details"
for more information
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/utils/ipc/simple_worker.py", line 290, in main
res = {'result':func(*args, **kwargs)}
File "/usr/lib/calibre/calibre/ebooks/oeb/iterator/book.py", line 64, in
extract_book
plumber.opts, plumber.input_fmt, log, {}, tdir)
File "/usr/lib/calibre/calibre/customize/conversion.py", line 246, in __call__
log, accelerators)
File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/txt_input.py", line
261, in convert
input_mi, html = convert_markdown_with_metadata(txt, extensions=[x.strip()
for x in options.markdown_extensions.split(',') if x.strip()])
File "/usr/lib/calibre/calibre/ebooks/txt/processor.py", line 148, in
convert_markdown_with_metadata
md = create_markdown_object(extensions)
File "/usr/lib/calibre/calibre/ebooks/txt/processor.py", line 114, in
create_markdown_object
from markdown import Markdown
File "/usr/lib/calibre/calibre/startup.py", line 69, in load_module
return import_module(fullname[len('calibre.ebooks.'):])
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ValueError: Empty module name
-----8<----------
The package list below is from my main machine (buster+bpo), however this also
happens on an up-to-date sid vm.
Let me know if you need more information!
Thanks
Daniel
-- System Information:
Debian Release: 10.0
APT prefers proposed-updates
APT policy: (990, 'proposed-updates'), (990, 'stable'), (500,
'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500,
'oldstable-updates'), (500, 'oldstable-proposed-updates'), (500,
'oldstable-debug'), (500, 'stable'), (500, 'oldstable'), (99, 'testing'), (98,
'unstable'), (96, 'oldoldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/bash
Init: sysvinit (via /sbin/init)
Versions of packages calibre depends on:
ii calibre-bin 3.46.0+dfsg-1~bpo10+1
ii fonts-liberation 1:1.07.4-9
ii imagemagick 8:6.9.10.23+dfsg-2.1
ii imagemagick-6.q16 [imagemagick] 8:6.9.10.23+dfsg-2.1
ii libjpeg-turbo-progs 1:1.5.2-2+b1
ii libjs-coffeescript 1.12.8~dfsg-4
ii libjs-mathjax 2.7.4+dfsg-1
ii optipng 0.7.7-1
ii poppler-utils 0.71.0-5
ii python-apsw 3.24.0-r1-1
ii python-bs4 4.7.1-1
ii python-chardet 3.0.4-3
ii python-cherrypy3 8.9.1-2
ii python-css-parser 1.0.4-1
ii python-cssselect 1.0.3-1
ii python-cssutils 1.0.2-2
ii python-dateutil 2.7.3-3
ii python-dbus 1.2.8-3
ii python-feedparser 5.2.1-1
ii python-html5-parser 0.4.5-1
ii python-html5lib 1.0.1-1
ii python-lxml 4.3.2-1
ii python-markdown 3.0.1-3
ii python-mechanize 1:0.2.5-3
ii python-msgpack 0.5.6-1+b1
ii python-netifaces 0.10.4-1+b1
ii python-pil 5.4.1-2
ii python-pkg-resources 40.8.0-1
ii python-pyparsing 2.2.0+dfsg1-2
ii python-pyqt5 5.11.3+dfsg-1+b3
ii python-pyqt5.qtsvg 5.11.3+dfsg-1+b3
ii python-pyqt5.qtwebkit 5.11.3+dfsg-1+b3
ii python-regex 0.1.20190207-1
ii python-routes 2.4.1-1
ii python2.7 2.7.16-2
ii xdg-utils 1.1.3-1
Versions of packages calibre recommends:
ii python-dnspython 1.16.0-1
Versions of packages calibre suggests:
pn python-unrardll <none>
-- no debconf information