{"action":"created","issue":{"url":"https://api.github.com/repos/coala/coala/issues/4881","repository_url":"https://api.github.com/repos/coala/coala","labels_url":"https://api.github.com/repos/coala/coala/issues/4881/labels{/name}","comments_url":"https://api.github.com/repos/coala/coala/issues/4881/comments","events_url":"https://api.github.com/repos/coala/coala/issues/4881/events","html_url":"https://github.com/coala/coala/issues/4881","id":275056842,"number":4881,"title":"coala -B --json fails","user":{"login":"SanketDG","id":8980971,"avatar_url":"https://avatars3.githubusercontent.com/u/8980971?v=4","gravatar_id":"","url":"https://api.github.com/users/SanketDG","html_url":"https://github.com/SanketDG","followers_url":"https://api.github.com/users/SanketDG/followers","following_url":"https://api.github.com/users/SanketDG/following{/other_user}","gists_url":"https://api.github.com/users/SanketDG/gists{/gist_id}","starred_url":"https://api.github.com/users/SanketDG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SanketDG/subscriptions","organizations_url":"https://api.github.com/users/SanketDG/orgs","repos_url":"https://api.github.com/users/SanketDG/repos","events_url":"https://api.github.com/users/SanketDG/events{/privacy}","received_events_url":"https://api.github.com/users/SanketDG/received_events","type":"User","site_admin":false},"labels":[{"id":308852297,"url":"https://api.github.com/repos/coala/coala/labels/difficulty/medium","name":"difficulty/medium","color":"0052cc","default":false},{"id":308858107,"url":"https://api.github.com/repos/coala/coala/labels/importance/medium","name":"importance/medium","color":"fbca04","default":false},{"id":99776607,"url":"https://api.github.com/repos/coala/coala/labels/type/bug","name":"type/bug","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":{"login":"newbazz","id":25884863,"avatar_url":"https://avatars1.githubusercontent.com/u/25884863?v=4","gravatar_id":"","url":"https://api.github.com/users/newbazz","html_url":"https://github.com/newbazz","followers_url":"https://api.github.com/users/newbazz/followers","following_url":"https://api.github.com/users/newbazz/following{/other_user}","gists_url":"https://api.github.com/users/newbazz/gists{/gist_id}","starred_url":"https://api.github.com/users/newbazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newbazz/subscriptions","organizations_url":"https://api.github.com/users/newbazz/orgs","repos_url":"https://api.github.com/users/newbazz/repos","events_url":"https://api.github.com/users/newbazz/events{/privacy}","received_events_url":"https://api.github.com/users/newbazz/received_events","type":"User","site_admin":false},"assignees":[{"login":"newbazz","id":25884863,"avatar_url":"https://avatars1.githubusercontent.com/u/25884863?v=4","gravatar_id":"","url":"https://api.github.com/users/newbazz","html_url":"https://github.com/newbazz","followers_url":"https://api.github.com/users/newbazz/followers","following_url":"https://api.github.com/users/newbazz/following{/other_user}","gists_url":"https://api.github.com/users/newbazz/gists{/gist_id}","starred_url":"https://api.github.com/users/newbazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newbazz/subscriptions","organizations_url":"https://api.github.com/users/newbazz/orgs","repos_url":"https://api.github.com/users/newbazz/repos","events_url":"https://api.github.com/users/newbazz/events{/privacy}","received_events_url":"https://api.github.com/users/newbazz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2017-11-18T06:05:56Z","updated_at":"2018-02-10T11:09:02Z","closed_at":null,"author_association":"MEMBER","body":"Fresh install of `coala` and `coala-bears` master on a new venv:\r\n\r\nThen I run `coala -B --json`\r\n\r\n```\r\n[WARNING][11:33:59] Implicit 'Default' section inheritance is deprecated. It will be removed soon. To silence this warning remove settings in the 'Default' section from your coafile. You can use dots to specify inheritance: the section 'all.python' will inherit all settings from 'all'.\r\n[ERROR][11:34:02] An unknown error occurred. This is a bug. We are sorry for the inconvenience. Please contact the developers for assistance. During execution of coala an exception was raised. This should never happen. When asked for, the following information may help investigating:\r\n[INFO][11:34:02] Exception was:\r\nTraceback (most recent call last):\r\n\r\n  File \"/home/sanketdg/projects/coala/coalib/coala.py\", line 84, in main\r\n    args)\r\n\r\n  File \"/home/sanketdg/projects/coala/coalib/output/ConsoleInteraction.py\", line 990, in show_bears\r\n    print_bears(bears, show_description, show_params, console_printer, args)\r\n\r\n  File \"/home/sanketdg/projects/coala/coalib/output/ConsoleInteraction.py\", line 950, in print_bears\r\n    separators=(',', ': '))\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/lib/python3.6/json/__init__.py\", line 238, in dumps\r\n    **kw).encode(obj)\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/lib/python3.6/json/encoder.py\", line 201, in encode\r\n    chunks = list(chunks)\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/lib/python3.6/json/encoder.py\", line 430, in _iterencode\r\n    yield from _iterencode_dict(o, _current_indent_level)\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/lib/python3.6/json/encoder.py\", line 404, in _iterencode_dict\r\n    yield from chunks\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/lib/python3.6/json/encoder.py\", line 325, in _iterencode_list\r\n    yield from chunks\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/lib/python3.6/json/encoder.py\", line 438, in _iterencode\r\n    yield from _iterencode(o, _current_indent_level)\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/lib/python3.6/json/encoder.py\", line 430, in _iterencode\r\n    yield from _iterencode_dict(o, _current_indent_level)\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/lib/python3.6/json/encoder.py\", line 404, in _iterencode_dict\r\n    yield from chunks\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/lib/python3.6/json/encoder.py\", line 438, in _iterencode\r\n    yield from _iterencode(o, _current_indent_level)\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/lib/python3.6/json/encoder.py\", line 428, in _iterencode\r\n    yield from _iterencode_list(o, _current_indent_level)\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/lib/python3.6/json/encoder.py\", line 325, in _iterencode_list\r\n    yield from chunks\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/lib/python3.6/json/encoder.py\", line 437, in _iterencode\r\n    o = _default(o)\r\n\r\n  File \"/home/sanketdg/projects/coala/coalib/output/JSONEncoder.py\", line 32, in default\r\n    for member in get_public_members(obj)}\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/envs/coala/lib/python3.6/site-packages/coala_utils/decorators.py\", line 134, in get_public_members\r\n    return {attr: getattr(obj, attr) for attr in dir(obj)\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/envs/coala/lib/python3.6/site-packages/coala_utils/decorators.py\", line 136, in <dictcomp>\r\n    and not hasattr(getattr(obj, attr), '__call__')}\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/envs/coala/lib/python3.6/site-packages/dependency_management/requirements/DistributionRequirement.py\", line 205, in package_managers\r\n    self.get_package_managers())\r\n\r\n  File \"/home/sanketdg/.pyenv/versions/3.6.1/envs/coala/lib/python3.6/site-packages/dependency_management/requirements/DistributionRequirement.py\", line 193, in get_package_managers\r\n    '{}'.format(','.join(self.packages.keys())))\r\n\r\nNotImplementedError: This platform doesn't have any of the specified package manager(s): apt_get\r\n```"},"comment":{"url":"https://api.github.com/repos/coala/coala/issues/comments/364644028","html_url":"https://github.com/coala/coala/issues/4881#issuecomment-364644028","issue_url":"https://api.github.com/repos/coala/coala/issues/4881","id":364644028,"user":{"login":"anctartica","id":7020962,"avatar_url":"https://avatars0.githubusercontent.com/u/7020962?v=4","gravatar_id":"","url":"https://api.github.com/users/anctartica","html_url":"https://github.com/anctartica","followers_url":"https://api.github.com/users/anctartica/followers","following_url":"https://api.github.com/users/anctartica/following{/other_user}","gists_url":"https://api.github.com/users/anctartica/gists{/gist_id}","starred_url":"https://api.github.com/users/anctartica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anctartica/subscriptions","organizations_url":"https://api.github.com/users/anctartica/orgs","repos_url":"https://api.github.com/users/anctartica/repos","events_url":"https://api.github.com/users/anctartica/events{/privacy}","received_events_url":"https://api.github.com/users/anctartica/received_events","type":"User","site_admin":false},"created_at":"2018-02-10T11:09:02Z","updated_at":"2018-02-10T11:09:02Z","author_association":"NONE","body":"I would like to fix this. @newbazz are you still working on this?"}}
{"actor":{"display_login":"anctartica"}}