[MapProxy] Installing mapproxy on windows

Jorge Gaspar Sanz Salinas jsanz at osgeo.org
Fri Mar 11 08:25:46 EST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El 11/03/2011 13:07, Oliver Tonnhofer escribió:
> 
> On 11.03.2011, at 11:50, Jorge Gaspar Sanz Salinas wrote:
>> I'm trying to instal MapProxy on a Windows Server 2008 (x64). I've
>> installed the sefl-contained virtualenv and created the virtualenv
>> folder with Scripts and so on.
>>
>> The problem is just with the easy_install instructions. With MapProxy
>> and pyproj it ends with a
>>
>> "error: Setup script exited with error: Unable to find vcvarsall.bat"
> 
> 
> Pyproj is not officially available for x64 and so pip tries to compile it from source, which fails. You can find more packages here:
> http://www.lfd.uci.edu/~gohlke/pythonlibs/
> 
> You can download them and then use pip:
> 
> pip install path\to\pyproj.xxx.exe
> 
> 
> I'm adding that to the docs.
> 
> 
> Regards,
> Oliver
> 

uhh, I've changed my Python 2.7x64 to 2.6x32 and then both MapProxy and
pyproj install perfectly

now I'm having mapproxy working with paster serve and the tms works,
that is the

http://127.0.0.1/tms/osm/0/0/0.png

is working but when I request an static file like /demo/static/site.css
on demo pages i get

Traceback (most recent call last):
  File
"c:\gis\mapproxy_venv\lib\site-packages\mapproxy-1.0.0-py2.6.egg\mapproxy\wsgiapp.py",
line 146, in __call__
    resp = self.handlers[handler_name].handle(req)
  File
"c:\gis\mapproxy_venv\lib\site-packages\mapproxy-1.0.0-py2.6.egg\mapproxy\service\demo.py",
line 57, in handle
    return Response(open(static_file, 'rb'), content_type=type)
IOError: [Errno 2] No such file or directory: 'c:\\demo\\static\\site.css'


It's not a dramma, as tms service is working but, well, it's just strange

Thanks Oliver for your help.
Best
- -- 
Jorge Gaspar Sanz Salinas
http://es.osgeo.org
http://jorgesanz.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNeiLaAAoJEAOYD75lvHdBrzEIAIyRuUBmLYNmKhrupfIC0/FK
pXSTfK4w8tCJxWVH1CaMDbiX0OzpLGwphHN4O+VVdgGxXzjPNli1Q2zfM8PADa81
K2pmS+3RKi9N06VV2EOPRld7RGW4CNg1zAYRPAaWUlxfvNVdPnRVlqNKtk5zO1Ao
GvN73W602tPFp7T0NA+EUTdMejC1VduBh4ZTxDMU5A4N1tLSUhTlk1Yjo6UncvBN
BL3e/aqgNOdLJxdn0gzFnlzzOIO5k8e3J625ENfb5/A/KRV4VLN4BVF7SXdqpCvT
PBNfX1dq8qNARbEJ/ENxlrdQy7ivyZEQbodEho57AdQaEfS9/kxF+Hs5WoN3OF4=
=4U1s
-----END PGP SIGNATURE-----


More information about the MapProxy mailing list