Hi, I maybe found a bug or misunderstand something in the debugging/logging section of universal_wsgi.ini I wanted to disable any logging and so commented everything within the logging section: |# ---- Logging and Debugging ------------------------------------------------ # Verbosity of log messages #log_level = DEBUG # Log memory usage #log_memory_usage = False # Log events #log_events = True # Log user actions #log_actions = False # Configuration for debugging middleware #debug = True #use_lint = False # Interactive debugging - NEVER enable this on a public site #use_interactive = False # Write thread status periodically to 'heartbeat.log' (careful, uses disk space rapidly!) #use_heartbeat = False # Enable the memory debugging interface (careful, negatively impacts server performance) #use_memdump = False # Profiling middleware (cProfile based) #use_profile = False | When I then start Galaxy the complete History shows only "Internal Server Error" and the Galaxy Log: |Starting server in PID 5470. serving on http://127.0.0.1:8080 192.168.3.90 - - [15/Jul/2010:17:29:23 +0200] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.19) Gecko/2010040121 Ubuntu/9.04 (jaunty) Firefox/3.0.19" 192.168.3.90 - - [15/Jul/2010:17:29:23 +0200] "GET /history HTTP/1.1" 200 - "http://bioapp07/" "Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.19) Gecko/2010040121 Ubuntu/9.04 (jaunty) Firefox/3.0.19" ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38584) Traceback (most recent call last): File "/r1/people/galaxy/galaxy_dist/eggs/Paste-1.6-py2.6.egg/paste/httpserver.py", line 1053, in process_request_in_thread self.finish_request(request, client_address) File "/usr/lib/python2.6/SocketServer.py", line 320, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python2.6/SocketServer.py", line 615, in __init__ self.handle() File "/r1/people/galaxy/galaxy_dist/eggs/Paste-1.6-py2.6.egg/paste/httpserver.py", line 432, in handle BaseHTTPRequestHandler.handle(self) File "/usr/lib/python2.6/BaseHTTPServer.py", line 329, in handle self.handle_one_request() File "/r1/people/galaxy/galaxy_dist/eggs/Paste-1.6-py2.6.egg/paste/httpserver.py", line 427, in handle_one_request self.wsgi_execute() File "/r1/people/galaxy/galaxy_dist/eggs/Paste-1.6-py2.6.egg/paste/httpserver.py", line 290, in wsgi_execute self.wsgi_write_chunk(chunk) File "/r1/people/galaxy/galaxy_dist/eggs/Paste-1.6-py2.6.egg/paste/httpserver.py", line 125, in wsgi_write_chunk "Content returned before start_response called") RuntimeError: Content returned before start_response called ---------------------------------------- 192.168.3.90 - - [15/Jul/2010:17:29:23 +0200] "GET /root/tool_menu HTTP/1.1" 200 - "http://bioapp07/" "Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.19) Gecko/2010040121 Ubuntu/9.04 (jaunty) Firefox/3.0.19" | After uncommenting everything in the logging section, galaxy works fine again. Whats the matter and how can I disable the debug messages, and especially: |192.168.3.90 - - [15/Jul/2010:17:29:23 +0200] "GET /root/tool_menu HTTP/1.1" 200 - "http://bioapp07/" "Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.19) Gecko/2010040121 Ubuntu/9.04 (jaunty) Firefox/3.0.19"| I use Galaxy behind a Apache with NIS userauthentification. Regards, Michael ;-)
participants (1)
-
Michael Siebauer