Question: 'WSGIThreadPoolServer' object has no attribute 'thread_pool'
0
gravatar for christophe.habib
3.2 years ago by
France
christophe.habib • 340 wrote:

Hi guys,

I am trying to install a new local instance of galaxy, on a newly installed server DELL. But when i'm trying to launch the ./run.sh I have this error right after "Starting server in PID 29876":

Traceback (most recent call last):
  File "./scripts/paster.py", line 37, in <module>
    serve.run()
  File "/home/galaxy/galaxy/lib/galaxy/util/pastescript/serve.py", line 1049, in run
    invoke(command, command_name, options, args[1:])
  File "/home/galaxy/galaxy/lib/galaxy/util/pastescript/serve.py", line 1055, in invoke
    exit_code = runner.run(args)
  File "/home/galaxy/galaxy/lib/galaxy/util/pastescript/serve.py", line 220, in run
    result = self.command()
  File "/home/galaxy/galaxy/lib/galaxy/util/pastescript/serve.py", line 670, in command
    serve()
  File "/home/galaxy/galaxy/lib/galaxy/util/pastescript/serve.py", line 654, in serve
    server(app)
  File "/home/galaxy/galaxy/lib/galaxy/util/pastescript/loadwsgi.py", line 292, in server_wrapper
    **context.local_conf)
  File "/home/galaxy/galaxy/lib/galaxy/util/pastescript/loadwsgi.py", line 97, in fix_call
    val = callable(*args, **kw)
  File "/home/galaxy/galaxy/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py", line 1342, in server_runner
    serve(wsgi_app, **kwargs)
  File "/home/galaxy/galaxy/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py", line 1291, in serve
    request_queue_size=request_queue_size)
  File "/home/galaxy/galaxy/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py", line 1134, in __init__
    request_queue_size=request_queue_size)
  File "/home/galaxy/galaxy/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py", line 1113, in __init__
    request_queue_size=request_queue_size)
  File "/home/galaxy/galaxy/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py", line 328, in __init__
    HTTPServer.__init__(self, server_address, RequestHandlerClass)
  File "/usr/lib/python2.7/SocketServer.py", line 423, in __init__
    self.server_close()
  File "/home/galaxy/galaxy/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py", line 1105, in server_close
    self.thread_pool.shutdown(60)
AttributeError: 'WSGIThreadPoolServer' object has no attribute 'thread_pool'

 

This error come from the line  "use_threadpool = True" in the galaxy.ini file. I don't know why it doesn't work on this new server.

Did anyone had this problem? How can i solve this? Did I forget to install some important stuff on my server to launch galaxy?

Many thanks for your help.

Christ

bug thread pool • 2.8k views
ADD COMMENT • link • modified 3.1 years ago • written 3.2 years ago by christophe.habib • 340
0
gravatar for christophe.habib
3.2 years ago by
France
christophe.habib • 340 wrote:

Well, it is the kind of error you get if you try to specify port 80...

ADD COMMENT • link written 3.2 years ago by christophe.habib • 340
0
gravatar for christophe.habib
3.1 years ago by
France
christophe.habib • 340 wrote:

So, you will have the very same error if you try to launch run.sh with a job running in the local runner from your previous use of run.sh (a data manager running in background, for example..)

ADD COMMENT • link written 3.1 years ago by christophe.habib • 340
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 171 users visited in the last hour