[MapProxy] problem start mapproxy as a production system

Lars Schrader schrader at geoinformationsdienst.de
Fri Mar 18 08:46:24 EDT 2011


Hello list,

I have a problem to start mapproxy as a production system ('paster serve 
etc/develop.ini --reload' starts without problems).
I want to use mapproxy together with a apache webserver.

I have installed mapproxy in the following way -> 
http://mapproxy.org/docs/1.0.0/install.html#install-mapproxy

................................................
source mapproxy/bin/activate
cd mymapproxy
paster serve etc/config.ini

Then I got the following error:

2011-03-18 13:39:43,859 - INFO - 
2017:mapproxy.config.loader:load_configuration - Reading services 
configuration: /home/mapproxy/mymapproxy/etc/mapproxy.yaml
Starting server in PID 2017.
Traceback (most recent call last):
   File "/home/mapproxy/mapproxy/bin/paster", line 9, in <module>
     load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
   File 
"/home/mapproxy/mapproxy/lib/python2.6/site-packages/paste/script/command.py", 
line 84, in run
     invoke(command, command_name, options, args[1:])
   File 
"/home/mapproxy/mapproxy/lib/python2.6/site-packages/paste/script/command.py", 
line 123, in invoke
     exit_code = runner.run(args)
   File 
"/home/mapproxy/mapproxy/lib/python2.6/site-packages/paste/script/command.py", 
line 218, in run
     result = self.command()
   File 
"/home/mapproxy/mapproxy/lib/python2.6/site-packages/paste/script/serve.py", 
line 303, in command
     serve()
   File 
"/home/mapproxy/mapproxy/lib/python2.6/site-packages/paste/script/serve.py", 
line 287, in serve
     server(app)
   File 
"/home/mapproxy/mapproxy/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", 
line 150, in server_wrapper
     **context.local_conf)
   File 
"/home/mapproxy/mapproxy/lib/python2.6/site-packages/paste/deploy/util/fixtypeerror.py", 
line 57, in fix_call
     val = callable(*args, **kw)
TypeError: run_fcgi_fork() got an unexpected keyword argument 'maxChildren'


Have I forgotten to install a package or a library? When I try to 
comment 'maxChildren' and start mapproxy again I get the same error
only the last line is changed:

TypeError: run_fcgi_fork() got an unexpected keyword argument 'maxRequests'

I hope somebody can give me a hint.

Regardy, Lars


More information about the MapProxy mailing list