Description of problem: withlist, a tool provided by mailman for list maintenance, crashes with the error "NameError: global name 'C_' is not defined" Version-Release number of selected component (if applicable): mailman-2.1.9-5 (Fedora 7) mailman-2.1.9-7 (Rawhide) How reproducible: 100% Steps to Reproduce: 1. log in as user 'mailman' (su to root, then "su - mailman --shell /bin/bash") 2. run bin/withlist Actual results: Traceback (most recent call last): File "bin/withlist", line 297, in <module> main() File "bin/withlist", line 236, in main warning = C_('No list name supplied.') NameError: global name 'C_' is not defined Expected results: With no arguments, withlist normally gives a help message Additional info: Apparently the Fedora mailman package patches a lot of instances of _( to C_(. It appears that this hasn't been tested in withlist.
I have a mailing list that is broken, and I desperately need to run fix_url.py on it (using withlist), but currently cannot do so. I tried to manually fix the list by editing its configuration (using config_list to export it, edit, and reimport), but that was not sufficient.
Created attachment 228331 [details] Patch for F-7 I'll test this patch and commit to F-7 and devel. The error seems to be in Mailman for quite a long time. Thanks for reporting.
Your patch solves the problem. Thanks, Tomas!
mailman-2.1.9-5.1 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update mailman'
mailman-2.1.9-8.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update mailman'
mailman-2.1.9-8.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
mailman-2.1.9-5.1 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.