[MapProxy] “could not get any sources: no image returned from source WMS” error in mapproxy demo

Rahkonen Jukka jukka.rahkonen at mmmtike.fi
Thu May 23 10:06:45 PDT 2013


Hi,

Looks like a typo, I think you have it in /basemaps/

msLoadMap(): Unable to access file. (/home/mwh/osm-demo/basemap/osm-google.map)

This error should have been found also from MS_ERRORFILE from Mapserver side.

-Jukka Rahkonen-

________________________________
Hishan Melanga [hishanm at gmail.com] wrote:

[info] 127.0.0.1 - - [23/May/2013 22:23:27] "GET /demo/static/img/zoom-minus-mini.png HTTP/1.1" 200 -
[2013-05-23 22:23:28,778] mapproxy.source.request - INFO - GET http://localhost/cgi-bin/mapserv?layers=default&map=%2Fhome%2Fmwh%2Fosm-demo%2Fbasemap%2Fosm-google.map&service=WMS&format=image%2Fpng&request=GetMap&height=512&width=512&version=1.1.1&bbox=-20000000.0,-20000000.0,20000000.0,20000000.0&styles=&srs=EPSG%3A3857&transparent=True 200 - 1322
[2013-05-23 22:23:28,803] mapproxy.source.wms - WARNING - expected image response, got: <HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 6.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<BODY BGCOLOR="#FFFFFF">
msLoadMap(): Unable to access file. (/home/mwh/osm-demo/basemap/osm-google.map)
</BODY></HTML>
[info] 127.0.0.1 - - [23/May/2013 22:23:28] "GET /service?LAYERS=mapserver&FORMAT=image%2Fpng&SRS=EPSG%3A3857&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=-23750000,-23437500,23750000,23437500&WIDTH=608&HEIGHT=600 HTTP/1.1" 200 -




On Thu, May 23, 2013 at 8:10 PM, Oliver Tonnhofer <olt at omniscale.de<mailto:olt at omniscale.de>> wrote:

On 23.05.2013, at 14:21, Hishan Melanga wrote:
> [info]  * Running on
> http://0.0.0.0:8011/
> [info]  * Restarting with reloader: stat() polling
> [2013-05-23 17:04:59,716] mapproxy.config - INFO - reading: /usr/local/share/mapproxy/mapproxy.yaml

Here should appear a more detailed error _after_ you made the WMS request to MapProxy. Can you post that?


Regards,
Oliver

--
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.com
http://mapproxy.org | https://github.com/olt    | @oltonn










--
හිෂාන් මෙලංග | Hishan Melanga<http://hishanmelanga.blogspot.com/>


More information about the MapProxy mailing list