[Tilecache] tilecache_seed.py and "an error occured when fetching"

Christopher Schmidt crschmidt at metacarta.com
Fri Dec 14 22:27:34 EST 2007


On Fri, Dec 14, 2007 at 07:12:28PM -0800, Paul McCullough wrote:
> It runs fine but intermittantly produces "an error occured when fetching".
> 
> detail:
> An error occured when fetching: HTTP Error 500: Internal Server Error
> URL:
> http://localhost:80/tilecache-1.9/tilecache.py?layers=sfgis_basemap&styles=
> &service=WMS&width=256&format=image%2Fpng&request=GetMap&height=256&srs=EPSG%3A2
> 227&version=1.1.1&bbox=6009761.71875%2C2118601.5625%2C6010039.0625%2C2118878.906
> 25

500 errors are generaly a bad sign. Does the non-cached areas of the
layer work okay in your map? 

> The bounding box spec'ed in the seed cmd is exactly the same as the bounding
> box in the 
> geoserver layer.  It occurs with some regulatity, say every 20 calls or so.
> Is this some sort of edge condition?

Not one that I'm aware of.

> The apache error log has this:
> [Fri Dec 14 19:08:01 2007] [notice] mod_python (pid=5424,
> interpreter='CCSF-PMcCullough.ci.sf.ca.us'): Reimporting module 'C:\\Program
> Files\\Apache Software
> Foundation\\Apache2.2\\htdocs\\tilecache-1.9\\TileCache\\Service.py'
> [Fri Dec 14 19:08:01 2007] [notice] mod_python (pid=5424,
> interpreter='CCSF-PMcCullough.ci.sf.ca.us'): Reimporting module 'C:\\Program
> Files\\Apache Software
> Foundation\\Apache2.2\\htdocs\\tilecache-1.9\\TileCache\\Layer.py'
> [Fri Dec 14 19:08:05 2007] [warn] mod_python (pid=5424,
> interpreter='CCSF-PMcCullough.ci.sf.ca.us'): Module imports an ancestor
> module. This may cause problems. Please check code. File doing import is
> "C:\\Program Files\\Apache Software
> Foundation\\Apache2.2\\htdocs\\tilecache-1.9\\TileCache\\Layer.py".
> [Fri Dec 14 19:08:05 2007] [notice] mod_python (pid=5424,
> interpreter='CCSF-PMcCullough.ci.sf.ca.us'): Reimporting module 'C:\\Program
> Files\\Apache Software
> Foundation\\Apache2.2\\htdocs\\tilecache-1.9\\TileCache\\Service.py'
> [Fri Dec 14 19:08:05 2007] [notice] mod_python (pid=5424,
> interpreter='CCSF-PMcCullough.ci.sf.ca.us'): Reimporting module 'C:\\Program
> Files\\Apache Software
> Foundation\\Apache2.2\\htdocs\\tilecache-1.9\\TileCache\\Layer.py'
> [Fri Dec 14 19:08:09 2007] [warn] mod_python (pid=5424,
> interpreter='CCSF-PMcCullough.ci.sf.ca.us'): Module imports an ancestor
> module. This may cause problems. Please check code. File doing import is
> "C:\\Program Files\\Apache Software
> Foundation\\Apache2.2\\htdocs\\tilecache-1.9\\TileCache\\Layer.py".
> [Fri Dec 14 19:08:09 2007] [notice] mod_python (pid=5424,
> interpreter='CCSF-PMcCullough.ci.sf.ca.us'): Reimporting module 'C:\\Program
> Files\\Apache Software
> Foundation\\Apache2.2\\htdocs\\tilecache-1.9\\TileCache\\Service.py'
> [Fri Dec 14 19:08:09 2007] [notice] mod_python (pid=5424,
> interpreter='CCSF-PMcCullough.ci.sf.ca.us'): Reimporting module 'C:\\Program
> Files\\Apache Software
> Foundation\\Apache2.2\\htdocs\\tilecache-1.9\\TileCache\\Layer.py'

These messages are expected.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list