[Mailman-Users] problem with new install and mmsitepass

Jim Tittsler jwt at dskk.co.jp
Mon Apr 17 05:09:39 CEST 2000


On Sat, Apr 15, 2000 at 02:09:41PM -0700, Jeff Nelson wrote:
> When I run mmsitepass, I get the following
> series of error messages:
> 
> Traceback (innermost last):
[...]
>   File "/home/mailman/Mailman/mm_cfg.py", line 58
>     IMAGE_LOGOS = /home/httpd/icons/
>                   ^
> SyntaxError: invalid syntax    
> 
> What am I doing wrong???

You have customized your mm_cfg.py file, but made a Python syntax mistake.
To set IMAGE_LOGOS to a literal string, you need to enclose the string in
quotes:
     IMAGE_LOGOS = "/home/httpd/icons/"

Jim

P.S.  And that may not be what you want... since this is used in URLs to the
images, you want the base part of the URL... not of a local pathname.

-- 
Jim Tittsler, Tokyo
Python Starship     http://starship.python.net/crew/jwt/





More information about the Mailman-Users mailing list