[MapProxy] MapProxy Digest, Vol 103, Issue 3

Fabiola Kälin fabiola.kaelin at crosswind.ch
Thu Sep 13 06:54:56 PDT 2018


Thanks for your answer.
For mapproxy.yaml the webpage works now, it just took a lot of time to load (not sure why, but that was probably not a problem of mapproxy). Further, I didn't realise that if there is no "demo" in the configuration file, the "demo" option - of course - won't show up on the webpage.





-----Original Message-----
From: MapProxy <mapproxy-bounces at lists.osgeo.org> On Behalf Of mapproxy-request at lists.osgeo.org
Sent: Montag, 10. September 2018 15:13
To: mapproxy at lists.osgeo.org
Subject: MapProxy Digest, Vol 103, Issue 3

Send MapProxy mailing list submissions to
	mapproxy at lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.osgeo.org/mailman/listinfo/mapproxy
or, via email, send a message with subject or body 'help' to
	mapproxy-request at lists.osgeo.org

You can reach the person managing the list at
	mapproxy-owner at lists.osgeo.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of MapProxy digest..."


Today's Topics:

   1. problem starting the test server (Fabiola Kälin)
   2. Re: problem starting the test server (Travis Kirstine)


----------------------------------------------------------------------

Message: 1
Date: Mon, 10 Sep 2018 07:04:49 +0000
From: Fabiola Kälin <fabiola.kaelin at crosswind.ch>
To: "mapproxy at lists.osgeo.org" <mapproxy at lists.osgeo.org>
Subject: [MapProxy] problem starting the test server
Message-ID:
	<VI1PR02MB063829FE8443ED8A4B9370D7F1050 at VI1PR02MB0638.eurprd02.prod.outlook.com>
	
Content-Type: text/plain; charset="iso-8859-1"

