[Tilecache] pink tiles
Christopher Schmidt
crschmidt at metacarta.com
Fri Mar 7 09:09:01 EST 2008
On Fri, Mar 07, 2008 at 09:02:34AM -0500, Christopher Schmidt wrote:
> On Fri, Mar 07, 2008 at 11:04:26AM +0100, Sylvain Pasche wrote:
> > Hi,
> >
> > I hit the "pink tiles" issue recently on a project. I'm using tilecache
> > revision 139 with mod_python.
> >
> > Here's the exception I received from the server:
>
> Yeah, I think kleptog and I worked out that this is a bug in os.mkdirs,
> but I thought we had fixed it... looks like we talked about it, then
> never did anything about it.
>
> > I used the attached patch to work around the issue (simply ignores the
> > mkdir exception in case of error). Maybe there's a better way to solve this.
>
> No, i think that makes sense, but you'd need to write a patch against
> SVN for me to be able to apply it :)
I took your patch, made it more specific (only catching on errno 17,
since errno 13, 'no permission', is useful, as are others like 'out of
disk space'), and committed it to trunk. Thanks.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Tilecache
mailing list