Can't run mm_cfg.py

Hi.
I'm unable to configure Mailman, because when I edit and run mm_cfg.py ("python ./mm_cfg.py") I get this error:
Traceback (most recent call last): File "./mm_cfg.py", line 44, in ? from Defaults import * ImportError: No module named Defaults
Well, Defaults.py, Defaults.pyo and Defaults.pyc are sitting right there in the current directory. I'm not a Python expert, perhaps that isn't what's being looked for?
I'm running 2.1.5 under Debian Sarge, using Python 2.3.5. Any other information that can help figure this out, please ask.
I have resubscribed to the mailing list, so there's no need to copy me personally on any answers. (I think the old custom of summarizing for mailing lists is finally dead, unfortunately.) I did search the archive and found no mention of this problem.
And I'll be very grateful for any assistance.
Carl Fink carl@finknetwork.com "Patriotism is supporting your country all the time, and your government when it deserves it." - Mark Twain

On Thu, 1 Jun 2006, Carl Fink wrote:
I'm unable to configure Mailman, because when I edit and run mm_cfg.py
You don't run mm_cfg.py You just edit it.
It contains values that are then read by the other programs when they run.
========================================================== Chris Candreva -- chris@westnet.com -- (914) 967-7816 WestNet Internet Services of Westchester http://www.westnet.com/

Carl Fink wrote:
As Christopher said in another reply, you don't run mm_cfg.py, you just edit it. Mailman modules import it.
However, you may wish to run it just to "error check" it, and the above should work, i.e.
cd $prefix/Mailman python ./mm_cfg.py
should be able to import from Defaults, so I don't know what's happening unless you have a base mm_cfg.py from some packager that contains things I don't know about.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On Thu, 1 Jun 2006, Carl Fink wrote:
I'm unable to configure Mailman, because when I edit and run mm_cfg.py
You don't run mm_cfg.py You just edit it.
It contains values that are then read by the other programs when they run.
========================================================== Chris Candreva -- chris@westnet.com -- (914) 967-7816 WestNet Internet Services of Westchester http://www.westnet.com/

Carl Fink wrote:
As Christopher said in another reply, you don't run mm_cfg.py, you just edit it. Mailman modules import it.
However, you may wish to run it just to "error check" it, and the above should work, i.e.
cd $prefix/Mailman python ./mm_cfg.py
should be able to import from Defaults, so I don't know what's happening unless you have a base mm_cfg.py from some packager that contains things I don't know about.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Carl Fink
-
Christopher X. Candreva
-
Mark Sapiro