[Teammetrics-discuss] Error in liststat.py
Andreas Tille
andreas at an3as.eu
Sun Aug 7 06:14:08 UTC 2011
On Sun, Aug 07, 2011 at 12:50:24AM +0200, Andreas Tille wrote:
> It seems to work now. Just running nntpstat.py over night ...
$ ./nntpstat.py
Traceback (most recent call last):
File "./nntpstat.py", line 304, in <module>
main()
File "./nntpstat.py", line 293, in main
liststat.parse_and_save(MBOX_FILES, mbox_hashes={})
File "/home/tille/debian-maintain/teammetrics/liststat.py", line 222, in parse_and_save
decoded_name = email.header.decode_header(raw_name)
File "/usr/lib/python2.6/email/header.py", line 93, in decode_header
dec = email.quoprimime.header_decode(encoded)
File "/usr/lib/python2.6/email/quoprimime.py", line 336, in header_decode
return re.sub(r'=\w{2}', _unquote_match, s)
File "/usr/lib/python2.6/re.py", line 151, in sub
return _compile(pattern, 0).sub(repl, string, count)
File "/usr/lib/python2.6/email/quoprimime.py", line 324, in _unquote_match
return unquote(s)
File "/usr/lib/python2.6/email/quoprimime.py", line 106, in unquote
return chr(int(s[1:3], 16))
ValueError: invalid literal for int() with base 16: 'ig'
See logfile at blends.debian.net.
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Teammetrics-discuss
mailing list