1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/f6ab35e84116/ changeset: f6ab35e84116 user: Kyle Ellrott date: 2012-12-01 00:32:47 summary: Adding handler for httpexceptions.HTTPFound, so that the redirect tool will work (rather then causing an error) affected #: 1 file diff -r 70d52f421c7fc8edef571ad93726dbc474c35211 -r f6ab35e841165d113b1b63633e80db8d98e48b17 lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -35,6 +35,8 @@ import galaxy.util.shed_util_common from galaxy.web import url_for +from paste import httpexceptions + from galaxy.visualization.genome.visual_analytics import TracksterConfig log = logging.getLogger( __name__ ) @@ -1801,6 +1803,9 @@ elif state.page == self.last_page: try: _, out_data = self.execute( trans, incoming=params, history=history ) + except httpexceptions.HTTPFound, e: + #if it's a paste redirect exception, pass it up the stack + raise e except Exception, e: log.exception('Exception caught while attempting tool execution:') return 'message.mako', dict( status='error', message='Error executing tool: %s' % str(e), refresh_frames=[] ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.