Server error from history view
Hi all, I encounter the same error that was already mentioned in this list (with the same email title). For me it also does only happen when debug is set to false. However I could not find a solution to it in the archive of the mailing list. I tried it with both galaxy-dist and galaxy-central, newest version. The error is as follows: 10.1.5.190 - - [10/Mar/2011:11:41:20 +0200] "GET /history HTTP/1.1" 500 - "http://solweb2/" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110301 Fedora/3.6.14-1.fc14 Firefox/3.6.14" Error - <type 'exceptions.TypeError'>: 'NoneType' object is not callable URL: http://solweb2/history File '/usr/lib/python2.6/site-packages/paste/exceptions/errormiddleware.py', line 144 in __call__ app_iter = self.application(environ, sr_checker) File '/usr/lib/python2.6/site-packages/paste/recursive.py', line 80 in __call__ return self.application(environ, start_response) File '/usr/lib/python2.6/site-packages/paste/httpexceptions.py', line 633 in __call__ return self.application(environ, start_response) File '/galaxy/galaxy_server/lib/galaxy/web/framework/base.py', line 154 in __call__ return body( environ, start_response ) File '/galaxy/galaxy_server/lib/galaxy/web/framework/__init__.py', line 676 in render template.render_context( context ) File '/galaxy/galaxy_server/eggs/Mako-0.2.5-py2.6.egg/mako/template.py', line 146 in render_context runtime._render_context(self, self.callable_, context, *args, **kwargs) File '/galaxy/galaxy_server/eggs/Mako-0.2.5-py2.6.egg/mako/runtime.py', line 381 in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File '/galaxy/galaxy_server/eggs/Mako-0.2.5-py2.6.egg/mako/runtime.py', line 414 in _exec_template callable_(context, *args, **kwargs) File '/galaxy/galaxy_server/database/compiled_templates/root/history.mako.py', line 55 in render_body __M_writer(u'\n<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n\n<html>\n\n<head>\n<title>') File '/galaxy/galaxy_server/lib/galaxy/web/framework/__init__.py', line 673 in write response_write( d.encode( 'utf-8' ) ) TypeError: 'NoneType' object is not callable CGI Variables ------------- CONTENT_LENGTH: '0' HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' HTTP_ACCEPT_CHARSET: 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' HTTP_ACCEPT_ENCODING: 'gzip,deflate' HTTP_ACCEPT_LANGUAGE: 'en-us,en;q=0.5' HTTP_CONNECTION: 'Keep-Alive' HTTP_COOKIE: 'galaxysession=f611411aa8a0c665eb9e71b6b35ec98d69a19a7826eff47d201855aea491539e3c45f483349e57b4' HTTP_HOST: 'solweb2' HTTP_REFERER: 'http://solweb2/' HTTP_USER_AGENT: 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110301 Fedora/3.6.14-1.fc14 Firefox/3.6.14' HTTP_X_FORWARDED_FOR: '10.1.5.190' HTTP_X_FORWARDED_HOST: 'solweb2' HTTP_X_FORWARDED_SERVER: 'solweb2' ORGINAL_HTTP_HOST: 'localhost:8080' ORGINAL_REMOTE_ADDR: '127.0.0.1' PATH_INFO: '/history' REMOTE_ADDR: '10.1.5.190' REQUEST_METHOD: 'GET' SERVER_NAME: '0.0.0.0' SERVER_PORT: '8080' SERVER_PROTOCOL: 'HTTP/1.1' Configuration ------------- __file__: '/galaxy/galaxy_server/universe_wsgi.ini' admin_users: 'diehl@immunbio.mpg.de,lims_mq@solweb1.immunbio.mpg.de' allow_library_path_paste: 'True' allow_user_creation: 'True' allow_user_deletion: 'False' cookie_path: '/' database_connection: 'postgres://galaxy:galaxy@localhost/galaxy' database_engine_option_server_side_cursors: 'True' database_engine_option_strategy: 'threadlocal' datatypes_config_file: 'datatypes_conf.xml' debug: 'False' enable_api: 'True' enable_sequencer_communication: 'True' file_path: 'database/files' gbrowse_display_sites: 'wormbase,tair,modencode_worm,modencode_fly' genetrack_display_sites: 'main,test' here: '/galaxy/galaxy_server' id_secret: 'MPI IMMUNBIOLOGIE' library_import_dir: '/galaxy/galaxy_server/data' log_actions: 'True' log_events: 'True' log_level: 'DEBUG' new_file_path: 'database/tmp' new_user_dataset_access_role_default_private: 'True' require_login: 'False' static_cache_time: '360' static_dir: '/galaxy/galaxy_server/static/' static_enabled: 'True' static_favicon_dir: '/galaxy/galaxy_server/static/favicon.ico' static_images_dir: '/galaxy/galaxy_server/static/images' static_scripts_dir: '/galaxy/galaxy_server/static/scripts/' static_style_dir: '/galaxy/galaxy_server/static/june_2007_style/blue' tool_config_file: 'tool_conf.xml' tool_data_path: 'tool-data' tool_path: 'tools' ucsc_display_sites: 'main,test,archaea,ucla' use_interactive: 'False' use_lint: 'False' use_profile: 'False' WSGI Variables -------------- application: <paste.recursive.RecursiveMiddleware object at 0x63ab690> paste.cookies: (<SimpleCookie: galaxysession='f611411aa8a0c665eb9e71b6b35ec98d69a19a7826eff47d201855aea491539e3c45f483349e57b4'>, 'galaxysession=f611411aa8a0c665eb9e71b6b35ec98d69a19a7826eff47d201855aea491539e3c45f483349e57b4') paste.expected_exceptions: [<class 'paste.httpexceptions.HTTPException'>] paste.httpexceptions: <paste.httpexceptions.HTTPExceptionHandler object at 0x692eb50> paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x263ad90> paste.recursive.forward: <paste.recursive.Forwarder from /> paste.recursive.include: <paste.recursive.Includer from /> paste.recursive.include_app_iter: <paste.recursive.IncluderAppIter from /> paste.recursive.script_name: '' paste.throw_errors: True webob._parsed_query_vars: (MultiDict([]), '') wsgi process: 'Multithreaded' ------------------------------------------------------------ Any help would be greatly appreciated. Best regards, Sarah
Hi Sarah, Does this occur with all histories? Does it change if you create a new history? --nate Sarah Diehl wrote:
Hi all,
I encounter the same error that was already mentioned in this list (with the same email title). For me it also does only happen when debug is set to false. However I could not find a solution to it in the archive of the mailing list. I tried it with both galaxy-dist and galaxy-central, newest version.
The error is as follows:
10.1.5.190 - - [10/Mar/2011:11:41:20 +0200] "GET /history HTTP/1.1" 500 - "http://solweb2/" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110301 Fedora/3.6.14-1.fc14 Firefox/3.6.14" Error - <type 'exceptions.TypeError'>: 'NoneType' object is not callable URL: http://solweb2/history File '/usr/lib/python2.6/site-packages/paste/exceptions/errormiddleware.py', line 144 in __call__ app_iter = self.application(environ, sr_checker) File '/usr/lib/python2.6/site-packages/paste/recursive.py', line 80 in __call__ return self.application(environ, start_response) File '/usr/lib/python2.6/site-packages/paste/httpexceptions.py', line 633 in __call__ return self.application(environ, start_response) File '/galaxy/galaxy_server/lib/galaxy/web/framework/base.py', line 154 in __call__ return body( environ, start_response ) File '/galaxy/galaxy_server/lib/galaxy/web/framework/__init__.py', line 676 in render template.render_context( context ) File '/galaxy/galaxy_server/eggs/Mako-0.2.5-py2.6.egg/mako/template.py', line 146 in render_context runtime._render_context(self, self.callable_, context, *args, **kwargs) File '/galaxy/galaxy_server/eggs/Mako-0.2.5-py2.6.egg/mako/runtime.py', line 381 in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File '/galaxy/galaxy_server/eggs/Mako-0.2.5-py2.6.egg/mako/runtime.py', line 414 in _exec_template callable_(context, *args, **kwargs) File '/galaxy/galaxy_server/database/compiled_templates/root/history.mako.py', line 55 in render_body __M_writer(u'\n<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n\n<html>\n\n<head>\n<title>') File '/galaxy/galaxy_server/lib/galaxy/web/framework/__init__.py', line 673 in write response_write( d.encode( 'utf-8' ) ) TypeError: 'NoneType' object is not callable
CGI Variables ------------- CONTENT_LENGTH: '0' HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' HTTP_ACCEPT_CHARSET: 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' HTTP_ACCEPT_ENCODING: 'gzip,deflate' HTTP_ACCEPT_LANGUAGE: 'en-us,en;q=0.5' HTTP_CONNECTION: 'Keep-Alive' HTTP_COOKIE: 'galaxysession=f611411aa8a0c665eb9e71b6b35ec98d69a19a7826eff47d201855aea491539e3c45f483349e57b4' HTTP_HOST: 'solweb2' HTTP_REFERER: 'http://solweb2/' HTTP_USER_AGENT: 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110301 Fedora/3.6.14-1.fc14 Firefox/3.6.14' HTTP_X_FORWARDED_FOR: '10.1.5.190' HTTP_X_FORWARDED_HOST: 'solweb2' HTTP_X_FORWARDED_SERVER: 'solweb2' ORGINAL_HTTP_HOST: 'localhost:8080' ORGINAL_REMOTE_ADDR: '127.0.0.1' PATH_INFO: '/history' REMOTE_ADDR: '10.1.5.190' REQUEST_METHOD: 'GET' SERVER_NAME: '0.0.0.0' SERVER_PORT: '8080' SERVER_PROTOCOL: 'HTTP/1.1'
Configuration ------------- __file__: '/galaxy/galaxy_server/universe_wsgi.ini' admin_users: 'diehl@immunbio.mpg.de,lims_mq@solweb1.immunbio.mpg.de' allow_library_path_paste: 'True' allow_user_creation: 'True' allow_user_deletion: 'False' cookie_path: '/' database_connection: 'postgres://galaxy:galaxy@localhost/galaxy' database_engine_option_server_side_cursors: 'True' database_engine_option_strategy: 'threadlocal' datatypes_config_file: 'datatypes_conf.xml' debug: 'False' enable_api: 'True' enable_sequencer_communication: 'True' file_path: 'database/files' gbrowse_display_sites: 'wormbase,tair,modencode_worm,modencode_fly' genetrack_display_sites: 'main,test' here: '/galaxy/galaxy_server' id_secret: 'MPI IMMUNBIOLOGIE' library_import_dir: '/galaxy/galaxy_server/data' log_actions: 'True' log_events: 'True' log_level: 'DEBUG' new_file_path: 'database/tmp' new_user_dataset_access_role_default_private: 'True' require_login: 'False' static_cache_time: '360' static_dir: '/galaxy/galaxy_server/static/' static_enabled: 'True' static_favicon_dir: '/galaxy/galaxy_server/static/favicon.ico' static_images_dir: '/galaxy/galaxy_server/static/images' static_scripts_dir: '/galaxy/galaxy_server/static/scripts/' static_style_dir: '/galaxy/galaxy_server/static/june_2007_style/blue' tool_config_file: 'tool_conf.xml' tool_data_path: 'tool-data' tool_path: 'tools' ucsc_display_sites: 'main,test,archaea,ucla' use_interactive: 'False' use_lint: 'False' use_profile: 'False'
WSGI Variables -------------- application: <paste.recursive.RecursiveMiddleware object at 0x63ab690> paste.cookies: (<SimpleCookie: galaxysession='f611411aa8a0c665eb9e71b6b35ec98d69a19a7826eff47d201855aea491539e3c45f483349e57b4'>, 'galaxysession=f611411aa8a0c665eb9e71b6b35ec98d69a19a7826eff47d201855aea491539e3c45f483349e57b4') paste.expected_exceptions: [<class 'paste.httpexceptions.HTTPException'>] paste.httpexceptions: <paste.httpexceptions.HTTPExceptionHandler object at 0x692eb50> paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x263ad90> paste.recursive.forward: <paste.recursive.Forwarder from /> paste.recursive.include: <paste.recursive.Includer from /> paste.recursive.include_app_iter: <paste.recursive.IncluderAppIter from /> paste.recursive.script_name: '' paste.throw_errors: True webob._parsed_query_vars: (MultiDict([]), '') wsgi process: 'Multithreaded' ------------------------------------------------------------
Any help would be greatly appreciated.
Best regards, Sarah ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
participants (2)
-
Nate Coraor
-
Sarah Diehl