[Mailman-Users] Strange errors

Mark Sapiro msapiro at value.net
Wed Oct 19 19:24:52 CEST 2005


Dan Szkola wrote:

>Patched the admin script as suggested. When I saw the error this 
>morning, I emailed
>to the admin address of our test list. Here is what I got:
>
>   ----- Transcript of session follows -----
>PYTHONPATH /usr/local/mailman

I wouldn't have expected this, but I don't think it should matter.

What do you get if you add to the patch as follows

--- admin       2005-10-14 16:31:42.078125000 -0700
+++ admin_patched       2005-10-19 10:21:51.328125000 -0700
@@ -25,8 +25,16 @@
 """

 import sys
+from os import environ
+for env_var in environ:
+    print env_var, environ[env_var]
+for s_path in sys.path:
+    print 'before =', s_path

 import paths
+for s_path in sys.path:
+    print 'after =', s_path
+
 from Mailman import mm_cfg
 from Mailman import Utils
 from Mailman.i18n import _



-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list