In the past I was able to run python mapscripts, but recently I have been getting a strange error when running scripts:<br><br>[Tue Jul 31 21:45:58 2007] [error] [client 71.241.222.127] Traceback (most recent call last):<br>[Tue Jul 31 21:45:58 2007] [error] [client 71.241.222.127]&nbsp;&nbsp; File "/var/www/cgi-bin/check.py", line 8, in &lt;module&gt;<br>[Tue Jul 31 21:45:58 2007] [error] [client 71.241.222.127]&nbsp;&nbsp;&nbsp;&nbsp; map =&nbsp; mapscript.mapObj(map_path+map_file)<br>[Tue Jul 31 21:45:58 2007] [error] [client 71.241.222.127]&nbsp;&nbsp; File "/usr/lib64/python2.5/site-packages/mapscript.py", line 1219, in __init__<br>[Tue Jul 31 21:45:58 2007] [error] [client 71.241.222.127]&nbsp;&nbsp;&nbsp;&nbsp; this = _mapscript.new_mapObj(*args)<br>[Tue Jul 31 21:45:58 2007] [error] [client 71.241.222.127] _mapscript.MapServerError: msInitGDALOutputFormat(): General error message. No GDAL driver named `GTiff' available.<br>[Tue Jul 31 21:45:58 2007] [error] [client
 71.241.222.127] Premature end of script headers: check.py<br><br>-----------------------------------------------------------------------------------------------------------------------<br>check.py is a very simple test script:<br>#!/usr/bin/python<br><br>import mapscript, string<br>map_path = "/var/www/html/mapserver/"<br>map_file = "third.map"<br>input = open(map_path+map_file, 'r')<br>infile = input.readlines()<br>map =&nbsp; mapscript.mapObj(map_path+map_file)<br>print "Content-type: text/html"<br>print<br>print "&lt;html&gt;"<br>print "&lt;header&gt;&lt;title&gt;Python Mapscript Hello World&lt;/title&gt;&lt;/header&gt;"<br>print "&lt;body&gt;"<br>print string.lower(infile[1])<br>print infile[1]<br>print map.extent<br>print "&lt;/body&gt;"<br>print "&lt;/html&gt;"<br><br>I am able to run this same script from my shell prompt, without getting an error. I am also able to run this script, from my server, if I comment out:<br><br>map =&nbsp;
 mapscript.mapObj(map_path+map_file), and print map.extent<br><br>The error only occurs when I try to use mapscript.mapObj in a script being accessed through my server. Strange!!!<br><br>Jim<br>