On 1/6/20 10:13 AM, Erwin Schmitz wrote: > > Mailman Administrator Authentication page > (.../cgi-bin/mailman/admin/mailman) > > After entering password and clicking on "Let me in" this message appears : > ------------------------------------ > Bug in Mailman version 2.1.23 > > We're sorry, we hit a bug! > > Please inform the webmaster for this site of this problem. Printing of > traceback and other system information has been explicitly inhibited, > but the webmaster can find this information in the Mailman error logs. > ---------------------------- > > The log (error) contains : > admin(9779): [----- Mailman Version: 2.1.23 -----] > admin(9779): [----- Traceback ------] > admin(9779): Traceback (most recent call last): > admin(9779): File "/var/lib/mailman/scripts/driver", line 117, in > run_main > admin(9779): main() > admin(9779): File "/var/lib/mailman/Mailman/Cgi/admin.py", line 239, > in main > admin(9779): show_results(mlist, doc, category, subcat, cgidata) > admin(9779): File "/var/lib/mailman/Mailman/Cgi/admin.py", line 465, > in show_results > admin(9779): otherlinks.AddItem(Link(mlist.GetBaseArchiveURL(), > admin(9779): File "/var/lib/mailman/Mailman/Archiver/Archiver.py", > line 143, in GetBaseArchiveURL > admin(9779): hostname = re.match('[^:]*://([^/]*)/.*', url).group(1)\ > admin(9779): AttributeError: 'NoneType' object has no attribute 'group'
The web_page_url attribute of the `mailman` list does not look like `http(s)://host.name/...` > Via listinfo (left below screen shows : > List Description > Mailman [no description available] (Why should this be a list?) Every Mailman 2.1 installation must have a site list, usually named `mailman`. > click on Mailman (lnks to .../cgi-bin/mailman/admin/mailman) > > admin(9744): [----- Mailman Version: 2.1.23 -----] > admin(9744): [----- Traceback ------] > admin(9744): Traceback (most recent call last): > admin(9744): File "/var/lib/mailman/scripts/driver", line 117, in > run_main > admin(9744): main() > admin(9744): File "/var/lib/mailman/Mailman/Cgi/listinfo.py", line 77, > in main > admin(9744): list_listinfo(mlist, language) > admin(9744): File "/var/lib/mailman/Mailman/Cgi/listinfo.py", line > 181, in list_listinfo > admin(9744): replacements = mlist.GetStandardReplacements(lang) > admin(9744): File "/var/lib/mailman/Mailman/HTMLFormatter.py", line > 400, in GetStandardReplacements > admin(9744): '<mm-archive>' : self.FormatArchiveAnchor(), > admin(9744): File "/var/lib/mailman/Mailman/HTMLFormatter.py", line > 336, in FormatArchiveAnchor > admin(9744): return '<a href="%s">' % self.GetBaseArchiveURL() > admin(9744): File "/var/lib/mailman/Mailman/Archiver/Archiver.py", > line 143, in GetBaseArchiveURL > admin(9744): hostname = re.match('[^:]*://([^/]*)/.*', url).group(1)\ > admin(9744): AttributeError: 'NoneType' object has no attribute 'group' > admin(9744): [----- Python Information -----] > > Questions: > Why is the link "Mailman" shown on the screen, only public lists should > be shown The `mailman` list is probably public. > Why is this shown as "Mailman", which is not a 'normal' mailinglist. Yes it is. It is the site list which is a list like any other. See <https://www.list.org/mailman-install/site-list.html> > How to solve this. Possibly running fix_url will fix this. /path/to/mailman/bin/withlist -l -r fix_url mailman That should allow you to access the listinfo and admin pages for this list and you can then set its Privacy options... -> Subscription rules -> advertised to No. You will probably need to use the site password to log in to the admin page. If you don't have one, you can set it via /path/to/mailman/bin/mmsitepass PASSWORD or you can set a list password via /path/to/mailman/bin/change_pw -l mailman -q -p PASSWORD -- 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 https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org