Chris>      I get the following error when I run change_pw

    Chris>   File "./change_pw", line 90
    Chris>     print >> fd, _(__doc__)
    Chris>            ^
    Chris> SyntaxError: invalid syntax

    Chris> I am unsure as to which version of mailman I have installed.  I
    Chris> also looked at upgrading to the most recent version, but my
    Chris> Redhat 7.3 system has a python interpeter that is to old.

Looks that way.  RH 7.3 comes with Python 1.5.2 which definitely doesn't
have the print >> fd gimmick.  I believe Mailman needs at least 2.1.  Just
download the Python 2.3.3 tarfile, extract it and execute

    ./configure
    make
    make install

from the toplevel directory of the distribution.  (The last step will
probably need to be run as root.)

I think you'll need to reinstall Mailman after that with something like

    export PATH=/usr/local/bin:$PATH
    make clean
    ./configure
    make
    make install

I think that will get the #! lines adjusted to refer to
/usr/local/bin/python instead of /usr/bin/python.

-- 
Skip Montanaro
Got gigs? http://www.musi-cal.com/submit.html
Got spam? http://spambayes.sf.net/
[EMAIL PROTECTED]

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to