[Mailman-Users] Archiving doesn't work + National chars in passwords
Peter Bengtson
peter.bengtson at musikelit.nu
Fri Feb 7 16:26:12 CET 2003
Messages do not get archived properly. Mac OS 10.1.x, Mailman 2.1. The
logs reveal the following:
> Feb 07 12:51:16 2003 (389) SHUNTING: 1044618675.177514+be324eff2aafe6a8b13f0aa43b6580cf9d345fc4
> Feb 07 13:27:59 2003 (389) Uncaught runner exception: 'module' object has no attribute 'strptime'
> Feb 07 13:27:59 2003 (389) Traceback (most recent call last):
> File "/Users/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
> self._onefile(msg, msgdata)
> File "/Users/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
> File "/Users/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose
> mlist.ArchiveMail(msg)
> File "/Users/mailman/Mailman/Archiver/Archiver.py", line 207, in ArchiveMail
> h.close()
> File "/Users/mailman/Mailman/Archiver/pipermail.py", line 304, in close
> self.update_dirty_archives()
> File "/Users/mailman/Mailman/Archiver/pipermail.py", line 518, in update_dirty_archives
> self.update_archive(i)
> File "/Users/mailman/Mailman/Archiver/HyperArch.py", line 1032, in update_archive
> self.__super_update_archive(archive)
> File "/Users/mailman/Mailman/Archiver/pipermail.py", line 424, in update_archive
> self._update_simple_index(hdr, archive, arcdir)
> File "/Users/mailman/Mailman/Archiver/pipermail.py", line 434, in _update_simple_index
> self.write_index_header()
> File "/Users/mailman/Mailman/Archiver/HyperArch.py", line 949, in write_index_header
> print self.html_head()
> File "/Users/mailman/Mailman/Archiver/HyperArch.py", line 637, in html_head
> d = {"listname": html_quote(mlist.real_name, self.lang),
> File "/Users/mailman/Mailman/Archiver/HyperArch.py", line 635, in quotetime
> return html_quote(i18n.ctime(s), self.lang)
> File "/Users/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'
Any ideas?
Also, using national characters such as åäöüéèô and so forth in a
user-supplied personal password causes Mailman to crash miserably:
> Bug in Mailman version 2.1
> We're sorry, we hit a bug!
> If you would like to help us identify the problem, please email a copy of this page to the webmaster for this site with a description of what happened. Thanks! Traceback:
> Traceback (most recent call last):
> File "/Users/mailman/scripts/driver", line 87, in run_main
> main()
> File "/Users/mailman/Mailman/Cgi/subscribe.py", line 94, in main
> process_form(mlist, doc, cgidata, language)
> File "/Users/mailman/Mailman/Cgi/subscribe.py", line 176, in process_form
> mlist.AddMember(userdesc, remote)
> File "/Users/mailman/Mailman/MailList.py", line 795, in AddMember
> cookie = Pending.new(Pending.SUBSCRIPTION, userdesc)
> File "/Users/mailman/Mailman/Pending.py", line 69, in new
> hashfood = str(now) + str(n) + str(content)
> File "/Users/mailman/Mailman/UserDesc.py", line 56, in __repr__
> return '' % (
> UnicodeError: ASCII decoding error: ordinal not in range(128)
/ Peter Bengtson
More information about the Mailman-Users
mailing list