[Mailman-Users] Re: [Mailman-Developers] MM 2.0.2: AttributeError: MMAlreadyMember

Detlef Neubauer detlef.neubauer at charite.de
Mon Mar 12 15:35:32 CET 2001


Thomas Wouters <thomas at xs4all.net> writes:

> On Wed, Mar 07, 2001 at 05:11:41PM -0500, Mentor Cana wrote:
> 
> > Here is the error I get when attempting to approve subscription Request on
> > "confirm+approval" list.
> 
> > admin(15231):   File "/opt/home/mailman/Mailman/ListAdmin.py", line 331, in __handlesubscription
> > admin(15231):     except Errors.MMAlreadyMember:
> > admin(15231): AttributeError: MMAlreadyMember
> > ....
> 
> My typo. You can fix it manually by changing line 331 of
> ListAdmin.py to 'except Errors.MMAlreadyAMember:'. Note the extra
> 'A' between 'Already' and 'Member'.

Hello,

i have the same problem and i fix it. But now i get

,----[ log/error ]
| Mar 12 15:19:33 2001 admin(4109): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
| admin(4109): [----- Mailman Version: 2.0.2 -----]
| admin(4109): [----- Traceback ------]
| admin(4109): Traceback (innermost last):
| admin(4109):   File "/home/mailman/scripts/driver", line 96, in run_main
| admin(4109):     main()
| admin(4109):   File "/home/mailman/Mailman/Cgi/admindb.py", line 88, in main
| admin(4109):     HandleRequests(mlist, doc, cgidata)
| admin(4109):   File "/home/mailman/Mailman/Cgi/admindb.py", line 271, in HandleRequests
| admin(4109):     preserve, forward, forwardaddr)
| admin(4109):   File "../Mailman/ListAdmin.py", line 133, in HandleRequest
| admin(4109):     status = self.__handlesubscription(data, value, comment)
| admin(4109):   File "../Mailman/ListAdmin.py", line 330, in __handlesubscription
| admin(4109):     self.ApprovedAddMember(addr, password, digest, lang)
| admin(4109): NameError: lang
| admin(4109): [----- Python Information -----]
| admin(4109): sys.version    = 1.5.2 (#1, Jun  5 2000, 12:50:00)  [GCC egcs-2.91.60 19981201 (egcs-1.1.1 
| admin(4109): sys.executable = /usr/local/bin/python
| admin(4109): sys.prefix     = /usr/local/bin/../stow/python-1.5.2
| admin(4109): sys.exec_prefix= /usr/local/bin/../stow/python-1.5.2
| admin(4109): sys.path       = /usr/local/bin/../stow/python-1.5.2
| admin(4109): sys.platform   = linux2
`----

when i will to approve a new member. The refuse funktion is working.

Sorry for my english.

 Gruß Detlef Neubauer

-- 
PGP-Key auf http://germany.keyserver.net/




More information about the Mailman-Users mailing list