[Mailman-Users] command line tool to list ban_list, discard_these_nonmembers, accept_these_nonmembers, etc

Matthew Needham mneedham at hdfgroup.org
Mon Jul 11 11:35:17 EDT 2016


Mark,

> On Jul 8, 2016, at 17:39 PM, Mark Sapiro <mark at msapiro.net> wrote:
> 
> On 7/8/16 10:11 AM, Matthew Needham wrote:
>> Is there a succinct way to list "auxiliary" addresses that are configured in a list? By "auxiliary" I'm referring to addresses other than member, owner, or moderator, since those are easy to find with list_owners and find_members.
> 
> Since it was trivial to do, I just created
> <https://www.msapiro.net/scripts/list_etc.py>. Try it.


Thanks! However, I'm seeing "ValueError: zero length field name in format" whether I run it for all lists or one:

[root at lw4 mailman]# ./bin/withlist -a -r list_etc
Importing list_etc...
Running list_etc.list_etc()...
Loading list hdf5lib_lists.hdfgroup.org (unlocked)
Traceback (most recent call last):
  File "./bin/withlist", line 299, in <module>
    main()
  File "./bin/withlist", line 274, in main
    r = [do_list(listname, args, func) for listname in Utils.list_names()]
  File "./bin/withlist", line 202, in do_list
    return func(m, *args)
  File "/usr/local/cpanel/3rdparty/mailman/bin/list_etc.py", line 29, in list_etc
    print('List:{}'.format(mlist.real_name))
ValueError: zero length field name in format
Finalizing

[root at lw4 mailman]# ./bin/withlist -r list_etc hdf-forum_lists.hdfgroup.org
Importing list_etc...
Running list_etc.list_etc()...
Loading list hdf-forum_lists.hdfgroup.org (unlocked)
Traceback (most recent call last):
  File "./bin/withlist", line 299, in <module>
    main()
  File "./bin/withlist", line 277, in main
    r = do_list(listname, args, func)
  File "./bin/withlist", line 202, in do_list
    return func(m, *args)
  File "/usr/local/cpanel/3rdparty/mailman/bin/list_etc.py", line 29, in list_etc
    print('List:{}'.format(mlist.real_name))
ValueError: zero length field name in format
Finalizing


Have I missed something?

Thanks again.

-- 

Matthew Needham
mneedham at hdfgroup.org
217-531-6110

The HDF Group
1800 South Oak Street, Suite 203
Champaign, IL 61820



More information about the Mailman-Users mailing list