Hello...  just ran into an issue after what I thought was a successful
routine update to mailman 2.1.36 (from .29? iirc) on Friday.
Everything seemed fine after the update (following the
config/make/make install) and I hadn't had occasion to log into the
admin interface until today when I hit this (apparent) bug. Mail is
being received and delivered just fine. The subscriber interface
appears working.

Simply trying to log into the Admindb user interface... entered my
password and receive 
"Bug in Mailman version 2.1.36
We're sorry, we hit a bug!"

Don't see any obvious permissions errors, nor does check_perms return
anything.

Below is the log output from Mailman error log. Nothing interesting in
the httpd log. Thanks for any pointers!

Nov 15 15:30:58 2021 admin(30830):
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
admin(30830): [----- Mailman Version: 2.1.36 -----] 
admin(30830): [----- Traceback ------] 
admin(30830): Traceback (most recent call last):
admin(30830):   File "/usr/local/mailman/scripts/driver", line 117, in
run_main
admin(30830):     main()
admin(30830):   File "/usr/local/mailman/Mailman/Cgi/admindb.py", line
342, in main
admin(30830):     print doc.Format()
admin(30830):   File "/usr/local/mailman/Mailman/htmlformat.py", line
352, in Format
admin(30830):     output.append(Container.Format(self, indent))
admin(30830):   File "/usr/local/mailman/Mailman/htmlformat.py", line
267, in Format
admin(30830):     output.append(HTMLFormatObject(item, indent))
admin(30830):   File "/usr/local/mailman/Mailman/htmlformat.py", line
53, in HTMLFormatObject
admin(30830):     return item.Format(indent)
admin(30830):   File "/usr/local/mailman/Mailman/htmlformat.py", line
445, in Format
admin(30830):     % csrf_token(self.mlist, self.contexts, self.user)
admin(30830):   File "/usr/local/mailman/Mailman/CSRFcheck.py", line
53, in csrf_token
admin(30830):     mac = sha_new(secret + issued).hexdigest()
admin(30830): TypeError: unsupported operand type(s) for +: 'NoneType'
and 'str'
admin(30830): [----- Python Information -----] 
admin(30830): sys.version     =   2.7.5 (default, Aug 13 2020,
02:51:10) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] 
admin(30830): sys.executable  =   /usr/bin/python 
admin(30830): sys.prefix      =   /usr 
admin(30830): sys.exec_prefix =   /usr 
admin(30830): sys.path        =   ['/usr/local/mailman/pythonlib',
'/usr/local/mailman', '/usr/local/mailman/scripts',
'/usr/lib64/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',
'/usr/lib64/python2.7/site-packages',
'/usr/lib64/python2.7/site-packages/gtk-2.0',
'/usr/lib64/python2.7/site-packages',
'/usr/lib/python2.7/site-packages', '/usr/lib/site-python'] 
admin(30830): sys.platform    =   linux2 
admin(30830): [----- Environment Variables -----] 
admin(30830):   CONTENT_LENGTH: 41 
admin(30830):   CONTENT_TYPE: application/x-www-form-urlencoded 
admin(30830):   SERVER_NAME: list.listdomain.com 
admin(30830):   REMOTE_ADDR: 67.253.227.163 
admin(30830):   PYTHONPATH: /usr/local/mailman 
admin(30830):   REMOTE_PORT: 3777 
admin(30830):   REQUEST_SCHEME: http 
admin(30830):   SCRIPT_NAME: /mailman/admindb 
admin(30830):   REQUEST_METHOD: POST 
admin(30830):   HTTP_HOST: list.list_domain.com 
admin(30830):   PATH_INFO: /list_name
admin(30830):   SERVER_PORT: 80 
admin(30830):   SERVER_PROTOCOL: HTTP/1.1 
admin(30830):   QUERY_STRING:  
admin(30830):   REQUEST_URI: /mailman/admindb/list_name
admin(30830):   HTTP_COOKIE:  
admin(30830):   DOCUMENT_ROOT: /var/www/html/list.list_domain.com 
------------------------------------------------------
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