Question: Handler dying with serve() error
0
gravatar for tuto345
4.0 years ago by
tuto34520
France
tuto34520 wrote:

Hi All,

I have an error each time I launch my galaxy server which kills the handler leaving me with only one handler of the two I configured. The error consistently occurs in handler1 and not handler0 which I find strange as they both run the same code. Might there be some state preserved in the database that makes handler1 to try to repeat the error consistently across restarts?

The logs shows this error message:

Traceback (most recent call last):
  File "./scripts/paster.py", line 33, in <module>
    serve.run()
  File "/home/galaxy/galaxy-dist/lib/galaxy/util/pastescript/serve.py", line 1049, in run
    invoke(command, command_name, options, args[1:])
  File "/home/galaxy/galaxy-dist/lib/galaxy/util/pastescript/serve.py", line 1055, in invoke
    exit_code = runner.run(args)
  File "/home/galaxy/galaxy-dist/lib/galaxy/util/pastescript/serve.py", line 220, in run
    result = self.command()
  File "/home/galaxy/galaxy-dist/lib/galaxy/util/pastescript/serve.py", line 670, in command
    serve()
  File "/home/galaxy/galaxy-dist/lib/galaxy/util/pastescript/serve.py", line 654, in serve
    server(app)
  File "/home/galaxy/galaxy-dist/lib/galaxy/util/pastescript/loadwsgi.py", line 292, in server_wrapper
    **context.local_conf)
  File "/home/galaxy/galaxy-dist/lib/galaxy/util/pastescript/loadwsgi.py", line 100, in fix_call
    reraise(*exc_info)
  File "/home/galaxy/galaxy-dist/lib/galaxy/util/pastescript/loadwsgi.py", line 37, in reraise
    exec('raise t, e, tb', dict(t=t, e=e, tb=tb))
  File "/home/galaxy/galaxy-dist/lib/galaxy/util/pastescript/loadwsgi.py", line 97, in fix_call
    val = callable(*args, **kw)
  File "/home/galaxy/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py", line 1342, in server_runner
    serve(wsgi_app, **kwargs)
TypeError: serve() got an unexpected keyword argument 'cleanup_job'

 

Any idea how to get back my job handler??

Thanks

Cristian

software error • 967 views
ADD COMMENTlink modified 4.0 years ago • written 4.0 years ago by tuto34520
0
gravatar for Dannon Baker
4.0 years ago by
Dannon Baker3.7k
United States
Dannon Baker3.7k wrote:

This is due to a misconfigured galaxy.ini (formerly universe_wsgi.ini).  Do you have 'cleanup_job' in the file in the [server] section associated with the job handler?

That keyword won't work there, it needs to be in the [app:main] section.

ADD COMMENTlink written 4.0 years ago by Dannon Baker3.7k
0
gravatar for tuto345
4.0 years ago by
tuto34520
France
tuto34520 wrote:

Thanks Dannon,

Indeed, a grep on the galaxy.ini file showed me that I had a second copy of the cleanup_jobs directive, found it almost at the bottom of the file. I must have made an accidental copy of it at some point!

 

Thanks again,

Cristian

ADD COMMENTlink written 4.0 years ago by tuto34520
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: 180 users visited in the last hour