{"action":"created","issue":{"url":"https://api.github.com/repos/coala-analyzer/coala/issues/1709","repository_url":"https://api.github.com/repos/coala-analyzer/coala","labels_url":"https://api.github.com/repos/coala-analyzer/coala/issues/1709/labels{/name}","comments_url":"https://api.github.com/repos/coala-analyzer/coala/issues/1709/comments","events_url":"https://api.github.com/repos/coala-analyzer/coala/issues/1709/events","html_url":"https://github.com/coala-analyzer/coala/issues/1709","id":136486485,"number":1709,"title":"Error in acquiring settings, while running coala-ci ","user":{"login":"abhsag24","id":8532031,"avatar_url":"https://avatars.githubusercontent.com/u/8532031?v=3","gravatar_id":"","url":"https://api.github.com/users/abhsag24","html_url":"https://github.com/abhsag24","followers_url":"https://api.github.com/users/abhsag24/followers","following_url":"https://api.github.com/users/abhsag24/following{/other_user}","gists_url":"https://api.github.com/users/abhsag24/gists{/gist_id}","starred_url":"https://api.github.com/users/abhsag24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhsag24/subscriptions","organizations_url":"https://api.github.com/users/abhsag24/orgs","repos_url":"https://api.github.com/users/abhsag24/repos","events_url":"https://api.github.com/users/abhsag24/events{/privacy}","received_events_url":"https://api.github.com/users/abhsag24/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coala-analyzer/coala/labels/difficulty/low","name":"difficulty/low","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-25T19:30:56Z","updated_at":"2016-02-25T19:35:38Z","closed_at":null,"body":"so here is the bear that i run \r\n```\r\nfrom coalib.bears.LocalBear import LocalBear\r\n\r\nclass Errorbear(LocalBear):\r\n\r\n    def run(self,\r\n            filename,\r\n            file,\r\n            indent_types: dict,\r\n            comments: dict,\r\n            tab_width: int=4):\r\n            pass\r\n```\r\n\r\nand running `coala-ci -L DEBUG` gives the following error and traceback \r\n\r\n```\r\nERROR][00:58:32] During execution, we found that some required settings were not provided. They are:\r\ncomments (from Errorbear) - No description given.indent_types (from Errorbear) - No description given.\r\n[ERROR][00:58:32] 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[DEBUG][00:58:32] Exception was:\r\nTraceback (most recent call last):\r\n\r\n  File \"/usr/lib/python3.4/site-packages/coala-0.4.2.dev0-py3.4.egg/coalib/coala_main.py\", line 69, in run_coala\r\n    autoapply=autoapply)\r\n\r\n  File \"/usr/lib/python3.4/site-packages/coala-0.4.2.dev0-py3.4.egg/coalib/settings/ConfigurationGathering.py\", line 251, in gather_configuration\r\n    log_printer)\r\n\r\n  File \"/usr/lib/python3.4/site-packages/coala-0.4.2.dev0-py3.4.egg/coalib/settings/SectionFilling.py\", line 38, in fill_settings\r\n    fill_section(section, acquire_settings, log_printer, all_bears)\r\n\r\n  File \"/usr/lib/python3.4/site-packages/coala-0.4.2.dev0-py3.4.egg/coalib/settings/SectionFilling.py\", line 90, in fill_section\r\n    new_vals = acquire_settings(log_printer, needed_settings)\r\n\r\n  File \"/usr/lib/python3.4/site-packages/coala-0.4.2.dev0-py3.4.egg/coalib/output/Interactions.py\", line 26, in fail_acquire_settings\r\n    raise AssertionError\r\n\r\nAssertionError\r\n\r\n```\r\nit should be noted that i did not provide any values for this setting in the coafile \r\n\r\ndifficulty/low"},"comment":{"url":"https://api.github.com/repos/coala-analyzer/coala/issues/comments/188945671","html_url":"https://github.com/coala-analyzer/coala/issues/1709#issuecomment-188945671","issue_url":"https://api.github.com/repos/coala-analyzer/coala/issues/1709","id":188945671,"user":{"login":"sils1297","id":5716520,"avatar_url":"https://avatars.githubusercontent.com/u/5716520?v=3","gravatar_id":"","url":"https://api.github.com/users/sils1297","html_url":"https://github.com/sils1297","followers_url":"https://api.github.com/users/sils1297/followers","following_url":"https://api.github.com/users/sils1297/following{/other_user}","gists_url":"https://api.github.com/users/sils1297/gists{/gist_id}","starred_url":"https://api.github.com/users/sils1297/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sils1297/subscriptions","organizations_url":"https://api.github.com/users/sils1297/orgs","repos_url":"https://api.github.com/users/sils1297/repos","events_url":"https://api.github.com/users/sils1297/events{/privacy}","received_events_url":"https://api.github.com/users/sils1297/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T19:35:38Z","updated_at":"2016-02-25T19:35:38Z","body":"Preferred solution is simply raising SystemExit and introducing a new exitcode in the appropriate docs."}}