installing tool from ToolShed - Python Error 'too many values to unpack'
I am getting following "ValueError: too many values to unpack" from Python while trying to install a tool from toll_shed repository. {{{ URL: http://localhost:8080/admin_toolshed/install_repository?tool_shed_url=http%3A%2F%2Ftoolshed.g2.bx.psu.edu%2F&repo_info_dict=9e40c73c79ff0c9ab662043369229ec1cd73bf7c%3A7b2262616d5f746f5f6661737471223a205b22436f6e766572742042414d2066696c6520746f206661737471222c2022687474703a2f2f746f6f6c736865642e67322e62782e7073752e6564752f7265706f732f627261642d636861706d616e2f62616d5f746f5f6661737471222c2022356139616461396133313931222c202230225d7d&includes_tools=True File '/Users/shantanu/galaxy-dist/eggs/WebError-0.8a-py2.7.egg/weberror/evalexception/middleware.py', line 364 in respond app_iter = self.application(environ, detect_start_response) File '/Users/shantanu/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/debug/prints.py', line 98 in __call__ environ, self.app) File '/Users/shantanu/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/wsgilib.py', line 539 in intercept_output app_iter = application(environ, replacement_start_response) File '/Users/shantanu/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/recursive.py', line 80 in __call__ return self.application(environ, start_response) File '/Users/shantanu/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/httpexceptions.py', line 632 in __call__ return self.application(environ, start_response) File '/Users/shantanu/galaxy-dist/lib/galaxy/web/framework/base.py', line 160 in __call__ body = method( trans, **kwargs ) File '/Users/shantanu/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 173 in decorator return func( self, trans, *args, **kwargs ) File '/Users/shantanu/galaxy-dist/lib/galaxy/web/controllers/admin_toolshed.py', line 291 in install_repository description, repository_clone_url, changeset_revision = repo_info_tuple ValueError: too many values to unpack }}} I am using galaxy-dist revision 40f1816d6857 on Mac OS 10.7 with Python 2.7. I got the same error on CentOS 5.8 platform with Python 2.6 version for the same galaxy-dist revision. Am I missing anything in the configuration file? Any pointers? Appreciate all the help. -- Thanks, Shantanu
Hi Shantanu, Your Galaxy instance is not current with the Galaxy central repository - are you tracking Galaxy dist? In order to use the features that provide communication between Galaxy and a tool shed, you'll have use the latest code from Galaxy central - see https://bitbucket.org/galaxy/galaxy-central Greg Von Kuster On Apr 30, 2012, at 2:46 PM, Shantanu Pavgi wrote:
I am getting following "ValueError: too many values to unpack" from Python while trying to install a tool from toll_shed repository.
{{{
URL: http://localhost:8080/admin_toolshed/install_repository?tool_shed_url=http%3A%2F%2Ftoolshed.g2.bx.psu.edu%2F&repo_info_dict=9e40c73c79ff0c9ab662043369229ec1cd73bf7c%3A7b2262616d5f746f5f6661737471223a205b22436f6e766572742042414d2066696c6520746f206661737471222c2022687474703a2f2f746f6f6c736865642e67322e62782e7073752e6564752f7265706f732f627261642d636861706d616e2f62616d5f746f5f6661737471222c2022356139616461396133313931222c202230225d7d&includes_tools=True File '/Users/shantanu/galaxy-dist/eggs/WebError-0.8a-py2.7.egg/weberror/evalexception/middleware.py', line 364 in respond app_iter = self.application(environ, detect_start_response) File '/Users/shantanu/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/debug/prints.py', line 98 in __call__ environ, self.app) File '/Users/shantanu/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/wsgilib.py', line 539 in intercept_output app_iter = application(environ, replacement_start_response) File '/Users/shantanu/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/recursive.py', line 80 in __call__ return self.application(environ, start_response) File '/Users/shantanu/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/httpexceptions.py', line 632 in __call__ return self.application(environ, start_response) File '/Users/shantanu/galaxy-dist/lib/galaxy/web/framework/base.py', line 160 in __call__ body = method( trans, **kwargs ) File '/Users/shantanu/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 173 in decorator return func( self, trans, *args, **kwargs ) File '/Users/shantanu/galaxy-dist/lib/galaxy/web/controllers/admin_toolshed.py', line 291 in install_repository description, repository_clone_url, changeset_revision = repo_info_tuple ValueError: too many values to unpack
}}}
I am using galaxy-dist revision 40f1816d6857 on Mac OS 10.7 with Python 2.7. I got the same error on CentOS 5.8 platform with Python 2.6 version for the same galaxy-dist revision. Am I missing anything in the configuration file? Any pointers? Appreciate all the help.
-- Thanks, Shantanu ___________________________________________________________ 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:
That's right Greg, I was using the latest revision from the galaxy-dist and not the galaxy-central. It worked fine after using the latest code on from the galaxy-central. Thanks for the help. -- Shantanu On Apr 30, 2012, at 1:54 PM, Greg Von Kuster wrote:
Hi Shantanu,
Your Galaxy instance is not current with the Galaxy central repository - are you tracking Galaxy dist? In order to use the features that provide communication between Galaxy and a tool shed, you'll have use the latest code from Galaxy central - see https://bitbucket.org/galaxy/galaxy-central
Greg Von Kuster
On Apr 30, 2012, at 2:46 PM, Shantanu Pavgi wrote:
I am getting following "ValueError: too many values to unpack" from Python while trying to install a tool from toll_shed repository.
{{{
URL: http://localhost:8080/admin_toolshed/install_repository?tool_shed_url=http%3A%2F%2Ftoolshed.g2.bx.psu.edu%2F&repo_info_dict=9e40c73c79ff0c9ab662043369229ec1cd73bf7c%3A7b2262616d5f746f5f6661737471223a205b22436f6e766572742042414d2066696c6520746f206661737471222c2022687474703a2f2f746f6f6c736865642e67322e62782e7073752e6564752f7265706f732f627261642d636861706d616e2f62616d5f746f5f6661737471222c2022356139616461396133313931222c202230225d7d&includes_tools=True File '/Users/shantanu/galaxy-dist/eggs/WebError-0.8a-py2.7.egg/weberror/evalexception/middleware.py', line 364 in respond app_iter = self.application(environ, detect_start_response) File '/Users/shantanu/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/debug/prints.py', line 98 in __call__ environ, self.app) File '/Users/shantanu/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/wsgilib.py', line 539 in intercept_output app_iter = application(environ, replacement_start_response) File '/Users/shantanu/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/recursive.py', line 80 in __call__ return self.application(environ, start_response) File '/Users/shantanu/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/httpexceptions.py', line 632 in __call__ return self.application(environ, start_response) File '/Users/shantanu/galaxy-dist/lib/galaxy/web/framework/base.py', line 160 in __call__ body = method( trans, **kwargs ) File '/Users/shantanu/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 173 in decorator return func( self, trans, *args, **kwargs ) File '/Users/shantanu/galaxy-dist/lib/galaxy/web/controllers/admin_toolshed.py', line 291 in install_repository description, repository_clone_url, changeset_revision = repo_info_tuple ValueError: too many values to unpack
}}}
I am using galaxy-dist revision 40f1816d6857 on Mac OS 10.7 with Python 2.7. I got the same error on CentOS 5.8 platform with Python 2.6 version for the same galaxy-dist revision. Am I missing anything in the configuration file? Any pointers? Appreciate all the help.
-- Thanks, Shantanu ___________________________________________________________ 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)
-
Greg Von Kuster
-
Shantanu Pavgi