Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output appropriate message if the language given in input is not valid/not supported for KeywordBear #1256

Closed
aptrishu opened this issue Jan 4, 2017 · 3 comments
Assignees

Comments

@aptrishu
Copy link
Member

aptrishu commented Jan 4, 2017

If I put this in .coafile

[Default] language = anything bears = KeywordBear files = javaji/test.cs use_spaces = yeah file_naming_convention = pascal keywords = \#warning

and run coala -V , I get this

Traceback (most recent call last): File "/home/rishus23/venv/coala/lib/python3.4/site-packages/coalib/bears/Bear.py", line 240, in execute return [] if result is None else list(result) File "/home/rishus23/venv/coala/lib/python3.4/site-packages/bears/general/KeywordBear.py", line 104, in run keyword.start()) File "/home/rishus23/venv/coala/lib/python3.4/site-packages/bears/general/KeywordBear.py", line 30, in generate_diff c for c in comments if todo_source_range in c] File "/home/rishus23/venv/coala/lib/python3.4/site-packages/bears/general/KeywordBear.py", line 30, in <listcomp> c for c in comments if todo_source_range in c] File "/home/rishus23/venv/coala/lib/python3.4/site-packages/bears/general/KeywordBear.py", line 22, in _get_comments yield from result.contents.get('comments', []) AttributeError: 'str' object has no attribute 'get'

@aptrishu
Copy link
Member Author

aptrishu commented Jan 4, 2017

coala_post

@Techievena
Copy link
Member

I want to work on this

Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 7, 2017
Output appropriate message if the language given in input is not valid/not supported for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 7, 2017
Output appropriate message if the language given in input is not valid/not supported for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 7, 2017
Output appropriate message if the language given in input is not valid/not supported for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 7, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 7, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
@aptrishu
Copy link
Member Author

aptrishu commented Jan 7, 2017

Check my comment on your PR.

Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 8, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 9, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 9, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 9, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 9, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 9, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 9, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 10, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 10, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 10, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 10, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 11, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 11, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 11, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 11, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Techievena added a commit to Techievena/coala-bears that referenced this issue Jan 11, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
gosom pushed a commit to gosom/coala-bears that referenced this issue Jul 15, 2017
Output appropriate message if the language
given in input is not valid/not supported
for KeywordBear

Fixes coala#1256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants