I have read some messages about future Mailman NT release. Since I have appreciated Mailman on a IBM AIX system I tried a porting test on NT with following steps: - installed Cygwin 2.0 (www.cygnus.com) - installed Python for Windows with all Windows specific extension - installed Mailman 1.0 b11 - made some minor changes in Mailmal files configure and src/Makefile.in - after some fighting with permissions (I was forced to comment tests on these matters in configuration script and C source code) succeded to ./configure --with-cgi-ext=.exe make install (no errors reported) - configured IIS to create a virtual site on /home/mailman named mailman - called: http://localhost/mailman/cgi-bin/admin.exe Got an error (reported below). It seems Python is not able to locate Mailman modules in /home/mailman/Mailman. However modules are there (in py and pyc format). I tried to go up in erorrs chain but every time the 'driver' script try to import something from Mailman I got the same error. Since I know very little about Python I wonder if anybody can help me. Thanks. ------------------------------------------- Bug in Mailman version <undetermined> 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 (innermost last): File "/home/mailman/scripts/driver", line 135, in print_traceback from Mailman.mm_cfg import VERSION ImportError: No module named Mailman.mm_cfg -------------------------------------------------------------------------------- Environment variables: Variable Value USERPROFILE C:\WINNT\Profiles\Default User HTTP_ACCEPT_ENCODING gzip, deflate REMOTE_HOST 127.0.0.1 HTTPS off OS2LIBPATH C:\WINNT\system32\os2\dll; SERVER_PORT_SECURE 0 SERVER_PORT 80 PATH_TRANSLATED C:\Inetpub\wwwroot PROCESSOR_LEVEL 6 GATEWAY_INTERFACE CGI/1.1 INSTANCE_ID 1 NUMBER_OF_PROCESSORS 1 HTTP_ACCEPT_LANGUAGE en-us PATH c:\agora\servletmanager\jrun\bin;c:\agora\servletmanager\jrun\jre\115\bin;C:\WINNT\system32;C:\WINNT;C:\Program Files\Mts SYSTEMDRIVE C: PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.JS SERVER_NAME localhost HTTP_CONNECTION Keep-Alive PROCESSOR_ARCHITECTURE x86 TERM cygwin WINDIR C:\WINNT HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */* COMPUTERNAME SVIL4 INCLUDE C:\Program Files\Mts\Include SYSTEMROOT C:\WINNT SERVER_PROTOCOL HTTP/1.1 PROCESSOR_REVISION 0502 CONTENT_LENGTH 0 HTTP_HOST localhost REQUEST_METHOD GET PROCESSOR_IDENTIFIER x86 Family 6 Model 5 Stepping 2, GenuineIntel PYTHONPATH /home/mailman LOCAL_ADDR 127.0.0.1 SCRIPT_NAME /mailman/cgi-bin/admin.exe SERVER_SOFTWARE Microsoft-IIS/4.0 HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) OS Windows_NT LIB C:\Program Files\Mts\Lib COMSPEC C:\WINNT\system32\cmd.exe REMOTE_ADDR 127.0.0.1 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ [----- Mailman Version: <undetermined> -----] [----- Traceback ------] Traceback (innermost last): File "/home/mailman/scripts/driver", line 135, in print_traceback from Mailman.mm_cfg import VERSION ImportError: No module named Mailman.mm_cfg [----- Environment Variables -----] USERPROFILE: C:\WINNT\Profiles\Default User HTTP_ACCEPT_ENCODING: gzip, deflate REMOTE_HOST: 127.0.0.1 HTTPS: off OS2LIBPATH: C:\WINNT\system32\os2\dll; SERVER_PORT_SECURE: 0 SERVER_PORT: 80 PATH_TRANSLATED: C:\Inetpub\wwwroot PROCESSOR_LEVEL: 6 GATEWAY_INTERFACE: CGI/1.1 INSTANCE_ID: 1 NUMBER_OF_PROCESSORS: 1 HTTP_ACCEPT_LANGUAGE: en-us PATH: c:\agora\servletmanager\jrun\bin;c:\agora\servletmanager\jrun\jre\115\bin;C:\WINNT\system32;C:\WINNT;C:\Program Files\Mts SYSTEMDRIVE: C: PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.JS SERVER_NAME: localhost HTTP_CONNECTION: Keep-Alive PROCESSOR_ARCHITECTURE: x86 TERM: cygwin WINDIR: C:\WINNT HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */* COMPUTERNAME: SVIL4 INCLUDE: C:\Program Files\Mts\Include SYSTEMROOT: C:\WINNT SERVER_PROTOCOL: HTTP/1.1 PROCESSOR_REVISION: 0502 CONTENT_LENGTH: 0 HTTP_HOST: localhost REQUEST_METHOD: GET PROCESSOR_IDENTIFIER: x86 Family 6 Model 5 Stepping 2, GenuineIntel PYTHONPATH: /home/mailman LOCAL_ADDR: 127.0.0.1 SCRIPT_NAME: /mailman/cgi-bin/admin.exe SERVER_SOFTWARE: Microsoft-IIS/4.0 HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) OS: Windows_NT LIB: C:\Program Files\Mts\Lib COMSPEC: C:\WINNT\system32\cmd.exe REMOTE_ADDR: 127.0.0.1
participants (1)
-
Gianni Sandrucci