Tilecache error message

3 messages Options
Embed this post
Permalink
ajfsilva

Tilecache error message

Reply Threaded More More options
Print post
Permalink
Hi,

I'm trying to publish my GeoServer WMS images with tilecache and i'm
getting this error when the pink tiles shows up and I right click them,
and then click view image option. I'm running tile cache on a Ubuntu
server and the error message is this:

An error occurred: [Errno 13] Permission denied:
'/tilecache/cache/orto/19'
  File "/usr/lib/cgi-bin/TileCache/Service.py", line 323, in cgiHandler
    format, image = service.dispatchRequest( params, path_info, req_method, host )
  File "/usr/lib/cgi-bin/TileCache/Service.py", line 208, in dispatchRequest
    return self.renderTile(tile, params.has_key('FORCE'))
  File "/usr/lib/cgi-bin/TileCache/Service.py", line 139, in renderTile
    if (data): image = self.cache.set(tile, data)
  File "/usr/lib/cgi-bin/TileCache/Caches/Disk.py", line 77, in set
    self.makedirs(dirname)
  File "/usr/lib/cgi-bin/TileCache/Caches/Disk.py", line 34, in makedirs
    raise E


Thank you for the help

AJS



_______________________________________________
Tilecache mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/tilecache
yvesm

Re: Tilecache error message

Reply Threaded More More options
Print post
Permalink

> Hi,
>
> I'm trying to publish my GeoServer WMS images with tilecache and i'm
> getting this error when the pink tiles shows up and I right click them,
> and then click view image option. I'm running tile cache on a Ubuntu
> server and the error message is this:
>
> An error occurred: [Errno 13] Permission denied:
> '/tilecache/cache/orto/19'
>   File "/usr/lib/cgi-bin/TileCache/Service.py", line 323, in cgiHandler
>     format, image = service.dispatchRequest( params, path_info, req_method, host )
>   File "/usr/lib/cgi-bin/TileCache/Service.py", line 208, in dispatchRequest
>     return self.renderTile(tile, params.has_key('FORCE'))
>   File "/usr/lib/cgi-bin/TileCache/Service.py", line 139, in renderTile
>     if (data): image = self.cache.set(tile, data)
>   File "/usr/lib/cgi-bin/TileCache/Caches/Disk.py", line 77, in set
>     self.makedirs(dirname)
>   File "/usr/lib/cgi-bin/TileCache/Caches/Disk.py", line 34, in makedirs
>     raise E

Check permissions on the /usr/lib/cgi-bin/TileCache/ directory ?  TC
cannot create a directory there, if I understand the error message
correctly.

Yves

>
>
> Thank you for the help
>
> AJS
>
>
>
> _______________________________________________
> Tilecache mailing list
> [hidden email]
> http://openlayers.org/mailman/listinfo/tilecache

_______________________________________________
Tilecache mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/tilecache
Christopher Schmidt-2

Re: Tilecache error message

Reply Threaded More More options
Print post
Permalink
On Mon, Sep 21, 2009 at 01:22:46PM -0400, Yves Moisan wrote:

>
> > Hi,
> >
> > I'm trying to publish my GeoServer WMS images with tilecache and i'm
> > getting this error when the pink tiles shows up and I right click them,
> > and then click view image option. I'm running tile cache on a Ubuntu
> > server and the error message is this:
> >
> > An error occurred: [Errno 13] Permission denied:
> > '/tilecache/cache/orto/19'
> >   File "/usr/lib/cgi-bin/TileCache/Service.py", line 323, in cgiHandler
> >     format, image = service.dispatchRequest( params, path_info, req_method, host )
> >   File "/usr/lib/cgi-bin/TileCache/Service.py", line 208, in dispatchRequest
> >     return self.renderTile(tile, params.has_key('FORCE'))
> >   File "/usr/lib/cgi-bin/TileCache/Service.py", line 139, in renderTile
> >     if (data): image = self.cache.set(tile, data)
> >   File "/usr/lib/cgi-bin/TileCache/Caches/Disk.py", line 77, in set
> >     self.makedirs(dirname)
> >   File "/usr/lib/cgi-bin/TileCache/Caches/Disk.py", line 34, in makedirs
> >     raise E
>
> Check permissions on the /usr/lib/cgi-bin/TileCache/ directory ?  TC
> cannot create a directory there, if I understand the error message
> correctly.

Actually, the dir in question is:
  /tilecache/cache/orto

Make sure that it's ojwned by the user doing the requesting; usually www-data
or httpd or 'apache' or some such.

Regards,
--
Christopher Schmidt
MetaCarta
_______________________________________________
Tilecache mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/tilecache