<div dir="ltr">Well, finaly, I tried other things and I obtained a more comprehensive error message&nbsp; :<br><pre>No module named osgeo.gdal<br></pre>What I understand is the module can&#39;t be found. So It&#39;s an installation problem.<br>
I followed instructions given for the installation process and I have installe gdal-python on my debian etch.<br>Any idea ?<br><br>Lionel<br><br><div class="gmail_quote">2008/10/3 lionel b <span dir="ltr">&lt;<a href="mailto:lionel.bargeot@gmail.com">lionel.bargeot@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I would like to use GDAL direct raster source reading possibility.<br>
I use a debian etch and I need to use FWTools library (ECW support).<br>
I&#39;ve downloaded tilecache2.04 and untar in cgi-bin directory.<br>
<br>
I&#39;ve configured my tilecache.cfg like this :<br>
<br>
[test02]<br>
type=GDAL<br>
file=/var/ortho2/tilecache/01.vrt<br>
bbox=780000,2070000,900000,2175000<br>
<br>
where 01.vrt is a gdal virtual dataset and I tested it whith gdalinfo (FWTools)<br>
<br>
# python ./tilecache_seed.py <a href="http://localhost/cgi-bin/tilecache.cgi" target="_blank">http://localhost/cgi-bin/tilecache.cgi</a> test02 1 3<br>
Traceback (most recent call last):<br>
&nbsp;File &quot;./tilecache_seed.py&quot;, line 9, in ?<br>
 &nbsp; TileCache.Client.main()<br>
&nbsp;File &quot;/usr/lib/cgi-bin/tilecache/TileCache/Client.py&quot;, line 104, in main<br>
 &nbsp; layer = svc.layers[sys.argv[2]]<br>
KeyError: &#39;test02&#39;<br>
<br>
I tried to force using python in FWTools both in tilecahe_seed and tilecache.cgi (I edited the first line of the file to point to the FWTools python file).<br>
<br>
I&#39;ve got the same error message. Have i missed something ?<br>
Thanks<br><font color="#888888">
<br>
Lionel<br>
<br>
<br>
<br>
<br>
</font></blockquote></div><br></div>