
Hello list,
I've been working on this for 4 days and haven't been able to resolve it.
System with Fedora Core3 installed. All patched up FQDN is stinson3.amys-answers.com hostname is stinson3 modified the mm_cfg.py to reflect changes
I will say that I'm completely new to the linux OS. I've been running NT and LISTSERV since 1997, but I wanted to be able to run discussion lists in tandem with one of my web sites, so I'm looking at Mailman.
Here is what I get:
Bug in Mailman version 2.1.5
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 "/usr/lib/mailman/scripts/driver", line 63, in run_main
from Mailman.Logging.StampedLogger import StampedLogger
File "/usr/lib/mailman/Mailman/Logging/StampedLogger.py", line 20, in ?
from Mailman.Logging.Logger import Logger
File "/usr/lib/mailman/Mailman/Logging/Logger.py", line 24, in ?
from Mailman import mm_cfg
File "/usr/lib/mailman/Mailman/mm_cfg.py", line 81, in ?
DEFAULT_URL_HOST = stinson3.amys-answers.com
NameError: name 'stinson3' is not defined
Fedora installs Mailman differently than what any of the Mailman instructions say, but I've been able to find all the necessary files. I have no idea where it's getting the information to throw the error. Where do I "define" the DEFINE_URL_HOST except in the mm_cfg.py file?
Any help would be appreciated.
Tzaia

Tzaia wrote:
Traceback (most recent call last): File "/usr/lib/mailman/scripts/driver", line 63, in run_main from Mailman.Logging.StampedLogger import StampedLogger File "/usr/lib/mailman/Mailman/Logging/StampedLogger.py", line 20, in ? from Mailman.Logging.Logger import Logger File "/usr/lib/mailman/Mailman/Logging/Logger.py", line 24, in ? from Mailman import mm_cfg File "/usr/lib/mailman/Mailman/mm_cfg.py", line 81, in ? DEFAULT_URL_HOST = stinson3.amys-answers.com NameError: name 'stinson3' is not defined
The mm_cfg.py line 81 should be
DEFAULT_URL_HOST = 'stinson3.amys-answers.com'
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 26 Feb 2005 at 8:09, Mark Sapiro wrote:
The mm_cfg.py line 81 should be
DEFAULT_URL_HOST = 'stinson3.amys-answers.com'
Hi Mark,
I now know that. Is there any way to add the necessity for quotes to the documentation?
The documentation suggests that you need to have an understanding of python syntax,
when an example will work just as well for those of us who aren't programmers and don't
plan to be.
Amy

Tzaia wrote:
Is there any way to add the necessity for quotes to the documentation?
The documentation suggests that you need to have an understanding of python syntax, when an example will work just as well for those of us who aren't programmers and don't plan to be.
Could you be more specific as to the documentation you're looking at. The only documentation I'm aware of is the INSTALL document that is part of the source distribution, the manual at http://www.list.org/mailman-install/index.html (and mirrors) and the Defaults.py file. Both of the former documents just tell you to check the settings in Defaults.py and change them if necessary in mm_cfg.py. The actual settings in Defaults.py have the quotes. So if you could tell us what specifically led you astray and if it is under control of the Mailman developers, we can try to get it fixed.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Mark Sapiro
-
Tzaia
-
Tzaia