Hello Mark,

Very much appreciate your help.

>What is the error message and traceback from Mailman's logs/mailman.log?

The /var/log/mailman/error shows following logs when the issue happens.

~~~~~
Sep 21 15:30:48 2021 admin(10045):
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(10045): [----- Mailman Version: 2.1.29 -----]
admin(10045): [----- Traceback ------]
admin(10045): Traceback (most recent call last):
admin(10045):   File "/usr/lib/mailman/scripts/driver", line 117, in
run_main
admin(10045):     main()
admin(10045):   File "/usr/lib/mailman/Mailman/Cgi/rmlist.py", line 104, in
main
admin(10045):     process_request(doc, cgidata, mlist)
admin(10045):   File "/usr/lib/mailman/Mailman/Cgi/rmlist.py", line 139, in
process_request
admin(10045):     sys.modules[modname].remove(mlist, cgi=1)
admin(10045):   File "/usr/lib/mailman/Mailman/MTA/Postfix.py", line 407,
in remove
admin(10045):     _do_remove(mlist, ALIASFILE, False)
admin(10045):   File "/usr/lib/mailman/Mailman/MTA/Postfix.py", line 398,
in _do_remove
admin(10045):     outfp.close()
admin(10045): AttributeError: 'NoneType' object has no attribute 'close'
admin(10045): [----- Python Information -----]
admin(10045): sys.version     =   2.7.17 (default, Oct 30 2019, 17:37:16)
[GCC 8.3.1 20190507 (Red Hat 8.3.1-4)]
admin(10045): sys.executable  =   /usr/bin/python2
admin(10045): sys.prefix      =   /usr
admin(10045): sys.exec_prefix =   /usr
admin(10045): sys.path        =   ['/usr/lib/mailman/pythonlib',
'/usr/lib/mailman', '/usr/lib/mailman/scripts', '/usr/lib/mailman',
'/usr/lib/python27.zip', '/usr/lib64/python2.7',
'/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk',
'/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload',
'/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/dist-packages']
admin(10045): sys.platform    =   linux2
admin(10045): [----- Environment Variables -----]
admin(10045):   CONTENT_LENGTH: 83
admin(10045):   CONTENT_TYPE: application/x-www-form-urlencoded
admin(10045):   HTTP_COOKIE:
test_list+admin=280200000069da7b4961732800000038653335636265613932326437623334363535326365653665383337356539376235386165343066;
harulist+admin=280200000069f57b4961732800000036363836303166613131383164653264313962386135646265363139353366663936646635326266

admin(10045):   SERVER_NAME: test.example.com
admin(10045):   SERVER_PROTOCOL: HTTP/1.1
admin(10045):   PYTHONPATH: /usr/lib/mailman
admin(10045):   REMOTE_ADDR: 192.168.122.xxx
admin(10045):   REQUEST_SCHEME: http
admin(10045):   SCRIPT_NAME: /mailman/rmlist
admin(10045):   REQUEST_METHOD: POST
admin(10045):   HTTP_HOST: test.example.com
admin(10045):   PATH_INFO: /testlist
admin(10045):   SERVER_PORT: 80
admin(10045):   REMOTE_PORT: 57464
admin(10045):   QUERY_STRING:
admin(10045):   REQUEST_URI: /mailman/rmlist/testlist
admin(10045):   DOCUMENT_ROOT: /var/www/html
~~~~~

This issue happens to not only a specific mailing list, but also happens to
any other ones, too.

>You can delete a list from the command line with Mailman's bin/rmlist
command.

Thanks, will keep this in mind as an alternative.

Best regards,
Masaharu

On Tue, Sep 21, 2021 at 1:32 PM Mark Sapiro <m...@msapiro.net> wrote:

> On 9/20/21 9:11 PM, Masaharu Kawada wrote:
> > Dear Mailman-Users,
> >
> > ---(Issue)---
> > A mailing list can not deleted on its Administrative interface of browser
> > which ends up showing the following error message.
> >
> > ---(Steps to reproduce)---
> > Press "Delete this mailing list(requires confirmation)"  --->  Press
> > "Delete this list"  ---> The error message page pops up on browser.
> >
> > ---(Error message page)---
> > Bug in Mailman version 2.1.29
> >
> > We're sorry, we hit a bug!
> >
> > Please inform the webmaster for this site of this problem. Printing of
> > traceback and other systemd information has been explicitly inhibited,
> but
> > the webmaster can find this information in the Mailman error logs or the
> > web server logs.
>
>
> What is the error message and traceback from Mailman's logs/mailman.log?
>
>
> > Just in case, I checked if the parameter below in /etc/mailman/mm_cfg.py
> is
> > set to "Yes".
> >
> > # grep OWNERS_CAN_DELETE_THEIR_OWN_LISTS /etc/mailman/mm_cfg.py
> > OWNERS_CAN_DELETE_THEIR_OWN_LISTS = Yes
>
>
> And if it weren't Yes, the "Delete this mailing list(requires
> confirmation)" ling would not be there.
>
>
> > Does anyone in the list know what is going on?
>
>
> Not without the error and traceback from the log.
>
> > And, please let me know if
> > you do know how to delete a mailing list properly with no error.
>
>
> You can delete a list from the command line with Mailman's bin/rmlist
> command.
>
>
> --
> Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> ------------------------------------------------------
> Mailman-Users mailing list -- mailman-users@python.org
> To unsubscribe send an email to mailman-users-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-users.python.org/
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives:
> https://www.mail-archive.com/mailman-users@python.org/
>     https://mail.python.org/archives/list/mailman-users@python.org/
>
>

-- 

Masaharu Kawada
Senior Technical Support Engineer
Red Hat K K
Ebisu Neonato 3F, 5F, 8F
1-18 Ebisu 4-chome, Shibuya-ku
Tokyo 150-0013, Japan
Direct: +81-3-5798-8347
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to