#1319 python3 hub errors on changelogs with non-printable chars
Closed: Fixed by mikem. Opened by mikem.

See also: #349

Example traceback:

2019-03-04 11:17:36,138 [DEBUG] m=getChangelogEntries u=None p=25806 r=?:? koji.xmlrpc: Returning 75094 bytes after 0.010561 seconds
Traceback (most recent call last):
  File "devtools/fakehub", line 107, in <module>
    main()
  File "devtools/fakehub", line 102, in main
    result = parse_response(data)
  File "devtools/fakehub", line 73, in parse_response
    p.feed(chunk)
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 439, in feed
    self._parser.Parse(data, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 29, column 77

Was able to trigger the issue using the srpm from issue #349
https://koji.fedoraproject.org/koji/buildinfo?buildID=869564

Commit 7fae4557 fixes this issue

Commit a90d05fb fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1319

Please continue any further discussion there.

Metadata
Related Pull Requests