[MapProxy] MapProxy fails with mapnik source

Егор Сальников e.salnikov at sgsim.ru
Wed Sep 12 06:15:35 PDT 2012


Hello everyone.

Could I, please, have some attention. I am verry sorry for bumping my 
own thread, but i need some help with mapproxy and this is the official 
MapProxy list. If i have done something wrong or community needs some 
more information on my problem, please - let me know - please dont just 
ignore the problem. I've spent days already trying to get everything 
working, using official how-tos and install instructions. Mapnik and 
Mapproxy work by themselves, but as i've previously explained - 
combined, mapproxy hangs.

If the problem is stupid and there is some web page explaining this - 
please tell - maybe there is no problem from some fresh point of view - 
i guess i'm in some kind of closed loop already.

Again, grateful in advance.
Egor Salnikov

PS Last lines of mapproxy-util trace output.
_init__.py(309):     for name, obj in vars.items():
__init__.py(310):         if name.endswith('Symbolizer') and not 
name.startswith('_'):
__init__.py(311):             if name == 'Symbolizer':
__init__.py(314):                 symbol = symbol_for_subcls
__init__.py(315):             type('dummy', (obj,_injector), {'symbol': 
symbol})
  --- modulename: __init__, funcname: __init__
__init__.py(57):         for b in bases:
__init__.py(58):             if type(b) not in (self, type):
__init__.py(59):                 for k,v in list(dict.items()):
__init__.py(60):                     if hasattr(b, k):
__init__.py(62):                     setattr(b,k,v)
__init__.py(59):                 for k,v in list(dict.items()):
__init__.py(57):         for b in bases:
__init__.py(58):             if type(b) not in (self, type):
__init__.py(59):                 for k,v in list(dict.items()):
__init__.py(60):                     if hasattr(b, k):
__init__.py(61):                         setattr(b, '_c_'+k, getattr(b, k))
__init__.py(62):                     setattr(b,k,v)
__init__.py(59):                 for k,v in list(dict.items()):
__init__.py(57):         for b in bases:
__init__.py(63):         return type.__init__(self, name, bases, dict)
__init__.py(309):     for name, obj in vars.items():
__init__.py(310):         if name.endswith('Symbolizer') and not 
name.startswith('_'):
__init__.py(309):     for name, obj in vars.items():
__init__.py(310):         if name.endswith('Symbolizer') and not 
name.startswith('_'):
__init__.py(309):     for name, obj in vars.items():
__init__.py(310):         if name.endswith('Symbolizer') and not 
name.startswith('_'):
__init__.py(309):     for name, obj in vars.items():
__init__.py(310):         if name.endswith('Symbolizer') and not 
name.startswith('_'):
__init__.py(309):     for name, obj in vars.items():
__init__.py(310):         if name.endswith('Symbolizer') and not 
name.startswith('_'):
__init__.py(309):     for name, obj in vars.items():
__init__.py(310):         if name.endswith('Symbolizer') and not 
name.startswith('_'):
__init__.py(309):     for name, obj in vars.items():
__init__.py(310):         if name.endswith('Symbolizer') and not 
name.startswith('_'):
__init__.py(309):     for name, obj in vars.items():
__init__.py(310):         if name.endswith('Symbolizer') and not 
name.startswith('_'):
__init__.py(309):     for name, obj in vars.items():
__init__.py(318): def Datasource(**keywords):
__init__.py(336): def Shapefile(**keywords):
__init__.py(355): def PostGIS(**keywords):
__init__.py(399): def Raster(**keywords):

<hangs here>

On 07.09.2012 18:21, Егор Сальников wrote:
> Hi,
>
> I've got MapProxy 1.4.0 with Mapnik 2.1 source with mapfile pointing 
> to postgresql db as datasource. And it doesnt work.
>
> # mapproxy-util serve-develop -b <myIP> mapproxy.yaml
>
> outputs
>
> mapproxy.config - INFO - reading: /srv/temp/mymapproxy/mapproxy.yaml
> mapproxy.system - INFO - using libproj for coordinate transformation
>
> and hangs forever, no CPU usage or any other signs of work. i've tried
>
> # python -m trace --trace mapproxy-util serve-develop -b <myIP> 
> mapproxy.yaml
>
> which gives me 34mb of trace output
>
> The used mapproxy.yaml is a copy of default, with source type changed 
> to mapnik.
>
> The default mapproxy.yaml works great. renderd with specified 
> myosm.xml renders tiles with no problem.
>
> I have tried different thing like writing minimal mapproxy.yaml (like 
> the one in the online docs) with no change.
>
> Grateful in advance.
>
> Egor Salnikov
>
PS Last lines in
>
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20120912/3fbc0911/attachment.html>


More information about the MapProxy mailing list