Package: darkslide
Version: 4.0.1-1
Severity: important
Forwarded: https://github.com/ionelmc/python-darkslide/issues/10

There was a non-backwards compatible change in python3-markdown version
3 (allegedly; it happened on my system with the below dependencies
installed) that makes conversion from markdown fail like this:

$ darkslide slides.md
Adding   'slides.md' (markdown)
Error: markdown() takes 1 positional argument but 2 were given

This has already been reported upstream at
https://github.com/ionelmc/python-darkslide/issues/10, and can be fixed
by setting line 60 of parser.py to

return markdown.markdown(text, extension=self.md_extensions)

as suggested by the github reporter.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.20.0-trunk-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages darkslide depends on:
ii  python3           3.7.2-1
ii  python3-docutils  0.14+dfsg-4
ii  python3-jinja2    2.10-1
ii  python3-markdown  3.0.1-3
ii  python3-pygments  2.3.1+dfsg-1
ii  python3-qrcode    6.1-1
ii  python3-six       1.12.0-1

darkslide recommends no packages.

darkslide suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/lib/python3/dist-packages/darkslide/parser.py (from 
darkslide package)

-- 
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom

Attachment: signature.asc
Description: PGP signature

Reply via email to