[Python-apps-team] Bug#928661: UnicodeDecodeError for pyzor -s mbox

Matus UHLAR - fantomas uhlar at fantomas.sk
Wed May 8 14:24:40 BST 2019


Package: pyzor
Version: 1:1.0.0-2

when reporting multiple mail in mbox format, pyzor report shows error:

% pyzor report -s mbox < ~/mail/probably-spam
Traceback (most recent call last):
  File "/usr/bin/pyzor", line 408, in <module>
    main()
  File "/usr/bin/pyzor", line 152, in main
    if not dispatch(client, servers, config):
  File "/usr/bin/pyzor", line 282, in report
    for digested in get_input_handler(style):
  File "/usr/bin/pyzor", line 181, in _get_input_mbox
    tfile.write(sys.stdin.read().encode("utf8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf3 in position 6996: ordinal not in range(128)

This bug was reported at https://github.com/SpamExperts/pyzor/issues/74
and reported as fixed.


-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
How does cat play with mouse? cat /dev/mouse



More information about the Python-apps-team mailing list