[Mailman-Users] admin notifications for held messages

Saurav Pathak saurav at sas.upenn.edu
Thu Oct 9 18:55:23 CEST 2003


i am still struggling to find out what caused the error.  after all
i have just added one line to Default.py.  why should it complain
about the version number?  i would appreciate it if someone could
give me some pointers.

anyway, this would be a nice feature in mailman.  i hope it will no
longer be a patch in the next version.

thanks,
saurav



Thus spake Saurav Pathak:

+  
+  
+  
+  Thus spake Richard Barrett:
+  
+  +  As it stands, the patch has to be applied to the Mailman source  
+  +  distribution and there are only versions for MM 2.1.2 and MM 2.1.3
+  +  
+  +  That said, it will probably work with earlier versions of MM 2.1 or can  
+  +  be trivially adapted to work with them. The code changes themselves are  
+  +  really quite small and could be added by hand to an installed system if  
+  +  you really wanted to.
+  
+  thanks for the patch.  i added the patch by hand, but got the
+  following error while trying to access the admin webpage:
+  
+  --------------
+  Bug in Mailman version <undetermined>
+  
+  We're sorry, we hit a bug!
+  
+  If you would like to help us identify the problem, please email a
+  copy of this page to the webmaster for this site with a description
+  of what happened. Thanks!
+  Traceback:
+  
+  Traceback (most recent call last):
+    File "/var/mailman/scripts/driver", line 114, in print_traceback
+      from Mailman.mm_cfg import VERSION
+  ImportError: cannot import name VERSION
+  --------------
+  
+  i donot understand why i should be getting this. 
+  
+  instead of the patches in all the files, I decided to add it in the
+  Default.py alone.  With all the other files as they were, and only
+  the Default.py patched, i still get the error.  
+  
+  saurav
+  ps: the patch i am applying is:
+  
+  --------------
+  diff -r -u -P mailman-2.1.2/Mailman/Defaults.py.in
+  mailman-2.1.2-mod/Mailman/Defaults.py.in
+  --- mailman-2.1.2/Mailman/Defaults.py.in        Sun Apr 20 05:02:03 2003
+  +++ mailman-2.1.2-mod/Mailman/Defaults.py.in    Wed Jun 25 15:49:37 2003
+  @@ -934,7 +934,9 @@
+   # Check for administrivia in messages sent to the main list?
+   DEFAULT_ADMINISTRIVIA = Yes
+   
+  -
+  +# Should the body of a message requiring moderation be included in the
+  +# request to the moderator(s)
+  +DEFAULT_MODERATE_INC_BODY = Yes
+   ^L
+   #####
+   # Digestification defaults.  Same caveat applies here as with list defaults.
+  --------------
+  
+  ------------------------------------------------------
+  Mailman-Users mailing list
+  Mailman-Users at python.org
+  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: saurav at sas.upenn.edu
+  Unsubscribe or change your options at
+  http://mail.python.org/mailman/options/mailman-users/saurav%40sas.upenn.edu

-- 
saurav




More information about the Mailman-Users mailing list