[Mailman-Users] Archiving doesn't work + National chars in passwords
Jon Carnes
jonc at nc.rr.com
Sat Feb 8 03:02:43 CET 2003
What version of Python do you have installed? Mailman v2.1.x needs
Python 2.2.x
It looks like you have a Python module that is incompatible with Mailman
v2.1:
year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)
AttributeError: 'module' object has no attribute 'strptime'
===
$ python
Python 2.2 (#1, Nov 5 2002, 15:43:24)
[GCC 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)] on linux-i386
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.strptime
<built-in function strptime>
'Use Ctrl-D (i.e. EOF) to exit.'
>>>
===
On Fri, 2003-02-07 at 10:26, Peter Bengtson wrote:
> 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
>
>
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
>
> This message was sent to: jonc at nc.rr.com
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-users/jonc%40nc.rr.com
More information about the Mailman-Users
mailing list