Package: python3-html2text Version: 2014.9.25-1 Severity: normal To reproduce:
> echo "<h1>hi</h1>" | html2markdown Traceback (most recent call last): File "/usr/bin/html2markdown", line 9, in <module> load_entry_point('html2text==2014.9.25', 'console_scripts', 'html2text')() File "/usr/lib/python3/dist-packages/html2text/__init__.py", line 1083, in main data = data.decode(encoding) AttributeError: 'str' object has no attribute 'decode' zsh: done echo -E "<h1>hi</h1>" | zsh: exit 1 html2markdown Note that this only happens with the python3 version of this package. When I remove python3-html2text and install python-html2text, it works fine: echo "<h1>hi</h1>" | html2markdown # hi -- Jason -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python3-html2text depends on: ii python3 3.4.2-2 ii python3-pkg-resources 17.0-1 pn python3:any <none> Versions of packages python3-html2text recommends: ii python3-feedparser 5.1.3-3 python3-html2text suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org