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

Hishan Melanga hishanm at gmail.com
Thu May 23 18:33:11 PDT 2013


Thank you very much guys. I am very new to this whole stuff. I did not see
that error

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

before. The folder "basemap" should be actually "basemaps". I have typed it
wrong in .yaml. I corrected it and now its working fine.



On Thu, May 23, 2013 at 10:36 PM, Rahkonen Jukka
<jukka.rahkonen at mmmtike.fi>wrote:

> 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=True200 - 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/>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy
>



-- 
හිෂාන් මෙලංග | Hishan Melanga <http://hishanmelanga.blogspot.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20130524/fb88377c/attachment.html>


More information about the MapProxy mailing list