Problems with lists named like languages

Bug #266306 reported by Pheinlein-users
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Mark Sapiro

Bug Description

"update" has fatal problems with lists named like a
language. Create some lists named "it" (Italian) or
"de" (German) an update will crash:

Updating mailing list: de
Updating the held requests database.
- updating old private mbox file
    looks like you have a really recent CVS
installation...
    you're either one brave soul, or you already ran
me
- updating old public mbox file
    looks like you have a really recent CVS
installation...
    you're either one brave soul, or you already ran
me
- This list looks like it might have <= b4 list
templates around
Traceback (most recent call last):
  File "bin/update", line 789, in ?
    errors = main()
  File "bin/update", line 679, in main
    errors = errors + dolist(listname)
  File "bin/update", line 357, in dolist
    os.rename(o_tmpl, n_tmpl)
OSError: [Errno 2] No such file or directory
make: *** [update] Error 1

(Btw: update crashs if there`s no pending.pck. That
should not happen!)

[http://sourceforge.net/tracker/index.php?func=detail&aid=1418670&group_id=103&atid=100103]

Revision history for this message
Mark Sapiro (msapiro) wrote :

Originator: NO

I don't see either of the problems you mention. I see no problems from the
lack of a pending.pck.

There is clearly a problem with lists named like languages, but the
manifestation I see is for example with a list named 'it' all the templates
get moved from templates/it to lists/it, but nothing crashes. I have fixed
this for the next release.

Revision history for this message
Mark Sapiro (msapiro) wrote :

Originator: NO

Actually, I do see how the "OSError: [Errno 2] No such file or directory"
exception can occur. It will happen if VAR_PREFIX is not equal PREFIX. I've
fixed that too.

I still don't see a pending.pck problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.