1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/3d6b71244ff9/ Changeset: 3d6b71244ff9 User: dan Date: 2014-06-04 17:05:36 Summary: Fix for installing from toolshed that uses 307 redirects that are not being handled nicely by urllib2.urlopen when the urllib2.Request has data provided. Affected #: 1 file diff -r 819818c880b543d9ef32aa61a099235c20937dae -r 3d6b71244ff9a708bd6eda419b50315d7aac4405 lib/tool_shed/util/common_install_util.py --- a/lib/tool_shed/util/common_install_util.py +++ b/lib/tool_shed/util/common_install_util.py @@ -447,6 +447,8 @@ # Handle secure / insecure Tool Shed URL protocol changes and port changes. tool_shed_url = common_util.get_tool_shed_url_from_tool_shed_registry( trans.app, tool_shed_url ) url = common_util.url_join( tool_shed_url, '/repository/get_required_repo_info_dict' ) + # Fix for handling 307 redirect not being handled nicely by urllib2.urlopen when the urllib2.Request has data provided + url = urllib2.urlopen( urllib2.Request( url ) ).geturl() request = urllib2.Request( url, data=urllib.urlencode( dict( encoded_str=encoded_required_repository_str ) ) ) response = urllib2.urlopen( request ).read() if response: 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.