[Mailman-Developers] [ mailman-Bugs-648604 ] Crash from "article file missing" error

noreply at sourceforge.net noreply at sourceforge.net
Fri Dec 13 03:57:58 EST 2002


Bugs item #648604, was opened at 2002-12-04 20:51
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=648604&group_id=103

Category: None
Group: 2.1 beta
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Greg Ward (gward)
Assigned to: Nobody/Anonymous (nobody)
Summary: Crash from "article file missing" error

Initial Comment:
If I playfully delete the HTML version of a message and then re-run bin/arch, it crashes:

$ rm -f archives/private/mems-talk/2001-July/005007.html

$ /bin/arch mems-talk
#00000 <E15QYR8-0006UV-00@ute.cnri.reston.va.us>
figuring article archives
2001-July
Updating index files for archive [2001-July]
  Date
  Subject
  Author
  Thread
Computing threaded index
Updating HTML for article 8891
Updating HTML for article 8899
Updating HTML for article 8900
Updating HTML for article 8901
Updating HTML for article 8902
Updating HTML for article 8903
Updating HTML for article 8904
Updating HTML for article 5007
Traceback (most recent call last):
  File "./bin/arch", line 186, in ?
    main()
  File "./bin/arch", line 176, in main
    archiver.close()
  File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 303, in close
    self.update_dirty_archives()
  File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 517, in update_dirty_archives
    self.update_archive(i)
  File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 1072, in update_archive
    self.__super_update_archive(archive)
  File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 425, in update_archive
    self._update_thread_index(archive, arcdir)
  File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 479, in _update_thread_index
    self.update_article(arcdir, article, a1, a3)
  File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 1238, in update_article
    self.message(_("article file %s is missing!")
TypeError: format requires a mapping

To my embarassment, I can't make this simple %s work at all!  Must be some funky I18N thing.  If I remove the _() from the format string, it works.



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

Comment By: Patrick Finnerty (finnertyp)
Date: 2002-12-13 11:57

Message:
Logged In: YES 
user_id=594846

Hi,

I've got the same problem but I don't get how to resolve it. 

arch appears to be trying to index a html file that isn't there.

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

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-12-05 05:53

Message:
Logged In: YES 
user_id=12800

It's an i18n thing.  Strings wrapped in _() can't have bare
%s's, they have to be %(name)s substitutions.

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

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



More information about the Mailman-Developers mailing list