[Mailman-Users] Can't run mm_cfg.py

Dragon dragon at crimson-dragon.com
Thu Jun 1 17:30:34 CEST 2006


Mark Sapiro wrote:
>Carl Fink wrote:
> >
> >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
>
>
>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.
---------------- End original message. ---------------------

Yeah, that all seems a bit strange but if he can stop and 
successfully restart his qrunners, then the edits are syntactically 
correct and mailman can at least understand what is there. Whether 
those edits are then lexically and logically correct is another story 
altogether.

Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the Mailman-Users mailing list