[MapProxy] New MapProxy 1.6.0rc1
Jeff Konnen
jaykayone at gmail.com
Fri Aug 23 00:15:59 PDT 2013
Hi,
that sounds great, unfortunately there seems to be a problem.
When I install mapproxy with Pillow installed the installation seems OK,
but it does not really work:
INSTALLATION:
(mapproxy)[root at todd_ign tmp]# pip install --upgrade
/root/MapProxy-1.6.0rc1.tar.gz --use-mirrors
Unpacking /root/MapProxy-1.6.0rc1.tar.gz
Running setup.py egg_info for package from
file:///root/MapProxy-1.6.0rc1.tar.gz
Could not fetch URL https://pypi.python.org/simple/PyYAML/: There was a
problem confirming the ssl certificate: <urlopen error [Errno 8]
_ssl.c:490: EOF occurred in violation of protocol>
Will skip URL https://pypi.python.org/simple/PyYAML/ when looking for
download links for PyYAML>=3.0,<3.99 in
/home/mapserver/mapproxy/lib/python2.6/site-packages (from
MapProxy==1.6.0rc1)
Could not fetch URL https://pypi.python.org/simple/: There was a problem
confirming the ssl certificate: <urlopen error [Errno 8] _ssl.c:490: EOF
occurred in violation of protocol>
Will skip URL https://pypi.python.org/simple/ when looking for download
links for PyYAML>=3.0,<3.99 in
/home/mapserver/mapproxy/lib/python2.6/site-packages (from
MapProxy==1.6.0rc1)
Cannot fetch index base URL https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/PyYAML/: There was a
problem confirming the ssl certificate: <urlopen error [Errno 8]
_ssl.c:490: EOF occurred in violation of protocol>
Will skip URL https://pypi.python.org/simple/PyYAML/ when looking for
download links for PyYAML>=3.0,<3.99 in
/home/mapserver/mapproxy/lib/python2.6/site-packages (from
MapProxy==1.6.0rc1)
Could not fetch URL http://b.pypi.python.org/simple/PyYAML/: There was a
problem confirming the ssl certificate: <urlopen error [Errno 8]
_ssl.c:490: EOF occurred in violation of protocol>
Will skip URL http://b.pypi.python.org/simple/PyYAML/ when looking for
download links for PyYAML>=3.0,<3.99 in
/home/mapserver/mapproxy/lib/python2.6/site-packages (from
MapProxy==1.6.0rc1)
Could not fetch URL http://d.pypi.python.org/simple/PyYAML/: There was a
problem confirming the ssl certificate: <urlopen error [Errno 8]
_ssl.c:490: EOF occurred in violation of protocol>
Will skip URL http://d.pypi.python.org/simple/PyYAML/ when looking for
download links for PyYAML>=3.0,<3.99 in
/home/mapserver/mapproxy/lib/python2.6/site-packages (from
MapProxy==1.6.0rc1)
Could not fetch URL http://a.pypi.python.org/simple/PyYAML/: There was a
problem confirming the ssl certificate: <urlopen error [Errno 8]
_ssl.c:490: EOF occurred in violation of protocol>
Will skip URL http://a.pypi.python.org/simple/PyYAML/ when looking for
download links for PyYAML>=3.0,<3.99 in
/home/mapserver/mapproxy/lib/python2.6/site-packages (from
MapProxy==1.6.0rc1)
Requirement already up-to-date: PyYAML>=3.0,<3.99 in
/home/mapserver/mapproxy/lib/python2.6/site-packages (from
MapProxy==1.6.0rc1)
Could not fetch URL https://pypi.python.org/simple/Pillow/: There was a
problem confirming the ssl certificate: <urlopen error [Errno 8]
_ssl.c:490: EOF occurred in violation of protocol>
Will skip URL https://pypi.python.org/simple/Pillow/ when looking for
download links for Pillow in
/home/mapserver/mapproxy/lib/python2.6/site-packages/Pillow-2.1.0-py2.6-win32.egg
(from MapProxy==1.6.0rc1)
Could not fetch URL https://pypi.python.org/simple/: There was a problem
confirming the ssl certificate: <urlopen error [Errno 8] _ssl.c:490: EOF
occurred in violation of protocol>
Will skip URL https://pypi.python.org/simple/ when looking for download
links for Pillow in
/home/mapserver/mapproxy/lib/python2.6/site-packages/Pillow-2.1.0-py2.6-win32.egg
(from MapProxy==1.6.0rc1)
Cannot fetch index base URL https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/Pillow/: There was a
problem confirming the ssl certificate: <urlopen error [Errno 8]
_ssl.c:490: EOF occurred in violation of protocol>
Will skip URL https://pypi.python.org/simple/Pillow/ when looking for
download links for Pillow in
/home/mapserver/mapproxy/lib/python2.6/site-packages/Pillow-2.1.0-py2.6-win32.egg
(from MapProxy==1.6.0rc1)
Could not fetch URL http://a.pypi.python.org/simple/Pillow/: There was a
problem confirming the ssl certificate: <urlopen error [Errno 8]
_ssl.c:490: EOF occurred in violation of protocol>
Will skip URL http://a.pypi.python.org/simple/Pillow/ when looking for
download links for Pillow in
/home/mapserver/mapproxy/lib/python2.6/site-packages/Pillow-2.1.0-py2.6-win32.egg
(from MapProxy==1.6.0rc1)
Could not fetch URL http://b.pypi.python.org/simple/Pillow/: There was a
problem confirming the ssl certificate: <urlopen error [Errno 8]
_ssl.c:490: EOF occurred in violation of protocol>
Will skip URL http://b.pypi.python.org/simple/Pillow/ when looking for
download links for Pillow in
/home/mapserver/mapproxy/lib/python2.6/site-packages/Pillow-2.1.0-py2.6-win32.egg
(from MapProxy==1.6.0rc1)
Could not fetch URL http://d.pypi.python.org/simple/Pillow/: There was a
problem confirming the ssl certificate: <urlopen error [Errno 8]
_ssl.c:490: EOF occurred in violation of protocol>
Will skip URL http://d.pypi.python.org/simple/Pillow/ when looking for
download links for Pillow in
/home/mapserver/mapproxy/lib/python2.6/site-packages/Pillow-2.1.0-py2.6-win32.egg
(from MapProxy==1.6.0rc1)
Requirement already up-to-date: Pillow in
/home/mapserver/mapproxy/lib/python2.6/site-packages/Pillow-2.1.0-py2.6-win32.egg
(from MapProxy==1.6.0rc1)
Installing collected packages: MapProxy
Found existing installation: MapProxy 1.6.0rc1
Uninstalling MapProxy:
Successfully uninstalled MapProxy
Running setup.py install for MapProxy
Skipping installation of
/home/mapserver/mapproxy/lib/python2.6/site-packages/mapproxy/__init__.py
(namespace package)
Installing
/home/mapserver/mapproxy/lib/python2.6/site-packages/MapProxy-1.6.0rc1-py2.6-nspkg.pth
Installing mapproxy-seed script to /home/mapserver/mapproxy/bin
Installing mapproxy-util script to /home/mapserver/mapproxy/bin
Successfully installed MapProxy
-------------------------------------------
But then:
[Fri Aug 23 09:04:38 2013] [error] [client 10.113.80.41] File
"/home/mapserver/mapproxy/lib/python2.6/site-packages/mapproxy/image/opts.py",
line 108, in create_image, referer: http://map.geoportail.lu/
[Fri Aug 23 09:04:38 2013] [error] [client 10.113.80.41] return
Image.new(mode, size, bgcolor), referer: http://map.geoportail.lu/
[Fri Aug 23 09:04:38 2013] [error] [client 10.113.80.41] File
"/home/mapserver/mapproxy/lib/python2.6/site-packages/mapproxy/platform/image.py",
line 39, in __getattr__, referer: http://map.geoportail.lu/
[Fri Aug 23 09:04:38 2013] [error] [client 10.113.80.41] raise
ImportError('PIL is not available'), referer: http://map.geoportail.lu/
[Fri Aug 23 09:04:38 2013] [error] [client 10.113.80.41] ImportError: PIL
is not available, referer: http://map.geoportail.lu/
[Fri Aug 23 09:04:38 2013] [error] No handlers could be found for logger
"mapproxy.source.wms"
I've reinstalled PIL using yum install PIL and now it works again ..
(BTW: Python 2.6.6 on RHEL 6.4)
Kind regards
Jeff
On Thu, Aug 22, 2013 at 4:04 PM, Oliver Tonnhofer <olt at omniscale.de> wrote:
> Hi,
>
> On 22.08.2013, at 15:53, Jeff Konnen wrote:
> > I've installed the RC1 and Pillow. I am not sure though it uses Pillow
> correctly.
> > When I uninstall the old PIL from my machine, mapproxy won't work.
> > Is there a trick to specify that I want to use Pillow?
>
> Just reinstall MapProxy. Python (setuptools) doesn't support alternative
> dependencies.
> MapProxy depends on Pillow if was installed before MapProxy, otherwise it
> depends on PIL. If you install Pillow after MapProxy, then MapProxy will
> still depend on PIL.
>
>
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.com
> http://mapproxy.org | https://github.com/olt | @oltonn
>
>
>
>
>
>
>
>
--
Jeff Konnen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20130823/982a2410/attachment.html>
More information about the MapProxy
mailing list