rfc822.py date parsing problem

M

Michael B Allen

How can I zoom in on what's going on below?

$ archivemail -n ~/Maildir/.Lists.*
/home/miallen/Maildir/.Lists.CIFS: I would have archived 11 of 29
message(s) in 0.1 seconds
/home/miallen/Maildir/.Lists.Expat: I would have archived 113 of 116
message(s) in 0.3 seconds
/home/miallen/Maildir/.Lists.JCIFS: I would have archived 628 of 1796
message(s) in 4.2 seconds
/home/miallen/Maildir/.Lists.Jarapac: I would have archived 0 of 6
message(s) in 0.0 seconds
/home/miallen/Maildir/.Lists.Libmba: I would have archived 21 of 39
message(s) in 0.1 seconds
/home/miallen/Maildir/.Lists.Linux-UTF8: I would have archived 0 of 190
message(s) in 0.4 seconds
Traceback (most recent call last):
File "/usr/bin/archivemail", line 968, in ?
main()
File "/usr/bin/archivemail", line 550, in main
archive(mailbox_path)
File "/usr/bin/archivemail", line 761, in archive
_archive_dir(mailbox_name, final_archive_name, "maildir")
File "/usr/bin/archivemail", line 877, in _archive_dir
if should_archive(msg):
File "/usr/bin/archivemail", line 674, in should_archive
time_message = guess_delivery_time(message)
File "/usr/bin/archivemail", line 613, in guess_delivery_time
date = message.getdate(header)
File "/usr/lib/python2.1/rfc822.py", line 362, in getdate
return parsedate(data)
File "/usr/lib/python2.1/rfc822.py", line 901, in parsedate
t = parsedate_tz(data)
File "/usr/lib/python2.1/rfc822.py", line 826, in parsedate_tz
if data[0][-1] in (',', '.') or data[0].lower() in _daynames:
IndexError: list index out of range
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top