Hi, if I try to install a repository via API I get the following error: Traceback (most recent call last): File "/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/__init__.py", line 189, in decorator rval = func( self, trans, *args, **kwargs) File "/home/gruening/projects/code/galaxy-central/lib/galaxy/webapps/galaxy/api/tool_shed_repositories.py", line 265, in install_repository_revision tool_shed_repository_dict = tool_shed_repository.as_dict( value_mapper=default_tool_shed_repository_value_mapper( trans, tool_shed_repository ) ) File "/home/gruening/projects/code/galaxy-central/lib/galaxy/model/__init__.py", line 3350, in as_dict return self.dictify( view='element', value_mapper=value_mapper ) File "/home/gruening/projects/code/galaxy-central/lib/galaxy/model/__init__.py", line 3445, in dictify raise Exception( 'Unknown API view: %s' % view ) Exception: Unknown API view: element Command line: python ./scripts/api/install_tool_shed_repositories.py --api f1326e8588535c628f03a0df517e2247 -l http://localhost:8080 --url http://toolshed.g2.bx.psu.edu/ -o devteam -r 4676e145a44e --name add_value Cheers, Bjoern
Björn, This looks like an issue that was fixed in 10444:ab74f2d80173, can you confirm that you are running that revision or later locally? --Dave B. On 08/26/2013 07:46 AM, Bjoern Gruening wrote:
Hi,
if I try to install a repository via API I get the following error:
Traceback (most recent call last): File "/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/__init__.py", line 189, in decorator rval = func( self, trans, *args, **kwargs) File "/home/gruening/projects/code/galaxy-central/lib/galaxy/webapps/galaxy/api/tool_shed_repositories.py", line 265, in install_repository_revision tool_shed_repository_dict = tool_shed_repository.as_dict( value_mapper=default_tool_shed_repository_value_mapper( trans, tool_shed_repository ) ) File "/home/gruening/projects/code/galaxy-central/lib/galaxy/model/__init__.py", line 3350, in as_dict return self.dictify( view='element', value_mapper=value_mapper ) File "/home/gruening/projects/code/galaxy-central/lib/galaxy/model/__init__.py", line 3445, in dictify raise Exception( 'Unknown API view: %s' % view ) Exception: Unknown API view: element
Command line: python ./scripts/api/install_tool_shed_repositories.py --api f1326e8588535c628f03a0df517e2247 -l http://localhost:8080 --url http://toolshed.g2.bx.psu.edu/ -o devteam -r 4676e145a44e --name add_value
Cheers, Bjoern
___________________________________________________________ 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: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
Björn, Thank you for the report, which revealed that there was another place where this error was occurring. It has been fixed in 10447:e97f613a4948, and that revision is now running on the test tool shed. --Dave B. On 08/26/2013 08:38 AM, Dave Bouvier wrote:
Björn,
This looks like an issue that was fixed in 10444:ab74f2d80173, can you confirm that you are running that revision or later locally?
--Dave B.
On 08/26/2013 07:46 AM, Bjoern Gruening wrote:
Hi,
if I try to install a repository via API I get the following error:
Traceback (most recent call last): File "/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/__init__.py", line 189, in decorator rval = func( self, trans, *args, **kwargs) File "/home/gruening/projects/code/galaxy-central/lib/galaxy/webapps/galaxy/api/tool_shed_repositories.py", line 265, in install_repository_revision tool_shed_repository_dict = tool_shed_repository.as_dict( value_mapper=default_tool_shed_repository_value_mapper( trans, tool_shed_repository ) ) File "/home/gruening/projects/code/galaxy-central/lib/galaxy/model/__init__.py", line 3350, in as_dict return self.dictify( view='element', value_mapper=value_mapper ) File "/home/gruening/projects/code/galaxy-central/lib/galaxy/model/__init__.py", line 3445, in dictify raise Exception( 'Unknown API view: %s' % view ) Exception: Unknown API view: element
Command line: python ./scripts/api/install_tool_shed_repositories.py --api f1326e8588535c628f03a0df517e2247 -l http://localhost:8080 --url http://toolshed.g2.bx.psu.edu/ -o devteam -r 4676e145a44e --name add_value
Cheers, Bjoern
___________________________________________________________ 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: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
___________________________________________________________ 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: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
Thanks Dave, any change we can get fix into the Tool Shed as well? Cheers, Bjoern
Björn,
Thank you for the report, which revealed that there was another place where this error was occurring. It has been fixed in 10447:e97f613a4948, and that revision is now running on the test tool shed.
--Dave B.
On 08/26/2013 08:38 AM, Dave Bouvier wrote:
Björn,
This looks like an issue that was fixed in 10444:ab74f2d80173, can you confirm that you are running that revision or later locally?
--Dave B.
On 08/26/2013 07:46 AM, Bjoern Gruening wrote:
Hi,
if I try to install a repository via API I get the following error:
Traceback (most recent call last): File "/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/__init__.py", line 189, in decorator rval = func( self, trans, *args, **kwargs) File "/home/gruening/projects/code/galaxy-central/lib/galaxy/webapps/galaxy/api/tool_shed_repositories.py", line 265, in install_repository_revision tool_shed_repository_dict = tool_shed_repository.as_dict( value_mapper=default_tool_shed_repository_value_mapper( trans, tool_shed_repository ) ) File "/home/gruening/projects/code/galaxy-central/lib/galaxy/model/__init__.py", line 3350, in as_dict return self.dictify( view='element', value_mapper=value_mapper ) File "/home/gruening/projects/code/galaxy-central/lib/galaxy/model/__init__.py", line 3445, in dictify raise Exception( 'Unknown API view: %s' % view ) Exception: Unknown API view: element
Command line: python ./scripts/api/install_tool_shed_repositories.py --api f1326e8588535c628f03a0df517e2247 -l http://localhost:8080 --url http://toolshed.g2.bx.psu.edu/ -o devteam -r 4676e145a44e --name add_value
Cheers, Bjoern
___________________________________________________________ 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: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
___________________________________________________________ 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: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
participants (3)
-
Bjoern Gruening
-
Björn Grüning
-
Dave Bouvier