[Python-apps-team] Bug#923077: pyzor: crashes on certain emails
nijel
michal at cihar.com
Sat Feb 23 20:04:49 GMT 2019
Package: pyzor
Version: 1:1.0.0-3
Severity: normal
Dear Maintainer,
some tested emails make pyzor crash. I haven't collected the problematic
email, but I can probably do that as there is about one in a hour going
to my mail server and spamassasin complains with "internal error, python
traceback seen in response". If you have hints how to save the processed
email in that case, it would help.
The pyzor crashes with:
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 237, in check
for digested in get_input_handler(style):
File "/usr/bin/pyzor", line 174, in _get_input_msg
msg = email.message_from_file(sys.stdin)
File "/usr/lib/python3.7/email/__init__.py", line 54, in message_from_file
return Parser(*args, **kws).parse(fp)
File "/usr/lib/python3.7/email/parser.py", line 54, in parse
data = fp.read(8192)
File "/usr/lib/python3.7/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 1041: invalid start byte
Michal
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pyzor depends on:
ii python3 3.7.2-1
pyzor recommends no packages.
Versions of packages pyzor suggests:
pn pyzor-doc <none>
-- no debconf information
More information about the Python-apps-team
mailing list