[Tilecache] empty string for float()

Christopher Schmidt crschmidt at metacarta.com
Thu May 31 10:24:08 EDT 2007


On Thu, May 31, 2007 at 09:45:19AM +0000, Benoit PESTY wrote:
> Hello,
> 
> I?m trying to test TileCache on my desktop and i?m having the following 
> error :
> 
> An error occurred: empty string for float()
>  File "C:\ms4w\Apache\cgi-bin\tilecache\TileCache\Service.py", line 479, in 
> cgiHandler
>    format, image = service.dispatchRequest( params, path_info, req_method, 
> host )
>  File "C:\ms4w\Apache\cgi-bin\tilecache\TileCache\Service.py", line 395, in 
> dispatchRequest
>    tile = WMS(self).parse(params, path_info, host)
>  File "C:\ms4w\Apache\cgi-bin\tilecache\TileCache\Service.py", line 120, in 
> parse
>    return self.getMap(param)
>  File "C:\ms4w\Apache\cgi-bin\tilecache\TileCache\Service.py", line 123, in 
> getMap
>    bbox  = map(float, param["bbox"].split(","))

Looks like you're using the WMS service -- what URL are you accessing
this via? Most importantly, what is the bbox= param in your URL?

Pasting a URL here would help me get at least one step further :)

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list