[Mailman-Developers] [Bug] guess_type() got an unexpected keyword argument 'strict'
Hi there!
Please Cc me on responses I am not on the list.
Sorry for not using the bug tracker, but somehow it does not like my ancient version of nutscrape.
I decided to move my lists to 2.1 this night. Everything went more or less smooth, but when I wanted to visit the archive of my test-list, I got the error below. I /think/ that it might be due to the recent change in private.py: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mailman/mailman/Mailman/Cgi/private.py.diff?r1=2.16&r2=2.17
Cheers, Gerhard
Traceback (most recent call last): File "/home/vdst.net/mailman/scripts/driver", line 87, in run_main main() File "/home/vdst.net/mailman/Mailman/Cgi/private.py", line 136, in main ctype, enc = mimetypes.guess_type(path, strict=0) TypeError: guess_type() got an unexpected keyword argument 'strict'
sys.version 2.1.1 (#1, Nov 18 2001, 12:16:29) [GCC 2.95.4 20010319 (prerelease)] sys.executable /usr/bin/python sys.prefix /usr sys.exec_prefix /usr sys.path /usr sys.platform linux2
DOCUMENT_ROOT /var/www/doma.in/htdocs SERVER_ADDR 217.115.157.198 REMOTE_HOST helios.physik.uni-freiburg.de SERVER_PORT 80 PATH_TRANSLATED /var/www/doma.in/htdocs/test/ REMOTE_ADDR 132.230.78.135 UNIQUE_ID Pjx3CNlzjV8AAAPpO2s HTTP_ACCEPT_LANGUAGE en PHPRC /etc= GATEWAY_INTERFACE CGI/1.1 SERVER_NAME www.doma.in SCRIPT_FILENAME /home/doma.in/mailman/cgi-bin/private HTTP_ACCEPT_CHARSET iso-8859-1,*,utf-8 HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* REQUEST_URI /mailman/private/test/ QUERY_STRING SERVER_PROTOCOL HTTP/1.0 PATH_INFO /test/ HTTP_HOST list.doma.in REQUEST_METHOD GET SERVER_SIGNATURE Apache/1.3.26 Ben-SSL/1.48 Server at www.doma.in Port 80 SCRIPT_NAME /mailman/private SERVER_ADMIN root@ds217-115-141-95.dedicated.hosteurope.de SERVER_SOFTWARE Apache/1.3.26 Ben-SSL/1.48 (Unix) mod_gzip/1.3.19.1a PHP/4.2.1 HTTP_USER_AGENT Mozilla (X11; I; Linux 2.0.32 i586) PYTHONPATH /home/doma.in/mailman
-- Dipl.-Phys. Gerhard Killesreiter <killesreiter@physik.uni-freiburg.de>
Man soll nciht so tun, als wenn es "neutrale" oder "objektive" Wissenschaften gibt. (Stephan Peters aka Kang0815 in dssv)
Gerhard Killesreiter <killesreiter@physik.uni-freiburg.de> writes:
I decided to move my lists to 2.1 this night.
- I decided to be brave and use cvs if this wasn't obvious.
Cheers, Gerhard
--
Ach! War es Mark Twain, der gesagt hat, daß nur ein Leben reicht nicht, um Deutsch lernen zu können? Woher wußte *der* eigentlich von der Rechtschreibreform? (Holger Kunadt zu João Luiz in desd)
participants (1)
-
Gerhard Killesreiter