[Mailman-Developers] Archiving crashing due to missing 'strptime'

Stonewall Ballard stoney at sb.org
Mon Jan 27 14:03:58 EST 2003


Using Mailman 2.1 (final) on Mac OS X 10.1.5.

I've got a bunch of these in my error log. They seem to happen every 
few days. The January archive for one of my lists wasn't there, so I 
tried to 'arch' it, and got this traceback (appended).

Any suggestions on how to fix this? I've run fix_privs. I looked in the 
list archives and didn't see anything relevant.

Thanks.

  - Stoney

Traceback (most recent call last):
   File "bin/arch", line 187, in ?
     main()
   File "bin/arch", line 177, in main
     archiver.close()
   File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 304, in 
close
     self.update_dirty_archives()
   File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 518, in 
update_dirty_archives
     self.update_archive(i)
   File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 1032, 
in update_archive
     self.__super_update_archive(archive)
   File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 424, in 
update_archive
     self._update_simple_index(hdr, archive, arcdir)
   File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 434, in 
_update_simple_index
     self.write_index_header()
   File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 949, in 
write_index_header
     print self.html_head()
   File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 637, in 
html_head
     d = {"listname": html_quote(mlist.real_name, self.lang),
   File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 635, in 
quotetime
     return html_quote(i18n.ctime(s), self.lang)
   File "/usr/local/mailman/Mailman/i18n.py", line 98, in ctime
     year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)
AttributeError: 'module' object has no attribute 'strptime'




More information about the Mailman-Developers mailing list