This again is with Galaxy2.2test My history panel was replaced by a large Server Error message, and I cannot see any way to get back to a history: Server Error URL: http://g2.bx.psu.edu:8889/history Module paste.exceptions.errormiddleware:138 in __call__ Module paste.lint:65 in lint_app Module flup.middleware.session:743 in __call__ Module paste.recursive:54 in __call__ Module paste.httpexceptions:619 in __call__ Module paste.wsgilib:112 in catch_errors_app Module galaxy.web.framework:104 in __call__
body = method( trans, **kwargs ) Module galaxy.interfaces.root:67 in history return trans.fill_template(template, history=history, mode=mode ) Module galaxy.web:153 in fill_template return str(template) Module Cheetah.Template:175 in respond Module galaxy.model:166 in display_info return self.datatype.display_info( self ) Module galaxy.datatypes.data:27 in display_info return escape(dataset.info) Module cgi:1039 in escape s = s.replace("&", "&") # Must be done first! exceptions.AttributeError: 'NoneType' object has no attribute 'replace' extra data
CGI Variables HTTP_ACCEPT '*/*' HTTP_ACCEPT_ENCODING 'gzip, deflate' HTTP_ACCEPT_LANGUAGE 'en' HTTP_CONNECTION 'keep-alive' HTTP_COOKIE 'universe=125; universe_user=12; universe_ui=info704' HTTP_HOST 'g2.bx.psu.edu:8889' HTTP_IF_MODIFIED_SINCE 'Sat, 22 Apr 2006 11:52:13 GMT' HTTP_REFERER 'http://g2.bx.psu.edu:8889/history' HTTP_USER_AGENT 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418 (KHTML, like Gecko) Safari/417.9.2' PATH_INFO '/history' REMOTE_ADDR '69.162.62.23' REMOTE_HOST '69-162-62-23.stcgpa.adelphia.net' REQUEST_METHOD 'GET' SERVER_NAME '128.118.201.89' SERVER_PORT '8889' SERVER_PROTOCOL 'HTTP/1.1' Configuration __file__ '/var/opt/universe/james-wsgi/universe_wsgi.ini' database_file 'database/universe.sqlite' debug 'true' file_path 'database/files' here '/var/opt/universe/james-wsgi' job_queue_workers '5' template_path 'templates' test_conf 'test.conf' tool_config_file 'tool_conf.xml' tool_path 'tools' use_interactive 'False' WSGI Variables application <function lint_app at 0xb6d85a3c> com.saddi.service.session <flup.middleware.session.SessionService object at 0xadc3a22c> paste.cookies (<SimpleCookie: universe='125' universe_ui='info704' universe_user='12'>, 'universe=125; universe_user=12; universe_ui=info704') paste.expected_exceptions [<class paste.httpexceptions.HTTPException at 0xb7b746ec>] paste.httpexceptions <paste.httpexceptions.HTTPExceptionHandler instance at 0xb6d8650c> paste.parsed_formvars ({}, ('', <paste.lint.InputWrapper instance at 0xadc3a5ac>, 'GET', False, True)) paste.printdebug_listeners [<cStringIO.StringO object at 0xadc3a020>, <paste.script.serve.LazyWriter object at 0xb7c7378c>] paste.recursive.forward <paste.recursive.Forwarder from /> paste.recursive.include <paste.recursive.Includer from /> paste.recursive.script_name '' paste.remove_printdebug <function remove_printdebug at 0xae2ed87c> paste.throw_errors True wsgi process 'Multithread CGI (?)' full traceback URL: http://g2.bx.psu.edu:8889/history Module paste.exceptions.errormiddleware:138 in __call__ Module paste.lint:65 in lint_app Module flup.middleware.session:743 in __call__ Module paste.recursive:54 in __call__ Module paste.httpexceptions:619 in __call__ Module paste.wsgilib:112 in catch_errors_app Module galaxy.web.framework:104 in __call__
body = method( trans, **kwargs ) Module galaxy.interfaces.root:67 in history return trans.fill_template(template, history=history, mode=mode ) Module galaxy.web:153 in fill_template return str(template) Module Cheetah.Template:175 in respond Module galaxy.model:166 in display_info return self.datatype.display_info( self ) Module galaxy.datatypes.data:27 in display_info return escape(dataset.info) Module cgi:1039 in escape s = s.replace("&", "&") # Must be done first! exceptions.AttributeError: 'NoneType' object has no attribute 'replace'
text version URL: http://g2.bx.psu.edu:8889/history File 'build/bdist.darwin-8.5.1- i386/egg/paste/exceptions/errormiddleware.py', line 138 in __call__ File 'build/bdist.darwin-8.5.1-i386/egg/paste/lint.py', line 65 in lint_app File '/var/opt/universe/james-wsgi/eggs/flup-0.5-py2.4.egg/ flup/middleware/session.py', line 743 in __call__ File 'build/ bdist.darwin-8.5.1-i386/egg/paste/recursive.py', line 54 in __call__ File 'build/bdist.darwin-8.5.1-i386/egg/paste/httpexceptions.py', line 619 in __call__ File 'build/bdist.darwin-8.5.1-i386/egg/paste/ wsgilib.py', line 112 in catch_errors_app File '/var/opt/universe/ james-wsgi/galaxy/web/framework.py', line 104 in __call__ body = method( trans, **kwargs ) File '/var/opt/universe/james-wsgi/galaxy/ interfaces/root.py', line 67 in history return trans.fill_template (template, history=history, mode=mode ) File '/var/opt/universe/james- wsgi/galaxy/web/__init__.py', line 153 in fill_template return str (template) File '<string>', line 175 in respond File '/var/opt/ universe/james-wsgi/galaxy/model/__init__.py', line 166 in display_info return self.datatype.display_info( self ) File '/var/opt/ universe/james-wsgi/galaxy/datatypes/data.py', line 27 in display_info return escape(dataset.info) File '/usr/lib/python2.4/ cgi.py', line 1039 in escape s = s.replace("&", "&") # Must be done first! exceptions.AttributeError: 'NoneType' object has no attribute 'replace' Ross Hardison T. Ming Chu Professor of Biochemistry and Molecular Biology The Pennsylvania State University 304 Wartik Laboratory University Park, PA 16802 e-mail: rch8@psu.edu phone: 814-863-0113 FAX: 814-863-7024
Ross, I modified the problematic history item in the database, so this should work now. Others, The 'info' was NULL, causing this error. We should probable wrap the rendering of each dataset in a 'try' block so that even when an error occurs the rest of the history can be used. On Apr 22, 2006, at 7:57 AM, Ross Hardison wrote:
participants (2)
-
James Taylor
-
Ross Hardison