[Tilecache] upgrading to 2.x

Christopher Schmidt crschmidt at metacarta.com
Wed Jan 2 07:40:27 EST 2008


On Wed, Jan 02, 2008 at 09:39:34AM +0100, Bj?rn Harrtell wrote:
> Hi!
> 
> I made some initial tries to upgrade to 2.0 but without success. I get the
> following errors in the apache log:
> [Wed Jan 02 09:22:09 2008] [error] [client x.x.x.x] File "C:\\Program
> Files\\Apache Software
> Foundation\\Apache2.2\\htdocs\\tilecache\\TileCache\\Service.py",
> line 8, in <module>\n    import Cache, Caches
> [Wed Jan 02 09:22:09 2008] [error] [client x.x.x.x] ImportError: No module
> named Caches

Looks like different handling of relative imports on Windows and Linux
-- I haven't tested 2.0 on Windows. You should try adding:

    PythonPath "C:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\tilecache\TileCache"

And seeing what happens.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list