[Mailman-Users] importing large (1GB) mbox file, hitting a wall here..

Andrew White, PhD awhite at pdbti.org
Fri Dec 29 15:50:39 EST 2017

   I think that's totally the issue- I can see some really old messages
   (1996) which very malformed date fields. Am checking on my versions of
   software now- I'm a little limited on this end since I'm using a virtual
   box on bluehost.com, and while I have root access, there are some aspects
   I can't upgrade or change. Am looking now.

   At 12:30 PM 12/29/2017, Mark Sapiro wrote:

     On 12/29/2017 09:51 AM, Mark Sapiro wrote:
     > It looks like we have a bug somewhere. There may be a defective
     > in the .mbox, but even so, it should result in a more graceful error
     > Did you get a traceback with the "unexpected keyword argument"
     > exception. I would like to see a traceback and if possible, the
     > offending message.

     Never mind. The use of the flags= argument in re.sub was introduced in
     Mailman 2.1.22 and requires Python 2.7.

     The exception will occur with Python older than 2.7.x when attempting to
     archive a message with no valid Date: header and no valid
     X-List-Received-Date: header.

     I have updated the FAQs at < [1]https://wiki.list.org/x/4030629> and
     < [2]https://wiki.list.org/x/876> to note this requirement.

     I have also attached a patch to Mailman/Archiver/pipermail.py that will
     allow it to work with older Python.

     Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
     San Francisco Bay Area, California    better use your sense - B. Dylan

     Mailman-Users mailing list Mailman-Users at python.org
     Mailman FAQ: [4]http://wiki.list.org/x/AgA3
     Security Policy: [5]http://wiki.list.org/x/QIA9
     Searchable Archives:

   Andrew White, PhD
   Associate Director
   DBT-Linehan Board of Certification, Certified DBT Clinician*
   Licensed Clinical Psychologist
   Portland DBT Institute
   (503) 290.3281 (phone)
   (503) 231.8153 (fax)

   Please be aware that e-mail communication can be intercepted in
   transmission or misdirected. This e-mail message and any documents
   attached to it are confidential and may contain information that is
   protected from disclosure by various federal and state laws, including the
   HIPAA privacy rule (45 C.F.R., Part 164). This information is intended to
   be used solely by the entity or individual to whom this message is
   addressed. If you are not the intended recipient, be advised that any use,
   dissemination, forwarding, printing, or copying of this message without
   the sender's written permission is strictly prohibited and may be
   unlawful. Accordingly, if you have received this message in error, please
   notify the sender immediately with a copy to hipaa(at)pdbti.org and
   destroy this message. Please do not include personal identifying
   information such as your birth date, or personal medical information in
   any emails you send to us. No one can diagnose your condition from email
   or other written communications and is not a reliable mechanism for
   emergency communication.


   Visible links
   1. https://wiki.list.org/x/4030629
   2. https://wiki.list.org/x/876
   3. https://mail.python.org/mailman/listinfo/mailman-users
   4. http://wiki.list.org/x/AgA3
   5. http://wiki.list.org/x/QIA9
   6. http://www.mail-archive.com/mailman-users@python.org/
   7. https://mail.python.org/mailman/options/mailman-users/awhite@pdbti.org

More information about the Mailman-Users mailing list