In many parts of the web interface I am getting the same mailman bug:
It started when confirming a subscription through the online interface:

  File "/usr/local/mailman/Mailman/OldStyleMemberships.py", line 312, in
setMemberOption
    self.__mlist.user_options[memberkey] |= flag
  TypeError: unsupported operand type(s) for |=: 'list' and 'int'

I fixed this by changing line 312 from above to :

self.__mlist.user_options[memberkey][0] |= flags

Now I can subscribe, but I get the same typeerror bug after logging
into my options page for this new subscription:

  File "/usr/local/mailman/Mailman/OldStyleMemberships.py", line 128, in
getMemberOption
      return not not (option & flag)
  TypeError: unsupported operand type(s) for &: 'list' and 'int'

Makes sense, fix it too, but I also get the same Typeerror when logging
into the admin page:

  File "/usr/local/mailman/Mailman/Gui/General.py", line 53, in
GetConfigInfo
    optvals = [mlist.new_member_options & bitfields[o] for o in OPTIONS]
  TypeError: unsupported operand type(s) for &: 'list' and 'int'

Is something else wrong, or should I go and fix all these.  

I am running mailman 2.1.4 on debian testing with python2.3

-- 
Marco

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to