Hello there,<div><br></div><div>I'm setting up tilecache under mod_python (running Python 2.5) on apache 2.0.63 on windows XP</div><div><br></div><div>I can't seem to get past am error I've encountered.</div><div>
<br></div><div>I was getting </div><div><pre><span class="Apple-style-span" style="font-size: large;">ImportError: No module named TileCache.Service</span>
</pre><pre><font class="Apple-style-span" size="4"><span class="Apple-style-span" style="font-size: 16px;"><span class="Apple-style-span" style="font-family: arial; white-space: normal; font-size: 13px; ">But some googling informed me to change TileCache.Service to TileCache/Service which only sent me onward into the warm embrace of another error: </span></span></font></pre>
<pre><font class="Apple-style-span" face="arial" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: normal;"><pre><span class="Apple-style-span" style="font-size: large;">ImportError: No module named Caches (<span class="Apple-style-span" style="font-size: 13px; "><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: small;"><a href="http://pastebin.com/f6ff7873a">Complete error here</a><a href="goog_1242050054694">: </a><span class="Apple-style-span" style="white-space: normal; "><span class="Apple-style-span" style="white-space: pre;"><a href="http://pastebin.com/f6ff7873a">http://pastebin.com/f6ff7873a</a></span><span class="Apple-style-span" style="white-space: pre; ">)</span></span></span></font></span></span></pre>
<pre><font class="Apple-style-span" face="arial">My httpd.conf looks like this:<span class="Apple-style-span" style="white-space: normal; "></span></font></pre><pre><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="white-space: normal; "># --------------------- TILECACHE 2.10 ---------------------</span></font></pre>
</span></font></pre></div><div><div>Alias /tc/ "C:/Apache Group/Apache2/htdocs/tilecache210/"</div><div><Directory "C:/Apache Group/Apache2/htdocs/tilecache210/"></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Options +ExecCGI +FollowSymLinks</div>
<div> <span class="Apple-tab-span" style="white-space:pre">        </span>AllowOverride Limit</div><div>ExpiresActive on</div><div>ExpiresDefault "now plus 6 hours"</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>AddHandler python-program .py</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>PythonHandler TileCache.Service </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PythonOption TileCacheConfig 'C:/Apache Group/Apache2/htdocs/tilecache210/tilecache.cfg'</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>PythonPath "['C:\Apache Group\Apache2\htdocs\tilecache210\Tilecache']+sys.path"</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PythonDebug On</div>
<div></Directory></div><div># --------------------- TILECACHE 2.10 END ---------------------</div><div><br></div><div>Any ideas?</div><div><br></div><div>Kind regards from Iceland,</div><div>Gissur Ţórhallsson</div>
<div><br></div><div><br></div></div>