[Mailman-Developers] [ mailman-Bugs-593728 ] Traceback rebuilding archive

noreply at sourceforge.net noreply at sourceforge.net
Mon Dec 9 04:26:36 EST 2002


Bugs item #593728, was opened at 2002-08-11 14:46
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=593728&group_id=103

Category: Pipermail
Group: 2.1 beta
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Stefan Divjak (stdivjak)
Assigned to: Nobody/Anonymous (nobody)
Summary: Traceback rebuilding archive

Initial Comment:
Witn Mailman 2.1b3, rebuilding a pipermail archive using  
$ bin/arch listname  
runs fine for 2 lists, but on the third one gives the  
following traceback:  
 
[...]  
Updating HTML for article 52 
Updating HTML for article 53 
Schreibe Archivzustand in Datei 
/home/mailman/archives/private/humor/pipermail.pck 
Traceback (most recent call last): 
  File "bin/arch", line 160, in ? 
    main() 
  File "bin/arch", line 148, in main 
    archiver.processUnixMailbox(fp, Article, start, end) 
  File "/home/mailman/Mailman/Archiver/pipermail.py", 
line 545, in processUnixMailbox 
    m = mbox.next() 
  File "/usr/local/lib/python2.2/mailbox.py", line 34, in 
next 
    return self.factory(_Subfile(self.fp, start, stop)) 
  File "/home/mailman/Mailman/Mailbox.py", line 69, in 
scrubber 
    return mailbox.scrub(msg) 
  File "/home/mailman/Mailman/Mailbox.py", line 89, in 
scrub 
    return self._scrubber(self._mlist, msg) 
  File "/home/mailman/Mailman/Handlers/Scrubber.py", 
line 159, in process 
    part.set_payload(_("""\ 
  File "/home/mailman/Mailman/i18n.py", line 76, in _ 
    return _translation.gettext(s) % dict 
UnicodeError: ASCII decoding error: ordinal not in 
range(128) 

----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-12-08 23:26

Message:
Logged In: YES 
user_id=12800

Thanks Stefan, 

I got your mbox file, which appeared to contain one message.
 That message has an unknown charset in its RFC 2047 Subject
header.  Mailman cvs seems to handle this file just fine, so
I'm closing this as fixed in 2.1b5+

----------------------------------------------------------------------

Comment By: Stefan Divjak (stdivjak)
Date: 2002-12-08 13:11

Message:
Logged In: YES 
user_id=483131

Just tried to rebuild the other archives: 4 of 21 mbox-files 
can't be rebuilt. There are two kinds of tracebacks:

* "ASCII decoding error" (see above)
* "Lookup error: unknown encoding"

I'll send the archive causing the second kind of traceback 
to Barry, hence it contains somewhat internal information.

----------------------------------------------------------------------

Comment By: Stefan Divjak (stdivjak)
Date: 2002-12-08 11:58

Message:
Logged In: YES 
user_id=483131

Sorry for the long delay. I fiddled around with the 19MB 
mbox file, and cut out the part which causes this error 
(refer to the attached file).

The traceback also appeared using 2.1b5.

----------------------------------------------------------------------

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-09-13 15:47

Message:
Logged In: YES 
user_id=12800

I'm moving the bug report to pending since I haven't seen an
update.  I suspect this is fixed in current cvs.

----------------------------------------------------------------------

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-08-16 17:55

Message:
Logged In: YES 
user_id=12800

Can you upload the .mbox file for the list you're
regenerating?  If not (perhaps because it's proprietary
information), can you make it available for me to look at
privately?


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=593728&group_id=103



More information about the Mailman-Developers mailing list