[Mailman-Users] New install errors...Cron and mm_cfg.py
ReeprFlame
reeprflame at lifeonedge.com
Fri Jan 23 03:55:41 CET 2004
I have just installed Mailman several times (2.0.13). to try to solve
problems. Here are the 2 that i get every minute that i cannot seem to
solve. This add_vh is really gettin annoyin too as it seems to stay
weather i delete the line or not in mm_cfg.py...
here's the first error:
_________________________________
Cron <mailman at lifeonedge> /usr/bin/python -S /var/mailman/cron/gate_news
----------
Traceback (most recent call last):
File "/var/mailman/cron/gate_news", line 39, in ?
from Mailman import mm_cfg
File "/var/mailman/Mailman/mm_cfg.py", line 49, in ?
add_virtualhost(DEFAULT_URL_HOST,DEFAULT_EMAIL_HOST)
NameError: name 'add_virtualhost' is not defined
________________________________
The second Error:
________________________________
Subject: Cron <mailman at lifeonedge> /usr/bin/python -S
/var/mailman/cron/qrunner
-------
Traceback (most recent call last):
File "/var/mailman/cron/qrunner", line 83, in ?
from Mailman import mm_cfg
File "/var/mailman/Mailman/mm_cfg.py", line 49, in ?
add_virtualhost(DEFAULT_URL_HOST,DEFAULT_EMAIL_HOST)
NameError: name 'add_virtualhost' is not defined
________________________________
and just in case here's the mm_cfg.py file:
_______________________
>From a brand new distribution it should be copied to mm_cfg.py. If you
already have an mm_cfg.py, be careful to add in only the new settings you
want. Mailman's installation procedure will never overwrite your mm_cfg.py
file.
The complete set of distributed defaults, with documentation, are in the file
Defaults.py. In mm_cfg.py, override only those you want to change, after the
from Defaults import *
line (see below).
Note that these are just default settings; many can be overridden via the
administrator and user interfaces on a per-list or per-user basis.
"""
###############################################
# Here's where we get the distributed defaults.
from Defaults import *
##################################################
# Put YOUR site-specific settings below this line.
DEFAULT_URL_HOST='ww2.lifeonedge.com'
DEFAULT_EMAIL_HOST='lifeonedge.com'
add_virtualhost(DEFAULT_URL_HOST,DEFAULT_EMAIL_HOST)
__________________
__________________
-Andrew Ragone
Kc2LTO
lifeonedge.com
More information about the Mailman-Users
mailing list