Since upgrading to Mailman 2.1.4 from v2.0.8 I have been getting the below errors in the log whenever a non-member tries to access a non existing account. They are also presented with the "we've hit a bug" screen which also displays the below information. Is there some process that I can run to convert all of the "old style memberships" to whatever Mailman wants to stop this and have the person just get a screen that says he's not subscribed? Tim @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(19326): [----- Mailman Version: 2.1.4 -----] admin(19326): [----- Traceback ------] admin(19326): Traceback (most recent call last): admin(19326): File "/var/mailman/scripts/driver", line 87, in run_main admin(19326): main() admin(19326): File "/var/mailman/Mailman/Cgi/options.py", line 226, in main admin(19326): password, user): admin(19326): File "/var/mailman/Mailman/SecurityManager.py", line 220, in WebAuthenticate admin(19326): ok = self.CheckCookie(ac, user) admin(19326): File "/var/mailman/Mailman/SecurityManager.py", line 300, in CheckCookie admin(19326): ok = self.__checkone(c, authcontext, user) admin(19326): File "/var/mailman/Mailman/SecurityManager.py", line 310, in __checkone admin(19326): key, secret = self.AuthContextInfo(authcontext, user) admin(19326): File "/var/mailman/Mailman/SecurityManager.py", line 105, in AuthContextInfo admin(19326): secret = self.getMemberPassword(user) admin(19326): File "/var/mailman/Mailman/OldStyleMemberships.py", line 102, in getMemberPassword admin(19326): raise Errors.NotAMemberError, member admin(19326): NotAMemberError: xxxxx@sbcglobal.net
Speedy Gonzalis wrote:
Since upgrading to Mailman 2.1.4 from v2.0.8 I have been getting the below errors in the log whenever a non-member tries to access a non existing account. They are also presented with the "we've hit a bug" screen which also displays the below information.
Is there some process that I can run to convert all of the "old style memberships" to whatever Mailman wants to stop this and have the person just get a screen that says he's not subscribed?
<snip>
admin(19326): File "/var/mailman/Mailman/SecurityManager.py", line 105, in AuthContextInfo admin(19326): secret = self.getMemberPassword(user) admin(19326): File "/var/mailman/Mailman/OldStyleMemberships.py", line 102, in getMemberPassword admin(19326): raise Errors.NotAMemberError, member admin(19326): NotAMemberError: xxxxx@sbcglobal.net
I see these and similar error traces occasionally in a "new" Mailman 2.1.4 installation. I don't know if they occur in 2.1.5 or not, but I think it is a real bug in 2.1.4. It has nothing to do with "old style memberships". According to comments at least in OldStyleMemberships.py, it is used for 2.1.x memberships, and my installation has no pre-2.1.4 lists.
I think (but I'm not sure) that these errors occur when the user has an "unexpected" login cookie. I.e. the user has already logged in to another list and then tries to check options or visit private archives for a different list or has logged in to one subscription (e-mail address) on the current list and then tries to check options for another subscription.
In any case, the "memberships" should have been converted automatically by bin/update during the upgrade process. You can always try running bin/update again, but I don't think it will make any difference.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Speedy Gonzalis