<div dir="ltr">Hi,<div><br></div><div>Thanks for the quick reply.</div><div><br></div><div>Unfortunately it does not work with serve-develop either.</div><div><br></div><div>Same error:</div><div><div><font face="courier new, monospace">[2014-07-23 07:35:01,101] mapproxy.wsgiapp - CRITICAL - fatal error in demo for /demo/ tms_capabilities&layer=xxxxxxx&srs=EPSG3857</font></div>
<div><font face="courier new, monospace">Traceback (most recent call last):</font></div><div><font face="courier new, monospace"> File "/opt/tms/mapproxy/lib/python2.7/site-packages/mapproxy/wsgiapp.py", line 166, in __call__</font></div>
<div><font face="courier new, monospace"> resp = self.handlers[handler_name].handle(req)</font></div><div><font face="courier new, monospace"> File "/opt/tms/mapproxy/lib/python2.7/site-packages/mapproxy/service/demo.py", line 105, in handle</font></div>
<div><font face="courier new, monospace"> capabilities = urlopen(url)</font></div><div><font face="courier new, monospace"> File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen</font></div><div><font face="courier new, monospace"> return _opener.open(url, data, timeout)</font></div>
<div><font face="courier new, monospace"> File "/usr/lib64/python2.7/urllib2.py", line 410, in open</font></div><div><font face="courier new, monospace"> response = meth(req, response)</font></div><div><font face="courier new, monospace"> File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response</font></div>
<div><font face="courier new, monospace"> 'http', request, response, code, msg, hdrs)</font></div><div><font face="courier new, monospace"> File "/usr/lib64/python2.7/urllib2.py", line 448, in error</font></div>
<div><font face="courier new, monospace"> return self._call_chain(*args)</font></div><div><font face="courier new, monospace"> File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain</font></div><div>
<font face="courier new, monospace"> result = func(*args)</font></div><div><font face="courier new, monospace"> File "/usr/lib64/python2.7/urllib2.py", line 531, in http_error_default</font></div><div><font face="courier new, monospace"> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)</font></div>
<div><font face="courier new, monospace">HTTPError: HTTP Error 404: Not Found</font></div><div><font face="courier new, monospace">Traceback (most recent call last):</font></div><div><font face="courier new, monospace"> File "/opt/tms/mapproxy/lib/python2.7/site-packages/mapproxy/wsgiapp.py", line 166, in __call__</font></div>
<div><font face="courier new, monospace"> resp = self.handlers[handler_name].handle(req)</font></div><div><font face="courier new, monospace"> File "/opt/tms/mapproxy/lib/python2.7/site-packages/mapproxy/service/demo.py", line 105, in handle</font></div>
<div><font face="courier new, monospace"> capabilities = urlopen(url)</font></div><div><font face="courier new, monospace"> File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen</font></div><div><font face="courier new, monospace"> return _opener.open(url, data, timeout)</font></div>
<div><font face="courier new, monospace"> File "/usr/lib64/python2.7/urllib2.py", line 410, in open</font></div><div><font face="courier new, monospace"> response = meth(req, response)</font></div><div><font face="courier new, monospace"> File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response</font></div>
<div><font face="courier new, monospace"> 'http', request, response, code, msg, hdrs)</font></div><div><font face="courier new, monospace"> File "/usr/lib64/python2.7/urllib2.py", line 448, in error</font></div>
<div><font face="courier new, monospace"> return self._call_chain(*args)</font></div><div><font face="courier new, monospace"> File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain</font></div><div>
<font face="courier new, monospace"> result = func(*args)</font></div><div><font face="courier new, monospace"> File "/usr/lib64/python2.7/urllib2.py", line 531, in http_error_default</font></div><div><font face="courier new, monospace"> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)</font></div>
<div><font face="courier new, monospace">HTTPError: HTTP Error 404: Not Found</font></div><div><font face="courier new, monospace">[info] XXX.XXX.XXX.XXX - - [23/Jul/2014 07:35:01] "GET /demo/?tms_capabilities&layer=xxxxxxxx&srs=EPSG3857 HTTP/1.1" 500 -</font></div>
</div><div><br></div><div>Cheers,</div><div>Attila</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">2014-07-22 17:45 GMT+02:00 Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de" target="_blank">olt@omniscale.de</a>></span>:<br>
</div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
that's probably a deployment issue. Does it work with mapproxy-util serve-develop?<br>
<div><div class="h5"><br>
<br>
On 22.07.2014, at 16:39, BERÉNYI Attila wrote:<br>
<br>
> Hi,<br>
><br>
> I get an internal error for all 'tms_capabilities' requests.<br>
><br>
> The relevant part of the log:<br>
> 2014-07-22 14:36:41,946 - CRITICAL - mapproxy.wsgiapp - fatal error in demo for /demo/ tms_capabilities&layer=xxxxxx&srs=EPSG3857<br>
> Traceback (most recent call last):<br>
> File "/opt/tms/mapproxy/lib/python2.7/site-packages/mapproxy/wsgiapp.py", line 166, in __call__<br>
> resp = self.handlers[handler_name].handle(req)<br>
> File "/opt/tms/mapproxy/lib/python2.7/site-packages/mapproxy/service/demo.py", line 105, in handle<br>
> capabilities = urlopen(url)<br>
> File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen<br>
> return _opener.open(url, data, timeout)<br>
> File "/usr/lib64/python2.7/urllib2.py", line 410, in open<br>
> response = meth(req, response)<br>
> File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response<br>
> 'http', request, response, code, msg, hdrs)<br>
> File "/usr/lib64/python2.7/urllib2.py", line 448, in error<br>
> return self._call_chain(*args)<br>
> File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain<br>
> result = func(*args)<br>
> File "/usr/lib64/python2.7/urllib2.py", line 531, in http_error_default<br>
> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)<br>
> HTTPError: HTTP Error 404: Not Found<br>
><br>
> Any idea?<br>
><br>
> Cheers,<br>
> Attila<br>
</div></div>> _______________________________________________<br>
> MapProxy mailing list<br>
> <a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
<br>
Regards,<br>
Oliver<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Oliver Tonnhofer | Omniscale GmbH & Co KG | <a href="http://omniscale.com" target="_blank">http://omniscale.com</a><br>
<a href="http://mapproxy.org" target="_blank">http://mapproxy.org</a> | <a href="https://github.com/olt" target="_blank">https://github.com/olt</a> | @oltonn<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div></div>