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

Paul McCullough Paul.McCullough at sfgov.org
Fri Dec 14 22:12:28 EST 2007


All,

I am running:
tilecache_seed.py "http://localhost:80/tilecache-1.9/tilecache.py?"
sfgis_basemap 1 10 "5964000.0,2077000.0,6035000.0,2135000.0"

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

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?

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'

But it appears to be working; images are being cached.

Thanks,
Paul

-- 
View this message in context: http://www.nabble.com/tilecache_seed.py-and-%22an-error-occured-when-fetching%22-tp14339909p14339909.html
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list