Bug 1903981 - python3-html2text: AttributeError: 'str' object has no attribute 'decode'
Summary: python3-html2text: AttributeError: 'str' object has no attribute 'decode'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-html2text
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Kaufmann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-03 09:47 UTC by Moritz
Modified: 2020-12-22 01:26 UTC (History)
2 users (show)

Fixed In Version: python-html2text-2019.9.26-3.el7
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-22 01:26:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Moritz 2020-12-03 09:47:07 UTC
Description of problem:
Similar to https://bugzilla.redhat.com/show_bug.cgi?id=1765768

Version-Release number of selected component (if applicable):
2019.8.11-1.el7

How reproducible:
Run `wget --quiet -O - https://bugzilla.redhat.com/show_bug.cgi?id=1765768 | html2text`

Actual results:
Traceback (most recent call last):
  File "/usr/bin/html2text", line 11, in <module>
    load_entry_point('html2text==2019.8.11', 'console_scripts', 'html2text')()
  File "/usr/lib/python3.6/site-packages/html2text/cli.py", line 262, in main
    data = data.decode(args.encoding, args.decode_errors)
AttributeError: 'str' object has no attribute 'decode'


Expected results:
transform the html-output

Comment 1 Fedora Update System 2020-12-06 09:13:04 UTC
FEDORA-EPEL-2020-215d3dd10e has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-215d3dd10e

Comment 2 Fedora Update System 2020-12-07 00:50:48 UTC
FEDORA-EPEL-2020-215d3dd10e has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-215d3dd10e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2020-12-22 01:26:09 UTC
FEDORA-EPEL-2020-215d3dd10e has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.