<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=718502514-28032008>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=718502514-28032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=718502514-28032008>I have been trying
to get the print service to run. I followed all the directions, but when I
tried to print the map I got these errors in the Apache error log. I have
tried researching the error in Google, and the map server pages but I am unable
to find anything. When I ran the test-cgi-mapscript.py script using
the <FONT face="Times New Roman" size=3> </FONT><A class=reference
href="http://127.0.0.1/cgi-bin/test-cgi-mapscript.py"><FONT
face="Times New Roman"
size=3>http://127.0.0.1/cgi-bin/test-cgi-mapscript.py</FONT></A> I received
the error below the Apache error log.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=718502514-28032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=718502514-28032008>Has anyone
experienced this before, or know what direction I need to look for a
solution? Thanks.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=718502514-28032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=718502514-28032008>Apache Error
Log</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2>[Fri Mar 28 08:24:17 2008] [error] [client
127.0.0.1] Premature end of script headers: print.py, referer: <A
href="http://localhost/geomoose/cemetery.html">http://localhost/geomoose/cemetery.html</A><BR>[Fri
Mar 28 08:24:17 2008] [error] [client 127.0.0.1] Traceback (most recent call
last):\r, referer: <A
href="http://localhost/geomoose/cemetery.html">http://localhost/geomoose/cemetery.html</A><BR>[Fri
Mar 28 08:24:17 2008] [error] [client 127.0.0.1] File
"C:/ms4w/Apache/cgi-bin/print.py", line 40, in <module>\r, referer: <A
href="http://localhost/geomoose/cemetery.html">http://localhost/geomoose/cemetery.html</A><BR>[Fri
Mar 28 08:24:17 2008] [error] [client 127.0.0.1] import
mapscript\r, referer: <A
href="http://localhost/geomoose/cemetery.html">http://localhost/geomoose/cemetery.html</A><BR>[Fri
Mar 28 08:24:17 2008] [error] [client 127.0.0.1] File
"C:\\ms4w\\Apache\\cgi-bin\\mapscript.py", line 5, in <module>\r, referer:
<A
href="http://localhost/geomoose/cemetery.html">http://localhost/geomoose/cemetery.html</A><BR>[Fri
Mar 28 08:24:17 2008] [error] [client 127.0.0.1] import
_mapscript\r, referer: <A
href="http://localhost/geomoose/cemetery.html">http://localhost/geomoose/cemetery.html</A><BR>[Fri
Mar 28 08:24:17 2008] [error] [client 127.0.0.1] ImportError: Module use of
python24.dll conflicts with this version of Python.\r, referer: <A
href="http://localhost/geomoose/cemetery.html">http://localhost/geomoose/cemetery.html</A><BR></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2>test-cgi-mapscript.py<SPAN
class=718502514-28032008> error</SPAN> <SPAN
class=718502514-28032008>log</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>
<TABLE cellSpacing=0 cellPadding=2 width="100%" summary=heading border=0>
<TBODY>
<TR bgColor=#6622aa>
<TD vAlign=bottom><FONT face="helvetica, arial"
color=#ffffff><BIG><BIG><STRONG><type
'exceptions.ImportError'></STRONG></BIG></BIG></FONT></TD>
<TD vAlign=bottom align=right><FONT face="helvetica, arial"
color=#ffffff>Python 2.5.1: C:\python25\python.exe<BR>Fri Mar 28 08:34:35
2008</FONT></TD></TR></TBODY></TABLE>
<P>A problem occurred in a Python script. Here is the sequence of function calls
leading up to the error, in the order they occurred.</P>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD bgColor=#d8bbff><BIG> </BIG><A
href="file:///C:/ms4w/Apache/cgi-bin/test-cgi-mapscript.py">C:\ms4w\Apache\cgi-bin\test-cgi-mapscript.py</A>
in <STRONG><MODULE></STRONG>()</TD></TR>
<TR>
<TD><FONT
color=#909090><TT><SMALL> 6</SMALL> cgi.test()<BR></TT></FONT></TD></TR>
<TR>
<TD><FONT
color=#909090><TT><SMALL> 7</SMALL> <BR></TT></FONT></TD></TR>
<TR>
<TD
bgColor=#ffccee><TT><SMALL> 8</SMALL> import mapscript<BR></TT></TD></TR>
<TR>
<TD><FONT
color=#909090><TT><SMALL> 9</SMALL> <BR></TT></FONT></TD></TR>
<TR>
<TD><FONT
color=#909090><TT><SMALL> 10</SMALL> print "<h2>mapscript module attributes</h2>"<BR></TT></FONT></TD></TR>
<TR>
<TD><SMALL><FONT color=#909090>mapscript
<EM>undefined</EM></FONT></SMALL></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD bgColor=#d8bbff><BIG> </BIG><A
href="file:///C:/ms4w/Apache/cgi-bin/mapscript.py">C:\ms4w\Apache\cgi-bin\mapscript.py</A>
in <STRONG><MODULE></STRONG>()</TD></TR>
<TR>
<TD><FONT
color=#909090><TT><SMALL> 3</SMALL> # This file is compatible with both classic and new-style classes.<BR></TT></FONT></TD></TR>
<TR>
<TD><FONT
color=#909090><TT><SMALL> 4</SMALL> <BR></TT></FONT></TD></TR>
<TR>
<TD
bgColor=#ffccee><TT><SMALL> 5</SMALL> import _mapscript<BR></TT></TD></TR>
<TR>
<TD><FONT
color=#909090><TT><SMALL> 6</SMALL> import new<BR></TT></FONT></TD></TR>
<TR>
<TD><FONT
color=#909090><TT><SMALL> 7</SMALL> new_instancemethod = new.instancemethod<BR></TT></FONT></TD></TR>
<TR>
<TD><SMALL><FONT color=#909090>_mapscript
<EM>undefined</EM></FONT></SMALL></TD></TR></TBODY></TABLE>
<P><STRONG><type 'exceptions.ImportError'></STRONG>: Module use of
python24.dll conflicts with this version of Python. <!-- The above is a description of an error in a Python program, formatted
for a Web browser because the 'cgitb' module was enabled. In case you
are not reading this in a Web browser, here is the original traceback:
Traceback (most recent call last):
File "C:/ms4w/Apache/cgi-bin/test-cgi-mapscript.py", line 8, in <module>
import mapscript
File "C:\ms4w\Apache\cgi-bin\mapscript.py", line 5, in <module>
import _mapscript
ImportError: Module use of python24.dll conflicts with this version of Python.
--></P></FONT></DIV>
<DIV><FONT face=Arial size=2><A class=reference
href="http://127.0.0.1/cgi-bin/test-cgi-mapscript.py"><FONT
face="Times New Roman" size=3></FONT></A> </DIV></FONT>
<DIV align=left><FONT face=Arial size=2>Clinton Olsen</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>IS/GIS Technician</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV></BODY></HTML>