[Geomoose-users] Print service configuration issue

Clinton Olsen clinton at co.emery.ut.us
Fri Mar 28 10:47:37 EDT 2008


Hi,
 
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
<http://127.0.0.1/cgi-bin/test-cgi-mapscript.py>
http://127.0.0.1/cgi-bin/test-cgi-mapscript.py I received the error below
the Apache error log.
 
Has anyone experienced this before, or know what direction I need to look
for a solution?  Thanks.
 
Apache Error Log
[Fri Mar 28 08:24:17 2008] [error] [client 127.0.0.1] Premature end of
script headers: print.py, referer: http://localhost/geomoose/cemetery.html
[Fri Mar 28 08:24:17 2008] [error] [client 127.0.0.1] Traceback (most recent
call last):\r, referer: http://localhost/geomoose/cemetery.html
[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:
http://localhost/geomoose/cemetery.html
[Fri Mar 28 08:24:17 2008] [error] [client 127.0.0.1]     import
mapscript\r, referer: http://localhost/geomoose/cemetery.html
[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:
http://localhost/geomoose/cemetery.html
[Fri Mar 28 08:24:17 2008] [error] [client 127.0.0.1]     import
_mapscript\r, referer: http://localhost/geomoose/cemetery.html
[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:
http://localhost/geomoose/cemetery.html

test-cgi-mapscript.py error log
<type 'exceptions.ImportError'>	 Python 2.5.1: C:\python25\python.exe
Fri Mar 28 08:34:35 2008	

A problem occurred in a Python script. Here is the sequence of function
calls leading up to the error, in the order they occurred.

 C:\ms4w\Apache\cgi-bin\test-cgi-mapscript.py
<file:///C:/ms4w/Apache/cgi-bin/test-cgi-mapscript.py>  in ()	
    6 cgi.test()
	
    7 
	
    8 import mapscript
	
    9 
	
   10 print "<h2>mapscript module attributes</h2>"
	
mapscript undefined	
 C:\ms4w\Apache\cgi-bin\mapscript.py
<file:///C:/ms4w/Apache/cgi-bin/mapscript.py>  in ()	
    3 # This file is compatible with both classic and new-style classes.
	
    4 
	
    5 import _mapscript
	
    6 import new
	
    7 new_instancemethod = new.instancemethod
	
_mapscript undefined	

<type 'exceptions.ImportError'>: Module use of python24.dll conflicts with
this version of Python. 

 <http://127.0.0.1/cgi-bin/test-cgi-mapscript.py>  
Clinton Olsen
IS/GIS Technician
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20080328/3caea822/attachment.html


More information about the Geomoose-users mailing list