python - Kallithea (waitress) not starting -


i made kallithea's installation (into virtualenv) according official guide. then, got following error:

(metal)1:17:46 root@dervish mercurial paster serve my.ini 2015-04-26 01:17:49.003 info  [kallithea.model] initializing db sqlite:////opt/scm/mercurial/kallithea.db?timeout=60 2015-04-26 01:17:49.003 info  [kallithea.lib.auth] getting information available permissions starting server in pid 12321. traceback (most recent call last):   file "/opt/scm/mercurial/metal/bin/paster", line 9, in <module>     load_entry_point('pastescript==1.7.5', 'console_scripts', 'paster')()   file "/opt/scm/mercurial/metal/lib/python2.7/site-packages/paste/script/command.py", line 104, in run     invoke(command, command_name, options, args[1:])   file "/opt/scm/mercurial/metal/lib/python2.7/site-packages/paste/script/command.py", line 143, in invoke     exit_code = runner.run(args)   file "/opt/scm/mercurial/metal/lib/python2.7/site-packages/paste/script/command.py", line 238, in run     result = self.command()   file "/opt/scm/mercurial/metal/lib/python2.7/site-packages/paste/script/serve.py", line 311, in command     serve()   file "/opt/scm/mercurial/metal/lib/python2.7/site-packages/paste/script/serve.py", line 295, in serve     server(app)   file "/opt/scm/mercurial/metal/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 189, in server_wrapper     **context.local_conf)   file "/opt/scm/mercurial/metal/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call     val = callable(*args, **kw)   file "/opt/scm/mercurial/metal/lib/python2.7/site-packages/waitress/__init__.py", line 21, in serve_paste     serve(app, **kw)   file "/opt/scm/mercurial/metal/lib/python2.7/site-packages/waitress/__init__.py", line 11, in serve     server = _server(app, **kw)   file "/opt/scm/mercurial/metal/lib/python2.7/site-packages/waitress/server.py", line 39, in create_server     adj = adjustments(**kw)   file "/opt/scm/mercurial/metal/lib/python2.7/site-packages/waitress/adjustments.py", line 176, in __init__     raise valueerror('unknown adjustment %r' % k) valueerror: unknown adjustment 'http' 

ps: few options touched in config. p.p.s: secrion in config (my.ini) unclear me:

[server:main] ## paste ## # use = egg:paste #http ## nr of worker threads spawn threadpool_workers = 3 ## max request before thread respawn threadpool_max_requests = 10 ## option use threads of process use_threadpool = true  ## waitress ## use = egg:waitress#main ## number of worker threads threads = 5 ## max body size 100gb max_request_body_size = 107374182400 ## use poll instead of select, fixes fd limits, may not work on old ## windows systems. #asyncore_use_poll = true 

i tried comment out use = egg:paste no luck.

this section allows select http server use , specify options. can select (use =) 1 @ time, , need specify options understands (they're different different http servers). choose 1 , configure it, comment out rest.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -