Re: [Mailman-Users] Check_perms reports invalid syntax?

2009-04-06 Thread Mark Sapiro
Bill Christensen wrote:
>
>I'm setting up a new server with Mailman.
>
>After installing I tried
>   bin/check_perms -f
>and got:
>   file "bin/check_perms", line 44
>   '''
>  ^
>Syntax error: invalid syntax
>
>I'm running Python 2.5.1.   My existing server, running Mailman 
>2.1.11/Python 2.3, has the same line and no problems with it.
>
>Any ideas?   Do I need to upgrade or patch Python, and if so which 
>2.5 or better version works with Mailman?


Python 2.5.1 should be file for Mailman 2.1.11 or 2.1.12. There is
nothing about the statement

try:
import paths
except ImportError:
print '''Could not import paths!

This probably means that you are trying to run check_perms from the
source
directory.  You must run this from the installation directory instead.
'''
raise
-

That should throw a syntax error with any Python 2.x version. Is
bin/check_perms garbled somehow. Have you tried diffing it with your
existing server version?

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] Check_perms reports invalid syntax?

2009-04-05 Thread Bill Christensen

Hi all,

I'm setting up a new server with Mailman.

After installing I tried
bin/check_perms -f
and got:
file "bin/check_perms", line 44
'''
   ^
Syntax error: invalid syntax

I'm running Python 2.5.1.   My existing server, running Mailman 
2.1.11/Python 2.3, has the same line and no problems with it.


Any ideas?   Do I need to upgrade or patch Python, and if so which 
2.5 or better version works with Mailman?


thanks

--
Bill Christensen


Green Building Professionals Directory: 
Sustainable Building Calendar: 
Green Real Estate: 
Straw Bale Registry: 
Books/videos/software: 
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9