[Tilecache] Re solutions issues

chris marx chrismarx at gmail.com
Fri Nov 21 09:51:15 EST 2008


tilecache definitely works with 3.3.1, i just got it going on that last
night. did you see this great blog post?

http://oegeo.wordpress.com/2008/03/10/tilecache-on-windows-part-2-mod_python/#comment-84

it appears that the tilecache files have been updated, i didnt even need to
make the change on line 33-
chris-

On Fri, Nov 21, 2008 at 9:43 AM, Yves Moisan <yves.moisan at boreal-is.com>wrote:

> > compared to mod_python which has a fairly fire-and-forget install
> > under apache.
>
> Well not under windows ...  First thing I did is try to install
> mod_python 3.3.1 (currently the latest mod_python) for Python 2.4 and
> Apache 2.0.x.  Apache wouldn't start.  Logs were not obvious.  Anyway I
> came across a post that mentioned TC didn't work with 3.3.x so I went
> and installed the latest 3.2 (3.2.7).  Now Apache works.
>
> Following the TC readme file, I add the required bits in httpd.conf :
>
> <Directory "...apache2php521/tilecache-2.03/">
>        AddHandler python-program .py
>        PythonHandler TileCache.Service
>        PythonOption TileCacheConfig
> ".../apache2php521/tilecache-2.03/tilecache.cfg"
>    </Directory>
>
> Ellipsis for short.
>
> Then I change tilecache.cgi for tilecache.py in my html file :
>
> var Ikonos_TC = new OpenLayers.Layer.WMS(
>                       "Ikonos",
>                       "http://" + SERVER_BASE_URL +
> ":8292/tilecache/tilecache.py?map=.../mymapfile.map",
>                       {layers: 'Ikonos',
>                        transparent: false,
>                        singleTile: false,
>                          srs: 'EPSG:29194',
>                        format: 'image/jpeg'},
>                       {isBaseLayer: true,
>                        buffer:0,
>                        transitionEffect:'resize'});
>
>
> I get pink tiles.  Pasting the address of one in a new tab, I get :
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
>
> Please contact the server administrator ...
>
> ________________________________________________________________________
> Apache/2.0.54 (Win32) mod_python/3.2.7 Python/2.4.4 PHP/5.2.1
>
> Apache log says :
>
> [Fri Nov 21 09:16:16 2008] [error] make_obcallback: could not import
> mod_python.apache.\n
> [Fri Nov 21 09:16:16 2008] [error] python_handler: no interpreter
> callback found.
> [Fri Nov 21 09:16:16 2008] [error] [client 192.168.5.186]
> python_handler: Can't get/create interpreter., referer: ...
>
> I installed mod_python as per instructions so I'm clueless as to what to
> do next.  Tilecache.cgi worksbut .py doesn't.  Or do I have to move all
> the TC code in htdocs ?
>
> TIA,
>
> YVes
>
>
>
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
>



-- 

Chris Marx
Programmer/Analyst
Cornell Lab of Ornithology
159 Sapsucker Woods Rd.
Ithaca, NY 14850
t. 1.607.254.1142
http://www.birds.cornell.edu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20081121/550afdaf/attachment.html


More information about the Tilecache mailing list