I interested in hosting a local toolshed. I was able to install it and
add a tool to it. I have configured my local galaxy instance to pull
tools from this local toolshed. As far as I can tell everything is
working in the toolshed side of things, but when I try to install the
tool I added I get this error:

line 364 in respond
  app_iter = self.application(environ, detect_start_response)
line 98 in __call__
  environ, self.app)
line 539 in intercept_output
  app_iter = application(environ, replacement_start_response)
line 80 in __call__
  return self.application(environ, start_response)
line 91 in __call__
  return self.app( environ, start_response )
line 632 in __call__
  return self.application(environ, start_response)
File '/local/opt/galaxy/galaxy-dist.dev/lib/galaxy/web/framework/base.py',
line 160 in __call__
  body = method( trans, **kwargs )
File '/local/opt/galaxy/galaxy-dist.dev/lib/galaxy/web/framework/__init__.py',
line 208 in decorator
  return func( self, trans, *args, **kwargs )
line 1177 in prepare_for_install
  response = urllib2.urlopen( url )
File '/usr/lib64/python2.6/urllib2.py', line 126 in urlopen
  return _opener.open(url, data, timeout)
File '/usr/lib64/python2.6/urllib2.py', line 397 in open
  response = meth(req, response)
File '/usr/lib64/python2.6/urllib2.py', line 510 in http_response
  'http', request, response, code, msg, hdrs)
File '/usr/lib64/python2.6/urllib2.py', line 435 in error
  return self._call_chain(*args)
File '/usr/lib64/python2.6/urllib2.py', line 369 in _call_chain
  result = func(*args)
File '/usr/lib64/python2.6/urllib2.py', line 518 in http_error_default
  raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad Request

I can manually confirm this URL is incorrect:

When I try to directly access it I get this error:
Not Found

The resource could not be found.
No action for /&repository_ids=ee9b707789bf4714&changeset_revisions=71b062907e0d

I don't think is related but maybe I should mention it. I have to use
a http proxy to access the web, so I have http_proxy environment
variable set. This was causing issues with the local toolshed as my
institution proxy won't respond for requests to local hostnames. The
tool files would get uploaded but resetting the metadata would fail
galaxy.util.shed_util_common DEBUG 2013-02-04 13:02:38,221 Resetting
all metadata on repository: annotab
galaxy.util.shed_util_common DEBUG 2013-02-04 13:02:38,271 Cloning
repository revision: 0
galaxy.util.shed_util_common DEBUG 2013-02-04 13:02:38,276 Error
cloning repository: HTTP Error 400: Bad Request
galaxy.util.shed_util_common DEBUG 2013-02-04 13:02:38,326 Cloning
repository revision: 1
galaxy.util.shed_util_common DEBUG 2013-02-04 13:02:38,329 Error
cloning repository: HTTP Error 400: Bad Request
galaxy.util.shed_util_common DEBUG 2013-02-04 13:02:38,377 Cloning
repository revision: 2
galaxy.util.shed_util_common DEBUG 2013-02-04 13:02:38,380 Error
cloning repository: HTTP Error 400: Bad Request

I was able to fix this issue by editing ~/.hgrc and adding:
no = toolshed.bfx.brel.local,toolsheddev.bfx.brel.local

I mention it just in case for some reason my issue could be related,
although as I said I don't think so.

Any help would be most welcomed,
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:


Reply via email to