mailman-cvs broke config_list

I updated to CVS a few days ago and I'm now getting this:
Traceback (most recent call last): File "/var/local/mailman/bin/config_list", line 270, in ? main() File "/var/local/mailman/bin/config_list", line 262, in main do_output(listname, outfile) File "/var/local/mailman/bin/config_list", line 114, in do_output do_list_categories(mlist, k, None, outfp) File "/var/local/mailman/bin/config_list", line 163, in do_list_categories lines = value.replace('\r', '').split('\n') AttributeError: replace
-- Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key

Yeah, I sent this a couple of weeks ago, but Barry missed it I guess:
HEY BARRY!!!! :)
Subject:
Re: [Mailman-Developers] A couple of bugs ...
Date:
Mon, 13 May 2002 14:31:09 -0700 (PDT)
From:
Dan Mick <dmick@utopia.West.Sun.COM>
To:
mailman-developers@python.org, david@midrange.com
Category "contentfilter", variable "filter_mime_types", for me, has a 'list' type (i.e. its value is '[]'), but its type is advertised as mm_cfg.Text (4), which causes that newline replacement algorithm to bite it.
I'm not sure if the assignment of type mm_cfg.Text is wrong, or if config_list needs to handle arrays of Text more gracefully. Barry?
Marc MERLIN wrote:
I updated to CVS a few days ago and I'm now getting this:
Traceback (most recent call last): File "/var/local/mailman/bin/config_list", line 270, in ? main() File "/var/local/mailman/bin/config_list", line 262, in main do_output(listname, outfile) File "/var/local/mailman/bin/config_list", line 114, in do_output do_list_categories(mlist, k, None, outfp) File "/var/local/mailman/bin/config_list", line 163, in do_list_categories lines = value.replace('\r', '').split('\n') AttributeError: replace
-- Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key
Mailman-Developers mailing list Mailman-Developers@python.org http://mail.python.org/mailman-21/listinfo/mailman-developers

"DM" == Dan Mick <dmick@utopia.West.Sun.COM> writes:
DM> I'm not sure if the assignment of type mm_cfg.Text is wrong,
DM> or if config_list needs to handle arrays of Text more
DM> gracefully. Barry?
Actually, config_list had to be taught about the transformations that can happen to attribute values coming from and going to the web interface. I'll spare you guys the details. Sigh. ;)
Anyway, I think I have some patches that fix this, but please take a close look at your config_list -o output and your list's configuration after using config_list -i. I might have screwed up somewhere.
-Barry
participants (3)
-
barry@zope.com
-
Dan Mick
-
Marc MERLIN