[Mailman-Users] Hangs when trying to start mailman as root

Mark Sapiro mark at msapiro.net
Tue Sep 25 20:50:18 CEST 2012


Lummoxx wrote:
>
>Hi, thanks for the reply.
>
>[root at openge bin]# head mailmanctl
>#! /usr/bin/python
>
>[root at openge bin]# which python
>/usr/bin/python
>[root at openge bin]# /usr/bin/python
>Python 2.4.3 (#1, Jun 11 2009, 14:09:37)
>[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
>>>> import grp
>>>> print '%r' grp.getgrall()
>  File "<stdin>", line 1
>    print '%r' grp.getgrall()
>                 ^
>SyntaxError: invalid syntax



Sorry, my bad. That should be

>>> print '%r' % grp.getgrall()

Please try again.

-- 
Mark Sapiro <mark at msapiro.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