[Mailman-Developers] [ mailman-Bugs-605557 ] language support

noreply@sourceforge.net noreply@sourceforge.net
Fri, 13 Sep 2002 11:38:05 -0700


Bugs item #605557, was opened at 2002-09-06 09:09
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=605557&group_id=103

Category: Web/CGI
Group: 2.1 beta
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Emilio Delgado (popemiko)
Assigned to: Nobody/Anonymous (nobody)
Summary: language support

Initial Comment:
Bug in Mailman version 2.1b3

We're sorry, we hit a bug!

If you would like to help us identify the problem,
please email a copy of this page to the webmaster for
this site with a description of what happened. Thanks!
Traceback:

Traceback (most recent call last):
  File "/var/lib/mailman/scripts/driver", line 82, in
run_main
    main()
  File "/var/lib/mailman/Mailman/Cgi/create.py", line
60, in main
    request_creation(doc)
  File "/var/lib/mailman/Mailman/Cgi/create.py", line
376, in request_creation
    [_(Utils.GetLanguageDescr(L)) for L in langs],
  File "/var/lib/mailman/Mailman/Utils.py", line 599,
in GetLanguageDescr
    return mm_cfg.LC_DESCRIPTIONS[lang][0]
KeyError: admlogin_files



Python information:

Variable Value
sys.version 2.2 (#1, Feb 24 2002, 16:21:58) [GCC 2.96
20000731 (Mandrake Linux 8.2 2.96-0.76mdk)]
sys.executable /usr/bin/python
sys.prefix /usr
sys.exec_prefix /usr
sys.path /usr
sys.platform linux-i386

Environment variables:

Variable Value
HTTP_REFERER http://192.168.1.15/mailman/admin
SERVER_SOFTWARE Apache-AdvancedExtranetServer/1.3.23
(Mandrake Linux/4.1mdk) mod_ssl/2.8.7 OpenSSL/0.9.6c
PHP/4.1.2
PYTHONPATH /var/lib/mailman
SCRIPT_FILENAME /var/lib/mailman/cgi-bin/create
SERVER_ADMIN root@localhost
SCRIPT_NAME /mailman/create
SCRIPT_URI http://infor.unibertsitatea.net/mailman/create
SERVER_SIGNATURE
Apache-AdvancedExtranetServer/1.3.23 Server at
infor.unibertsitatea.net Port 80
REQUEST_METHOD GET
HTTP_HOST 192.168.1.15
SCRIPT_URL /mailman/create
SERVER_PROTOCOL HTTP/1.1
QUERY_STRING
REQUEST_URI /mailman/create
HTTP_ACCEPT
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
HTTP_ACCEPT_CHARSET ISO-8859-1, utf-8;q=0.66, *;q=0.66
HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:0.9.8) Gecko/20020204
HTTP_CONNECTION keep-alive
SERVER_NAME infor.unibertsitatea.net
REMOTE_ADDR 192.168.1.15
REMOTE_PORT 1281
HTTP_ACCEPT_LANGUAGE en-us
SERVER_PORT 80
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT /var/www/html
HTTP_ACCEPT_ENCODING gzip, deflate, compress;q=0.9
SERVER_ADDR 192.168.1.15
HTTP_KEEP_ALIVE 300


----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-09-13 14:38

Message:
Logged In: YES 
user_id=12800

Did you perhaps drop a file called admlogin_files in your
$prefix/templates directory?  That directory should only
contain subdirs for the language templates.

I'll check in a change that will make Mailman less
vulnerable to these problems.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=605557&group_id=103