Hi everyone
I have a problem starting the MapProxy test server on Windows 10 Pro (I ran into the same problem on Windows 10) with Python 2.7.15. After having created and activated a virtual environment for mapproxy, I upgraded pip, installed MapProxy and also installed pyproj and created the mymapproxy configuration as described on the webpage (https://mapproxy.org/docs/latest/install_windows.html, https://mapproxy.org/docs/latest/install.html#create-configuration)
This is the code I used:
(mapproxy_venv) C:\mapproxy_venv\Scripts>pip install -U pip

(mapproxy_venv) C:\mapproxy_venv\Scripts>pip install MapProxy

(mapproxy_venv) C:\mapproxy_venv\Scripts>pip install C:\Python27\pyproj-1.9.5.1-cp27-cp27m-win_amd64.whl
(mapproxy_venv) C:\mapproxy_venv\Scripts>mapproxy-util -version

(mapproxy_venv) C:\mapproxy_venv\Scripts>mapproxy-util create -t base-config mymapproxy

(mapproxy_venv) C:\mapproxy_venv\Scripts>cd mymapproxy

Until now, everything has worked well. Now, however, I'm not able to start the test server. These are the regarding messages for loading mapproxy.yaml and seed.yaml. They won't proceed for hours or days respectively. These are the responses I get:

(mapproxy_venv) C:\mapproxy_venv\Scripts\mymapproxy>mapproxy-util serve-develop mapproxy.yaml

[2018-09-10 08:46:37,250] mapproxy.config - INFO - reading: C:\mapproxy_venv\Scripts\mymapproxy\mapproxy.yaml

[info]  * Running on http://127.0.0.1:8080/ (Press CTRL+C to quit)

[info]  * Restarting with reloader

[2018-09-10 08:46:40,102] mapproxy.config - INFO - reading: C:\mapproxy_venv\Scripts\mymapproxy\mapproxy.yaml

(mapproxy_venv) C:\mapproxy_venv\Scripts\mymapproxy>mapproxy-util serve-develop seed.yaml

(mapproxy_venv) C:\mapproxy_venv\Scripts\mymapproxy>mapproxy-util serve-develop seed.yaml

[2018-09-07 16:51:52,180] mapproxy.config - INFO - reading: C:\mapproxy_venv\Scripts\mymapproxy\seed.yaml

[2018-09-07 16:51:52,186] mapproxy.config - WARNING - unknown 'coverages' in .

[2018-09-07 16:51:52,187] mapproxy.config - WARNING - unknown 'seeds' in .

[2018-09-07 16:51:52,187] mapproxy.config - WARNING - unknown 'cleanups' in .

[2018-09-07 16:51:52,188] mapproxy.config - WARNING - Missing layers section

[2018-09-07 16:51:52,190] mapproxy.config - WARNING - Missing services section

[info]  * Running on http://127.0.0.1:8080/ (Press CTRL+C to quit)

[info]  * Restarting with reloader

[2018-09-07 16:51:54,490] mapproxy.config - INFO - reading: C:\mapproxy_venv\Scripts\mymapproxy\seed.yaml

[2018-09-07 16:51:54,499] mapproxy.config - WARNING - unknown 'coverages' in .

[2018-09-07 16:51:54,500] mapproxy.config - WARNING - unknown 'seeds' in .

[2018-09-07 16:51:54,500] mapproxy.config - WARNING - unknown 'cleanups' in .

[2018-09-07 16:51:54,510] mapproxy.config - WARNING - Missing layers section

[2018-09-07 16:51:54,512] mapproxy.config - WARNING - Missing services section


Any idea what could be wrong? Any idea is appreciated.

Thanks in advance.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20180910/6126a4c8/attachment-0001.html>

------------------------------

Message: 2
Date: Mon, 10 Sep 2018 09:12:55 -0400
From: Travis Kirstine <traviskirstine at gmail.com>
To: fabiola.kaelin at crosswind.ch
Cc: mapproxy <mapproxy at lists.osgeo.org>
Subject: Re: [MapProxy] problem starting the test server
Message-ID:
	<CALtm4h0Jvsm0hd5A1isAWOWe1qXzy_FYkHtjDkiBJBq31WYGSA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

The content you've pasted  it looks as MapProxy is running as it should be.  What happens when you visit http://127.0.0.1:8080 in the browser after starting the server?

On Mon, 10 Sep 2018 at 03:04, Fabiola Kälin <fabiola.kaelin at crosswind.ch>
wrote:

> Hi everyone
>
> I have a problem starting the MapProxy test server on *Windows 10 Pro* 
> (I ran into the same problem on Windows 10) with *Python 2.7.15*. 
> After having created and activated a virtual environment for mapproxy, 
> I upgraded pip, installed MapProxy and also installed pyproj and 
> created the mymapproxy configuration as described on the webpage ( 
> https://mapproxy.org/docs/latest/install_windows.html,
> https://mapproxy.org/docs/latest/install.html#create-configuration)
>
> This is the code I used:
>
> (mapproxy_venv) C:\mapproxy_venv\Scripts>pip install -U pip
>
> (mapproxy_venv) C:\mapproxy_venv\Scripts>pip install MapProxy
>
> (mapproxy_venv) C:\mapproxy_venv\Scripts>pip install 
> C:\Python27\pyproj-1.9.5.1-cp27-cp27m-win_amd64.whl
>
> (mapproxy_venv) C:\mapproxy_venv\Scripts>mapproxy-util –version
>
> (mapproxy_venv) C:\mapproxy_venv\Scripts>mapproxy-util create -t 
> base-config mymapproxy
>
> (mapproxy_venv) C:\mapproxy_venv\Scripts>cd mymapproxy
>
> Until now, everything has worked well. Now, however, I’m not able to 
> start the test server. These are the regarding messages for loading
> *mapproxy.yaml* and *seed.yaml*. They won’t proceed for hours or days 
> respectively. These are the responses I get:
>
> (mapproxy_venv) C:\mapproxy_venv\Scripts\mymapproxy>mapproxy-util 
> serve-develop mapproxy.yaml
>
> [2018-09-10 08:46:37,250] mapproxy.config - INFO - reading: 
> C:\mapproxy_venv\Scripts\mymapproxy\mapproxy.yaml
>
> [info]  * Running on http://127.0.0.1:8080/ (Press CTRL+C to quit)
>
> [info]  * Restarting with reloader
>
> [2018-09-10 08:46:40,102] mapproxy.config - INFO - reading: 
> C:\mapproxy_venv\Scripts\mymapproxy\mapproxy.yaml
>
> (mapproxy_venv) C:\mapproxy_venv\Scripts\mymapproxy>mapproxy-util 
> serve-develop seed.yaml
>
> (mapproxy_venv) C:\mapproxy_venv\Scripts\mymapproxy>mapproxy-util 
> serve-develop seed.yaml
>
> [2018-09-07 16:51:52,180] mapproxy.config - INFO - reading: 
> C:\mapproxy_venv\Scripts\mymapproxy\seed.yaml
>
> [2018-09-07 16:51:52,186] mapproxy.config - WARNING - unknown 'coverages' in .
>
> [2018-09-07 16:51:52,187] mapproxy.config - WARNING - unknown 'seeds' in .
>
> [2018-09-07 16:51:52,187] mapproxy.config - WARNING - unknown 'cleanups' in .
>
> [2018-09-07 16:51:52,188] mapproxy.config - WARNING - Missing layers 
> section
>
> [2018-09-07 16:51:52,190] mapproxy.config - WARNING - Missing services 
> section
>
> [info]  * Running on http://127.0.0.1:8080/ (Press CTRL+C to quit)
>
> [info]  * Restarting with reloader
>
> [2018-09-07 16:51:54,490] mapproxy.config - INFO - reading: 
> C:\mapproxy_venv\Scripts\mymapproxy\seed.yaml
>
> [2018-09-07 16:51:54,499] mapproxy.config - WARNING - unknown 'coverages' in .
>
> [2018-09-07 16:51:54,500] mapproxy.config - WARNING - unknown 'seeds' in .
>
> [2018-09-07 16:51:54,500] mapproxy.config - WARNING - unknown 'cleanups' in .
>
> [2018-09-07 16:51:54,510] mapproxy.config - WARNING - Missing layers 
> section
>
> [2018-09-07 16:51:54,512] mapproxy.config - WARNING - Missing services 
> section
>
>
>
> Any idea what could be wrong? Any idea is appreciated.
>
> Thanks in advance.
>
>
>
>
>
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapproxy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20180910/930f0616/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
MapProxy mailing list
MapProxy at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapproxy

------------------------------

End of MapProxy Digest, Vol 103, Issue 3
****************************************


More information about the MapProxy mailing list