[MapProxy] tms_capabilities - internal error

BERÉNYI Attila aberenyi at gislab.hu
Wed Jul 23 00:39:47 PDT 2014


Hi,

Thanks for the quick reply.

Unfortunately it does not work with serve-develop either.

Same error:
[2014-07-23 07:35:01,101] mapproxy.wsgiapp - CRITICAL - fatal error in demo
for /demo/ tms_capabilities&layer=xxxxxxx&srs=EPSG3857
Traceback (most recent call last):
  File "/opt/tms/mapproxy/lib/python2.7/site-packages/mapproxy/wsgiapp.py",
line 166, in __call__
    resp = self.handlers[handler_name].handle(req)
  File
"/opt/tms/mapproxy/lib/python2.7/site-packages/mapproxy/service/demo.py",
line 105, in handle
    capabilities = urlopen(url)
  File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
Traceback (most recent call last):
  File "/opt/tms/mapproxy/lib/python2.7/site-packages/mapproxy/wsgiapp.py",
line 166, in __call__
    resp = self.handlers[handler_name].handle(req)
  File
"/opt/tms/mapproxy/lib/python2.7/site-packages/mapproxy/service/demo.py",
line 105, in handle
    capabilities = urlopen(url)
  File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
[info] XXX.XXX.XXX.XXX - - [23/Jul/2014 07:35:01] "GET
/demo/?tms_capabilities&layer=xxxxxxxx&srs=EPSG3857 HTTP/1.1" 500 -

Cheers,
Attila

2014-07-22 17:45 GMT+02:00 Oliver Tonnhofer <olt at omniscale.de>:

> Hi,
>
> that's probably a deployment issue. Does it work with mapproxy-util
> serve-develop?
>
>
> On 22.07.2014, at 16:39, BERÉNYI Attila wrote:
>
> > Hi,
> >
> > I get an internal error for all 'tms_capabilities' requests.
> >
> > The relevant part of the log:
> > 2014-07-22 14:36:41,946 - CRITICAL - mapproxy.wsgiapp - fatal error in
> demo for /demo/ tms_capabilities&layer=xxxxxx&srs=EPSG3857
> > Traceback (most recent call last):
> >   File
> "/opt/tms/mapproxy/lib/python2.7/site-packages/mapproxy/wsgiapp.py", line
> 166, in __call__
> >     resp = self.handlers[handler_name].handle(req)
> >   File
> "/opt/tms/mapproxy/lib/python2.7/site-packages/mapproxy/service/demo.py",
> line 105, in handle
> >     capabilities = urlopen(url)
> >   File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
> >     return _opener.open(url, data, timeout)
> >   File "/usr/lib64/python2.7/urllib2.py", line 410, in open
> >     response = meth(req, response)
> >   File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response
> >     'http', request, response, code, msg, hdrs)
> >   File "/usr/lib64/python2.7/urllib2.py", line 448, in error
> >     return self._call_chain(*args)
> >   File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
> >     result = func(*args)
> >   File "/usr/lib64/python2.7/urllib2.py", line 531, in http_error_default
> >     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> > HTTPError: HTTP Error 404: Not Found
> >
> > Any idea?
> >
> > Cheers,
> > Attila
> > _______________________________________________
> > MapProxy mailing list
> > MapProxy at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapproxy
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.com
> http://mapproxy.org | https://github.com/olt    | @oltonn
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20140723/f29976f4/attachment.html>


More information about the MapProxy mailing list