<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello Olivier!<br>
I tried the installation at home and it didn't work either. So I downloaded the proj.py from bitbucket and after this it worked. At work I tried the same thing but it gives the same error messages as before.<br>
<br>
This is how the proj.py I downloaded&nbsp; looks like and i put it to C:\mapproxy_venv\Lib\site-packages\pyproj-1.8.8-py2.6-win32.egg\pyproj<br>
<br>
_use_libproj = _use_pyproj = False<br>
if 'MAPPROXY_USE_LIBPROJ' in os.environ:<br>
&nbsp;&nbsp;&nbsp; _use_libproj = True<br>
<br>
if 'MAPPROXY_USE_PYPROJ' in os.environ:<br>
&nbsp;&nbsp;&nbsp; _use_pyproj = True<br>
<br>
if not _use_libproj and not _use_pyproj:<br>
&nbsp;&nbsp;&nbsp; _use_libproj = True # Default<br>
&nbsp;&nbsp;&nbsp; _use_pyproj = True # Fallback<br>
<br>
How do I check which version of proj4 I have installed? I dont find this directory at all. Im using windowsXP by the way.<br>
Or could I just start over again and delete everything? How do i make sure that evetyhing gets deleted so it doesn't use older versions of the libarys?<br>
<br>
<br>
<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF903218"><font size="2" color="#000000" face="Tahoma"><b>Från:</b> mapproxy-bounces@lists.osgeo.org [mapproxy-bounces@lists.osgeo.org] för Johan Sandberg [johs@kth.se]<br>
<b>Skickat:</b> den 25 februari 2011 13:28<br>
<b>Till:</b> Sandor Csaba; Oliver Tonnhofer<br>
<b>Kopia:</b> mapproxy@lists.osgeo.org<br>
<b>Ämne:</b> SV: [MapProxy] installation problem<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
Hej!<br>
&nbsp;I look into the Lib\site-packages\pyproj-1.8.8-py2.6-win32.egg\pyproj\data where the EPSG file exists.<br>
The 4326 projection was in there.<br>
I also runned the easy_install pyproj again<br>
and it basically said that pyproj was already installed with 1.8.8<br>
<br>
What change did you do in the EPSG file?<br>
<br>
/ Johan<br>
<pre><br></pre>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div id="divRpF293547" style="direction: ltr;"><font size="2" color="#000000" face="Tahoma"><b>Från:</b> sandor.csaba@gmail.com [sandor.csaba@gmail.com] för Sandor Csaba [sandor.csaba@viamap.hu]<br>
<b>Skickat:</b> den 25 februari 2011 08:28<br>
<b>Till:</b> Oliver Tonnhofer<br>
<b>Kopia:</b> Johan Sandberg; mapproxy@lists.osgeo.org<br>
<b>Ämne:</b> Re: [MapProxy] installation problem<br>
</font><br>
</div>
<div></div>
<div>Hi,<br>
<br>
We had similar issues with proj and the solution was that the any of the projections you tried to initialize was not in the epsg file of proj. Nevertheless it is not very likely that 4326 is not in the epsg file...<br>
<br>
Probably check your proj installation if the epsg file exists at all.<br>
<br>
Correcting the epsg file solved this for us, but also tried pyproj that solves this too.<br>
<br>
Csaba<br>
<br>
<div class="gmail_quote">On 24 February 2011 18:54, Oliver Tonnhofer <span dir="ltr">
&lt;<a href="mailto:olt@omniscale.de" target="_blank">olt@omniscale.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
On 24.02.2011, at 15:01, Johan Sandberg wrote:<br>
<br>
&gt; Hello! I worked with previous versions of Mapproxy and they worked fine. When I run the lastest version I get several error messages. I use the mapproxy.YAML file that comes with the installations.<br>
&gt; Can someone help me to interprete the errormessages<br>
&gt;<br>
&gt; paster serve etc/develop.ini --reload<br>
&gt; [...]<br>
</div>
<div class="im">&gt; mapproxy.platform.cpython.proj.ProjInitError: error initializing Proj(proj_def=N<br>
&gt; one, init='epsg:4326'): Invalid argument<br>
<br>
</div>
Hard to tell. I'm guessing that you have an older version of proj4 installed on you system. Can you check which version that is?<br>
<br>
To get MapProxy working, you could install pyproj and set the environment variable MAPPROXY_USE_PYPROJ to true.<br>
<br>
<br>
Regards,<br>
Oliver<br>
<br>
--<br>
Oliver Tonnhofer &nbsp; &nbsp;| Omniscale GmbH &amp; Co KG &nbsp; &nbsp;| <a href="http://omniscale.de" target="_blank">
http://omniscale.de</a><br>
<a href="http://mapproxy.org" target="_blank">http://mapproxy.org</a> | <a href="https://bitbucket.org/olt" target="_blank">
https://bitbucket.org/olt</a><br>
<br>
<br>
<br>
_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org" target="_blank">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>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Sándor Csaba<br>
szolgáltatási vezető<br>
ViaMap Kft.<br>
Székhely/postacím: 1132 Budapest, Váci út 60-62.<br>
<br>
Iroda:<br>
1076 Budapest, Garay u. 29-31. I. 1.<br>
(EMLA Környezeti Management és Jog Egyesület)<br>
<br>
<br>
Tel: &#43;3630/9605853<br>
Fax: &#43;3617002542<br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>