{"action":"created","issue":{"url":"https://api.github.com/repos/galaxyproject/bioblend/issues/145","labels_url":"https://api.github.com/repos/galaxyproject/bioblend/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/galaxyproject/bioblend/issues/145/comments","events_url":"https://api.github.com/repos/galaxyproject/bioblend/issues/145/events","html_url":"https://github.com/galaxyproject/bioblend/issues/145","id":80628014,"number":145,"title":"Tags cannot be added to a history","user":{"login":"Airistotal","id":11566254,"avatar_url":"https://avatars.githubusercontent.com/u/11566254?v=3","gravatar_id":"","url":"https://api.github.com/users/Airistotal","html_url":"https://github.com/Airistotal","followers_url":"https://api.github.com/users/Airistotal/followers","following_url":"https://api.github.com/users/Airistotal/following{/other_user}","gists_url":"https://api.github.com/users/Airistotal/gists{/gist_id}","starred_url":"https://api.github.com/users/Airistotal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Airistotal/subscriptions","organizations_url":"https://api.github.com/users/Airistotal/orgs","repos_url":"https://api.github.com/users/Airistotal/repos","events_url":"https://api.github.com/users/Airistotal/events{/privacy}","received_events_url":"https://api.github.com/users/Airistotal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-25T18:42:08Z","updated_at":"2015-05-26T02:36:48Z","closed_at":null,"body":"Galaxy commit bit: 32edb07930b17a868ed4088080b8d7fc577d1ce7\r\n\r\nThis is how I'm calling it:\r\n_historyClient.create_history_tag(history.get('id'), \"processed\")\r\nsuch that history is a history object and _historyClient is the GalaxyInstance.histories wrapper\r\n\r\nIt looks like it's dying on the server side, but I'm not sure.\r\n\r\nStack Trace and Error Message:\r\nTraceback (most recent call last):\r\n  File \"get_stats.py\", line 64, in <module>\r\n    _historyClient.create_history_tag(history.get('id'), \"processed\")\r\n  File \"/usr/local/lib/python2.7/dist-packages/bioblend/galaxy/histories/__init__.py\", line 314, in create_history_tag\r\n    return Client._post(self, payload, url=url)\r\n  File \"/usr/local/lib/python2.7/dist-packages/bioblend/galaxy/client.py\", line 171, in _post\r\n    files_attached=files_attached)\r\n  File \"/usr/local/lib/python2.7/dist-packages/bioblend/galaxyclient.py\", line 104, in make_post_request\r\n    r.status_code, body=r.text)\r\nbioblend.galaxy.client.ConnectionError: Unexpected response from galaxy: 500: {\"traceback\": \"Traceback (most recent call last):\\n  File \\\"/Warehouse/Users/dbouchard/galaxy/lib/galaxy/web/framework/decorators.py\\\", line 251, in decorator\\n    rval = func( self, trans, *args, **kwargs)\\n  File \\\"/Warehouse/Users/dbouchard/galaxy/lib/galaxy/webapps/galaxy/api/item_tags.py\\\", line 39, in create\\n    tag = self._apply_item_tag( trans, self.tagged_item_class, kwd[ self.tagged_item_id ], tag_name, value )\\n  File \\\"/Warehouse/Users/dbouchard/galaxy/lib/galaxy/web/base/controller.py\\\", line 2043, in _apply_item_tag\\n    tag_assoc = self.get_tag_handler( trans ).apply_item_tag( trans, user, tagged_item, tag_name, tag_value )\\nTypeError: apply_item_tag() takes at most 5 arguments (6 given)\\n\", \"err_msg\": \"Uncaught exception in exposed API method:\", \"err_code\": 0}"},"comment":{"url":"https://api.github.com/repos/galaxyproject/bioblend/issues/comments/105366252","html_url":"https://github.com/galaxyproject/bioblend/issues/145#issuecomment-105366252","issue_url":"https://api.github.com/repos/galaxyproject/bioblend/issues/145","id":105366252,"user":{"login":"jmchilton","id":216771,"avatar_url":"https://avatars.githubusercontent.com/u/216771?v=3","gravatar_id":"","url":"https://api.github.com/users/jmchilton","html_url":"https://github.com/jmchilton","followers_url":"https://api.github.com/users/jmchilton/followers","following_url":"https://api.github.com/users/jmchilton/following{/other_user}","gists_url":"https://api.github.com/users/jmchilton/gists{/gist_id}","starred_url":"https://api.github.com/users/jmchilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmchilton/subscriptions","organizations_url":"https://api.github.com/users/jmchilton/orgs","repos_url":"https://api.github.com/users/jmchilton/repos","events_url":"https://api.github.com/users/jmchilton/events{/privacy}","received_events_url":"https://api.github.com/users/jmchilton/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T02:36:48Z","updated_at":"2015-05-26T02:36:48Z","body":"Thanks for the report @Airistotal - opened a Galaxy PR with a fix."}}