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

When there are no messages from Rubocop, exception is raised by the plugin #9

Open
arunn opened this issue May 3, 2017 · 0 comments
Assignees
Labels

Comments

@arunn
Copy link
Owner

arunn commented May 3, 2017

Traceback (most recent call last):
File "./python3.3/json/decoder.py", line 367, in raw_decode
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 818, in run_
return self.run(edit)
File "/home/arun/.config/sublime-text-3/Packages/RubocopDiffSublime/set_mark.py", line 13, in run
rubocop_offenses = RubocopRunner().run_cmd(file_name)
File "/home/arun/.config/sublime-text-3/Packages/RubocopDiffSublime/rubocop_runner.py", line 12, in run_cmd
json_offenses = json.loads(out.decode('utf-8'))['files'][0]['offenses']
File "./python3.3/json/init.py", line 316, in loads
File "./python3.3/json/decoder.py", line 351, in decode
File "./python3.3/json/decoder.py", line 369, in raw_decode
ValueError: No JSON object could be decoded

@arunn arunn added the bug label May 3, 2017
@arunn arunn self-assigned this May 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant