{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/tower-cli/issues/42","labels_url":"https://api.github.com/repos/ansible/tower-cli/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/ansible/tower-cli/issues/42/comments","events_url":"https://api.github.com/repos/ansible/tower-cli/issues/42/events","html_url":"https://github.com/ansible/tower-cli/issues/42","id":60131240,"number":42,"title":"\"TypeError: Resource subclasses must have an `endpoint`.\" on Mac OS X Yosemite ","user":{"login":"gengmao","id":42412,"avatar_url":"https://avatars.githubusercontent.com/u/42412?v=3","gravatar_id":"","url":"https://api.github.com/users/gengmao","html_url":"https://github.com/gengmao","followers_url":"https://api.github.com/users/gengmao/followers","following_url":"https://api.github.com/users/gengmao/following{/other_user}","gists_url":"https://api.github.com/users/gengmao/gists{/gist_id}","starred_url":"https://api.github.com/users/gengmao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengmao/subscriptions","organizations_url":"https://api.github.com/users/gengmao/orgs","repos_url":"https://api.github.com/users/gengmao/repos","events_url":"https://api.github.com/users/gengmao/events{/privacy}","received_events_url":"https://api.github.com/users/gengmao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-06T17:19:21Z","updated_at":"2015-07-06T22:57:24Z","closed_at":"2015-03-06T17:22:36Z","body":"That's what I got\r\n```\r\nmao-mac:sumo mao (master) $ tower-cli user list\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/tower-cli\", line 80, in <module>\r\n    cli()\r\n  File \"/Library/Python/2.7/site-packages/click/core.py\", line 610, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/Library/Python/2.7/site-packages/click/core.py\", line 590, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/Library/Python/2.7/site-packages/click/core.py\", line 931, in invoke\r\n    cmd_name, cmd, args = self.resolve_command(ctx, args)\r\n  File \"/Library/Python/2.7/site-packages/click/core.py\", line 970, in resolve_command\r\n    cmd = self.get_command(ctx, cmd_name)\r\n  File \"/usr/local/bin/tower-cli\", line 68, in get_command\r\n    resource = tower_cli.get_resource(name)\r\n  File \"/Library/Python/2.7/site-packages/tower_cli/__init__.py\", line 32, in get_resource\r\n    module = importlib.import_module('tower_cli.resources.%s' % name)\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py\", line 37, in import_module\r\n    __import__(name)\r\n  File \"/Library/Python/2.7/site-packages/tower_cli/resources/user.py\", line 16, in <module>\r\n    from tower_cli import models\r\n  File \"/Library/Python/2.7/site-packages/tower_cli/models/__init__.py\", line 18, in <module>\r\n    from tower_cli.models.base import BaseResource, Resource, MonitorableResource\r\n  File \"/Library/Python/2.7/site-packages/tower_cli/models/base.py\", line 125, in <module>\r\n    class BaseResource(six.with_metaclass(ResourceMeta)):\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six.py\", line 566, in with_metaclass\r\n    return meta(\"NewBase\", bases, {})\r\n  File \"/Library/Python/2.7/site-packages/tower_cli/models/base.py\", line 112, in __new__\r\n    raise TypeError('Resource subclasses must have an `endpoint`.')\r\nTypeError: Resource subclasses must have an `endpoint`.\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/tower-cli/issues/comments/119022436","html_url":"https://github.com/ansible/tower-cli/issues/42#issuecomment-119022436","issue_url":"https://api.github.com/repos/ansible/tower-cli/issues/42","id":119022436,"user":{"login":"starboarder2001","id":5209230,"avatar_url":"https://avatars.githubusercontent.com/u/5209230?v=3","gravatar_id":"","url":"https://api.github.com/users/starboarder2001","html_url":"https://github.com/starboarder2001","followers_url":"https://api.github.com/users/starboarder2001/followers","following_url":"https://api.github.com/users/starboarder2001/following{/other_user}","gists_url":"https://api.github.com/users/starboarder2001/gists{/gist_id}","starred_url":"https://api.github.com/users/starboarder2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starboarder2001/subscriptions","organizations_url":"https://api.github.com/users/starboarder2001/orgs","repos_url":"https://api.github.com/users/starboarder2001/repos","events_url":"https://api.github.com/users/starboarder2001/events{/privacy}","received_events_url":"https://api.github.com/users/starboarder2001/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T22:57:24Z","updated_at":"2015-07-06T22:57:24Z","body":"I am getting the same thing with Python 2.7.10\r\n\r\n$ tower-cli user list\r\nTraceback (most recent call last):\r\n  File \"/opt/zenoss/libexec/tower-cli-virtualenv/bin/tower-cli\", line 80, in <module>\r\n    cli()\r\n  File \"/opt/zenoss/libexec/tower-cli-virtualenv/lib/python2.7/site-packages/click/core.py\", line 664, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/opt/zenoss/libexec/tower-cli-virtualenv/lib/python2.7/site-packages/click/core.py\", line 644, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/opt/zenoss/libexec/tower-cli-virtualenv/lib/python2.7/site-packages/click/core.py\", line 986, in invoke\r\n    cmd_name, cmd, args = self.resolve_command(ctx, args)\r\n  File \"/opt/zenoss/libexec/tower-cli-virtualenv/lib/python2.7/site-packages/click/core.py\", line 1025, in resolve_command\r\n    cmd = self.get_command(ctx, cmd_name)\r\n  File \"/opt/zenoss/libexec/tower-cli-virtualenv/bin/tower-cli\", line 68, in get_command\r\n    resource = tower_cli.get_resource(name)\r\n  File \"/opt/zenoss/libexec/tower-cli-virtualenv/lib/python2.7/site-packages/tower_cli/__init__.py\", line 32, in get_resource\r\n    module = importlib.import_module('tower_cli.resources.%s' % name)\r\n  File \"/opt/zenoss/libexec/bin/lib/python2.7/importlib/__init__.py\", line 37, in import_module\r\n    __import__(name)\r\n  File \"/opt/zenoss/libexec/tower-cli-virtualenv/lib/python2.7/site-packages/tower_cli/resources/user.py\", line 16, in <module>\r\n    from tower_cli import models\r\n  File \"/opt/zenoss/libexec/tower-cli-virtualenv/lib/python2.7/site-packages/tower_cli/models/__init__.py\", line 18, in <module>\r\n    from tower_cli.models.base import BaseResource, Resource, MonitorableResource\r\n  File \"/opt/zenoss/libexec/tower-cli-virtualenv/lib/python2.7/site-packages/tower_cli/models/base.py\", line 125, in <module>\r\n    class BaseResource(six.with_metaclass(ResourceMeta)):\r\n  File \"/opt/zenoss/lib/python/six.py\", line 353, in with_metaclass\r\n    return meta(\"NewBase\", (base,), {})\r\n  File \"/opt/zenoss/libexec/tower-cli-virtualenv/lib/python2.7/site-packages/tower_cli/models/base.py\", line 112, in __new__\r\n    raise TypeError('Resource subclasses must have an `endpoint`.')\r\nTypeError: Resource subclasses must have an `endpoint`."}}