Mailman 2.0.6 on Mac OS X Server 10.0.4/Python 2.1

Matt MacInnis macinnis at thecrimson.com
Thu Aug 2 19:04:18 EDT 2001


Hey, all. I'm running Python 2.1 on Mac OS X Server 10.0.4 (that's
basically just BSD) and have successfully installed Mailman 2.0.6.

Python works fine--this doesn't seem to be directly related to Python.
I get the "Bug in Mailman version 2.0.6. We're sorry, we hit a bug!"
message when I try to access admin pages. Executing any of the python
scripts from the command line works (in the sense that it gives the
"bad GID" HTML output).

I am hoping that someone more familiar with Python and/or the Mailman
source will be able to read the following log output and say "Oh,
that's just a permissions error." or something! :)

Thanks in advance to anyone who helps me.

The error log gives me this (I have removed the URL of the server just
to be safe):

Aug 02 18:56:42 2001 admin(18364):
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(18364): [----- Mailman Version: 2.0.6 -----]
admin(18364): [----- Traceback ------]
admin(18364): Traceback (most recent call last):
admin(18364):   File "/Users/mailman/scripts/driver", line 96, in
run_main
admin(18364):     main()
admin(18364):   File "/Users/mailman/Mailman/Cgi/admin.py", line 83,
in main
admin(18364):     cgidata = cgi.FieldStorage(keep_blank_values=1)
admin(18364):   File "/Users/mailman/Mailman/pythonlib/cgi.py", line
503, in __init__
admin(18364):     self.read_urlencoded()
admin(18364):   File "/Users/mailman/Mailman/pythonlib/cgi.py", line
575, in read_urlencoded
admin(18364):     qs = self.fp.read(self.length)
admin(18364): IOError: [Errno 9] Bad file descriptor
admin(18364): [----- Python Information -----]
admin(18364): sys.version    = 2.1 (#4, 05/17/01, 18:34:21)
[GCC Apple DevKit-based CPP 6.0alpha]
admin(18364): sys.executable = /usr/local/bin/python
admin(18364): sys.prefix     = /usr/local
admin(18364): sys.exec_prefix= /usr/local
admin(18364): sys.path       = /usr/local
admin(18364): sys.platform   = darwin1
admin(18364): [----- Environment Variables -----]
admin(18364):   DOCUMENT_ROOT: /Library/WebServer/Documents
admin(18364):   SERVER_ADDR: 128.103.29.111
admin(18364):   QUERY_STRING:
admin(18364):   CONTENT_TYPE: application/x-www-form-urlencoded
admin(18364):   PATH_TRANSLATED:
/Library/WebServer/Documents/crimeds-l
admin(18364):   HTTP_ACCEPT: */*
admin(18364):   __CF_USER_TEXT_ENCODING: 0x46:0:0
admin(18364):   SERVER_PROTOCOL: HTTP/1.1
admin(18364):   HTTP_ACCEPT_LANGUAGE: en
admin(18364):   GATEWAY_INTERFACE: CGI/1.1
admin(18364):   SERVER_PORT: 16080
admin(18364):   HTTP_CONNECTION: Keep-Alive
admin(18364):   HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 5.0;
Mac_PowerPC)
admin(18364):   CONTENT_LENGTH: 44
admin(18364):   REQUEST_URI: /mailman/admin/crimeds-l
admin(18364):   SERVER_NAME: <server name>
admin(18364):   HTTP_UA_CPU: PPC
admin(18364):   HTTP_EXTENSION: Security/Remote-Passphrase
admin(18364):   SCRIPT_FILENAME: /Users/mailman/cgi-bin/admin
admin(18364):   PATH_INFO: /crimeds-l
admin(18364):   HTTP_HOST: <server name>
admin(18364):   REQUEST_METHOD: POST
admin(18364):   SERVER_SIGNATURE: <ADDRESS>Apache/1.3.19 Server at
<server name> Port 16080</ADDRESS
>

admin(18364):   SCRIPT_NAME: /mailman/admin
admin(18364):   SERVER_SOFTWARE: Apache/1.3.19 (Darwin)
admin(18364):   PYTHONPATH: /Users/mailman
admin(18364):   HTTP_REFERER: http://<the
server>/mailman/admin/crimeds-l
admin(18364):   REMOTE_ADDR: <removed from posting>
admin(18364):   REMOTE_PORT: <removed from posting>
admin(18364):   HTTP_UA_OS: MacOS


-Matt MacInnis
-macinnis at thecrimson.com



More information about the Python-list mailing list