[Mailman-Users] error when upgrading versions

Mark Sapiro msapiro at value.net
Fri May 26 06:12:02 CEST 2006


Jeff DeReus wrote:

>Hello again,
>currently running mailman 2.1.5 on FC3 with sendmail and apache.  doing a
>test configure and install on a copy of my current mailing list
>configuration. I am getting the error
>
>Traceback (most recent call last):
>  File "bin/update", line 50, in ?
>    from Mailman import Utils
>  File "/usr/local/mailman/Mailman/Utils.py", line 344, in ?
>    def MakeRandomPassword(length=mm_cfg.MEMBER_PASSWORD_LENGTH):
>AttributeError: 'module' object has no attribute 'MEMBER_PASSWORD_LENGTH'
>make: *** [update] Error 1
>
>I had configured with
>
>./configure --with-cgi-gid=apache --with-mail-gid=mailman
>/tmp/usr/local/mailman


Should this be

./configure --with-cgi-gid=apache --with-mail-gid=mailman
--prefix=/tmp/usr/local/mailman


>If anyone would have any idea as to the source of this problem, any
>information would be greatly appreciated.


The source of this problem is Defaults.py doesn't have a definition for
MEMBER_PASSWORD_LENGTH (i.e., it's not the proper version) or
mm_cfg.py is missing

from Defaults 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