[MapProxy] Need help for get runinng mapproxy on openSUSE

edv hotline edv.hotline at gruner.ch
Fri Nov 15 08:36:46 PST 2013


Hi,
 
I'm new with mapproxy, and I tray to run any Swiss map with mapproxy
On github.com site I find this https://github.com/gjn/mf-chsdi/blob/master/mapproxy/mapproxy.yaml
but if I try to run I get a error message below.
 
 # mapproxy-util serve-develop /gruner/mapproxy.yaml
[2013-11-15 16:36:27,666] mapproxy.config - INFO - reading: /gruner/mapproxy.yaml
Traceback (most recent call last):
  File "/usr/local/bin/mapproxy-util", line 9, in <module>
    load_entry_point('MapProxy==1.7.0a-20131114', 'console_scripts', 'mapproxy-util')()
  File "/usr/local/lib/python2.7/site-packages/mapproxy/script/util.py", line 353, in main
    commands[command]['func'](args)
  File "/usr/local/lib/python2.7/site-packages/mapproxy/script/util.py", line 76, in serve_develop_command
    app = make_wsgi_app(mapproxy_conf, debug=options.debug)
  File "/usr/local/lib/python2.7/site-packages/mapproxy/wsgiapp.py", line 100, in make_wsgi_app
    services = conf.configured_services()
  File "/usr/local/lib/python2.7/site-packages/mapproxy/config/loader.py", line 208, in configured_services
    return self.services.services()
  File "/usr/local/lib/python2.7/site-packages/mapproxy/config/loader.py", line 1401, in services
    new_services = creator(service_conf or {})
  File "/usr/local/lib/python2.7/site-packages/mapproxy/config/loader.py", line 1488, in wms_service
    tile_layers = self.tile_layers(conf)
  File "/usr/local/lib/python2.7/site-packages/mapproxy/config/loader.py", line 1420, in tile_layers
    for tile_layer in layer_conf.tile_layers():
  File "/usr/local/lib/python2.7/site-packages/mapproxy/util/py.py", line 62, in wrapper
    cache[args] = func(self, *args)
  File "/usr/local/lib/python2.7/site-packages/mapproxy/config/loader.py", line 1356, in tile_layers
    for grid, extent, cache_source in self.context.caches[cache_name].caches():
  File "/usr/local/lib/python2.7/site-packages/mapproxy/util/py.py", line 62, in wrapper
    cache[args] = func(self, *args)
  File "/usr/local/lib/python2.7/site-packages/mapproxy/config/loader.py", line 1146, in caches
    source = source_conf.source({'format': request_format})
  File "/usr/local/lib/python2.7/site-packages/mapproxy/config/loader.py", line 849, in source
    grid = self.context.grids[self.conf['grid']].tile_grid()
  File "/usr/local/lib/python2.7/site-packages/mapproxy/util/py.py", line 62, in wrapper
    cache[args] = func(self, *args)
  File "/usr/local/lib/python2.7/site-packages/mapproxy/config/loader.py", line 301, in tile_grid
    origin=conf.get('origin')
  File "/usr/local/lib/python2.7/site-packages/mapproxy/grid.py", line 100, in tile_grid
    srs = SRS(srs)
  File "/usr/local/lib/python2.7/site-packages/mapproxy/srs.py", line 88, in SRS
    srs = _SRS(srs_code)
  File "/usr/local/lib/python2.7/site-packages/mapproxy/srs.py", line 121, in __init__
    self.proj = Proj(init='epsg:%d' % epsg_num)
  File "/usr/local/lib/python2.7/site-packages/mapproxy/platform/cpython/proj.py", line 153, in __init__
    (proj_def, init, libproj.pj_strerrno(errno)))
mapproxy.platform.cpython.proj.ProjInitError: error initializing Proj(proj_def=None, init='epsg:21781'): no system list, errno: 2
 
What is wrong here?
My Mapproxy Version is 
# mapproxy-util --version
Mapproxy 1.7.0a-20131114

and Linux dist.
openSUSE 12.2 (i586)
VERSION = 12.2
CODENAME = Mantis
With Ubuntu I can run this mapproxy.yaml file without any problem, but we prefer SuSE.
 
Thans a lot for a help
 
Regards 
Amila


Ihre IT-Hotline der Gruner Gruppe

Gruner AG
St.Jakobs-Strasse 199 / Postfach 
CH-4020 Basel
T: +41 61 317 63 00
Mailto: edv.hotline at gruner.ch
http://www.gruner.ch

Haftungsausschluss: 
Diese E-Mail enthaelt u.U. vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail sind untersagt.
Diese E-Mail wurde durch unseren MAILsweeper geprueft. Weder die Gruner Gruppe noch der Sender koennen zur Verantwortung gezogen werden fuer defekte Daten infolge von Viren oder Uebermittlungsfehlern.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20131115/9dbd87ef/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapproxy.yaml
Type: application/octet-stream
Size: 4108 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20131115/9dbd87ef/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: WMS GetCapabilities.TXT
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20131115/9dbd87ef/attachment.ksh>


More information about the MapProxy mailing list