[Tilecache] Segmentation fault ERROR when run tilecache_seed.py
petrus-v
petrus-v at hotmail.fr
Wed Dec 9 18:04:38 EST 2009
Hi all,
I'm getting the same error.
the install success and I get tile when I visit:
http://example.com/yourdir/tilecache.cgi/1.0.0/basic/0/0/0.png
then I test a Mapnik layer
tilecache.cfg:
[basic_mapnik]
type=MapnikLayer
mapfile=/var/www/wms/data/xml_mapnik/world/world_styles.xml
which refer to a simple example from mapnik using borderline
world_styles.xml:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map bgcolor="steelblue" srs="+proj=latlong +datum=WGS84">
<Style name="My Style">
<Rule>
<PolygonSymbolizer>
<CssParameter name="fill">#f2eff9</CssParameter>
</PolygonSymbolizer>
<LineSymbolizer>
<CssParameter name="stroke">rgb(90%,50%,20%)</CssParameter>
<CssParameter name="stroke-width">0.1</CssParameter>
</LineSymbolizer>
</Rule>
</Style>
<Layer name="world" srs="+proj=latlong +datum=WGS84">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">shape</Parameter>
<Parameter
name="file">/var/www/wms/data/shp/world/world_borders</Parameter>
</Datasource>
</Layer>
</Map>
then I visit:
http://example.com/yourdir/tilecache.cgi/1.0.0/basic_mapnik/0/0/0.png
And I get error 500: Internal Server Error
find in the error.log: [Wed Dec 09 23:41:59 2009] [error] [client
192.168.1.135] Premature end of script headers: tilecache.cgi
so I install every things to get TileCache Running Standalone under WSG
then I visit: http://hostname:8080/1.0.0/basic/0/0/0.png I get tile
and change to my mapnik layer
http://hostname:8080/1.0.0/basic_mapnik/0/0/0.png
In the console get the "Segmentation fault" and the server is down...
I also get the error on seeding tile when I run the command:
tilecache_seed.py
Is someone have any idea?
this is my config:
ubuntu server 9.10 (64-bit)
tilecache2.10
Alphatran wrote:
>
> Dear all members of TileCache Board,
>
> The last time, I configure and run TileCache perfectly. But I'm not lucky
> at this time
>
> When I run the command: tilecache_seed.py mytilecachelayername 0 5
>
> It said: "Segmentation fault", no more no less !
>
> I have search through the www but this error may be not popular. I hope
> you have experienced on this problem
>
> Please help me!
>
--
View this message in context: http://n2.nabble.com/Segmentation-fault-ERROR-when-run-tilecache-seed-py-tp3609752p4142627.html
Sent from the TileCache mailing list archive at Nabble.com.
More information about the Tilecache
mailing list