[Tilecache] Problem with TileCache installation

Ruben Pardo correosig at gmail.com
Mon Sep 17 10:09:45 EDT 2007


I'm using mod_python
i've got a TileCache directory with the Service.py inside of it,

My configuration is:
in httpd.conf :

<Directory /opt/ms/apps/tilecache/>
         AddHandler python-program .py
        PythonHandler TileCache.Service
        PythonOption TileCacheConfig /opt/ms/apps/tilecache/tilecache.cfg
    PythonDebug On
</Directory>

and i've got the next httpd_tile.conf (to configure acces to the tilecache
directory )

Alias /tilecache/ "/opt/ms/apps/tilecache/"

<Directory "/opt/ms/apps/tilecache/">
  AllowOverride None
  Options Indexes FollowSymLinks Multiviews
  Order allow,deny
  Allow from all
</Directory>

thanks,


2007/9/17, Christopher Schmidt <crschmidt at metacarta.com>:
>
> On Mon, Sep 17, 2007 at 02:03:50PM +0200, Ruben Pardo wrote:
> > thanks Chrhis,
> >
> > the error was an incorrect python location in the script (i put
> > #!/usr/local/python/bin instead of #!/usr/local/bin/python ),
> >
> > when i solve this i get  ...  ImportError: No module named
> TileCache.Service
> > do i need to change all python location in every .py file?
> > thanks
>
> I'm confused -- are you using mod_python, or CGI? Does
> /opt/ms/apps/tilecache/ have a TileCache/ directory in it? Is there a
> Service.py file inside there?
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20070917/3f212f8b/attachment.html


More information about the Tilecache mailing list