[Tilecache] TileCache problem
CaSC
casc84ab at gmail.com
Mon Oct 27 07:53:09 EDT 2008
Christopher Schmidt-4 wrote:
>
> On Thu, Oct 23, 2008 at 03:55:12AM -0700, CaSC wrote:
>>
>> Ok, I will try it con CGI, i have all configured like tilecache's page
>> and i
>> have this error_log:
>>
>> [Wed Oct 22 10:24:10 2008] [error] [client 192.168.131.1] TypeError:
>> __init__() got an unexpected keyword argument 'extend_type'
>
> You misspelled extent.
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
>
Ok, I have had all errors fixed (I think). I made a basic request to
tilecache.cgi and i put my tilecache.cfg information:
http://192.168.131.128/tilecache/tilecache.cgi?LAYERS=img&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:23030&BBOX=550000,4300000,560000,4310000&WIDTH=400&HEIGHT=400
[img]
type=MapServerLayer
layers=img
mapfile=/usr/local/apache2/htdocs/wms-server/prueba.map
levels=10
maxResolution=25
metaTile=true
debug=false
srs=EPSG:23030
bbox=550000,44300000,560000,4310000
size=400,400
extension=jpeg
extent_type=loose
And i got this error:
An error occurred: You appear to have a stuck lock. You may wish to remove
the lock named:
/tmp/tilecache/img/00/000/000/000/-01/999/200.jpeg.lck
File "/usr/local/apache2/htdocs/tilecache/TileCache/Service.py", line 290,
in cgiHandler
format, image = service.dispatchRequest( params, path_info, req_method,
host )
File "/usr/local/apache2/htdocs/tilecache/TileCache/Service.py", line 208,
in dispatchRequest
return self.renderTile(tile, params.has_key('FORCE'))
File "/usr/local/apache2/htdocs/tilecache/TileCache/Service.py", line 138,
in renderTile
data = layer.render(tile)
File "/usr/local/apache2/htdocs/tilecache/TileCache/Layer.py", line 426,
in render
self.cache.lock(metatile)
File "/usr/local/apache2/htdocs/tilecache/TileCache/Cache.py", line 20, in
lock
raise Exception("You appear to have a stuck lock. You may wish to remove
the lock named:\n%s" % self.getLockName(tile))
But this directory (/tmp/tilecache) is empty....I would be pleased if you
could help me again
--
View this message in context: http://www.nabble.com/TileCache-problem-tp20068007p20186245.html
Sent from the TileCache mailing list archive at Nabble.com.
More information about the Tilecache
mailing list