By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,366 Members | 1,531 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,366 IT Pros & Developers. It's quick & easy. date parsing problem

P: n/a
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 ?
File "/usr/bin/archivemail", line 550, in main
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/", line 362, in getdate
return parsedate(data)
File "/usr/lib/python2.1/", line 901, in parsedate
t = parsedate_tz(data)
File "/usr/lib/python2.1/", line 826, in parsedate_tz
if data[0][-1] in (',', '.') or data[0].lower() in _daynames:
IndexError: list index out of range

Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.