[MapProxy] Mapproxy 0.8.4 did not starts in Production mode.
Gregory Komissarov
gregory.komissarov at gmail.com
Wed Sep 15 05:26:32 EDT 2010
Hi All.
First of all,thank you for the work you have done.
I have just installed Mapproxy 0.8.4 in virtual env on Centos 5.5 x64
with python 2.6.
If I try to start web server with that command:
paster serve etc/develop.ini --reload
All works fine. But if I try to start mapproxy in FCGI
mode(Production), with that command:
paster serve etc/config.ini
I get a error:
==============
http://pastie.org/1160150
Traceback (most recent call last):
File "/opt/mapproxy/bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
File "/opt/mapproxy/lib/python2.6/site-packages/paste/script/command.py",
line 84, in run
invoke(command, command_name, options, args[1:])
File "/opt/mapproxy/lib/python2.6/site-packages/paste/script/command.py",
line 123, in invoke
exit_code = runner.run(args)
File "/opt/mapproxy/lib/python2.6/site-packages/paste/script/command.py",
line 218, in run
result = self.command()
File "/opt/mapproxy/lib/python2.6/site-packages/paste/script/serve.py",
line 276, in command
relative_to=base, global_conf=vars)
File "/opt/mapproxy/lib/python2.6/site-packages/paste/script/serve.py",
line 313, in loadapp
**kw)
File "/opt/mapproxy/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
line 203, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/opt/mapproxy/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
line 224, in loadobj
return context.create()
File "/opt/mapproxy/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
line 617, in create
return self.object_type.invoke(self)
File "/opt/mapproxy/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
line 109, in invoke
return fix_call(context.object, context.global_conf, **context.local_conf)
File "/opt/mapproxy/lib/python2.6/site-packages/paste/deploy/util/fixtypeerror.py",
line 57, in fix_call
val = callable(*args, **kw)
File "/opt/mapproxy/lib/python2.6/site-packages/mapproxy/core/app.py",
line 49, in app_factory
init_logging_system(log_conf=log_conf)
File "/opt/mapproxy/lib/python2.6/site-packages/mapproxy/core/app.py",
line 83, in init_logging_system
logging.config.fileConfig(log_conf, dict(here=base_config().conf_base_dir))
File "/usr/lib64/python2.6/logging/config.py", line 84, in fileConfig
handlers = _install_handlers(cp, formatters)
File "/usr/lib64/python2.6/logging/config.py", line 156, in _install_handlers
klass = _resolve(klass)
File "/usr/lib64/python2.6/logging/config.py", line 94, in _resolve
found = __import__(used)
ImportError: No module named handlers
config.ini is standart:
===============
http://pastie.org/1160154
[app:main]
use = egg:MapProxy#app
services_conf = %(here)s/services.yaml
proxy_conf = %(here)s/proxy.yaml
log_conf = %(here)s/log_deploy.ini
[server:main]
use = egg:Flup#fcgi_fork
## connect via socket
socket = %(here)s/../var/fcgi-socket
# webserver runs as other user
umask = 000
# webserver runs in same group/user
# umask = 002
maxRequests = 500
minSpare = 4
maxSpare = 16
maxChildren = 64
## connect via tcp/ip
# host = 127.0.0.1
# port = 5050
Thanks in advance
--
With great regards
Gregory Komissarov
Mob +7 905 288 4181
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20100915/4a768ba6/attachment.html
More information about the MapProxy
mailing list