ContinuumIO / ciocheck

Continuum Analytics linter, formatter and test suite helper.
MIT License
26 stars 10 forks source link

ascii decoding errors #48

Open bkreider opened 5 years ago

bkreider commented 5 years ago
Running "isort" ...
Traceback (most recent call last):
  File "/home/circleci/miniconda/bin/ciocheck", line 11, in <module>
    sys.exit(main())
  File "/home/circleci/miniconda/lib/python2.7/site-packages/ciocheck/main.py", line 389, in main
    test.run()
  File "/home/circleci/miniconda/lib/python2.7/site-packages/ciocheck/main.py", line 76, in run
    extensions=tool.extensions)
  File "/home/circleci/miniconda/lib/python2.7/site-packages/ciocheck/files.py", line 50, in get_files
    branch=branch, diff_mode=diff_mode, extensions=extensions)
  File "/home/circleci/miniconda/lib/python2.7/site-packages/ciocheck/files.py", line 65, in get_modified_file_lines
    results = self.diff_tool.commited_file_lines(branch=branch)
  File "/home/circleci/miniconda/lib/python2.7/site-packages/ciocheck/vcs.py", line 542, in commited_file_lines
    results.update(diff_tool.commited_file_lines(branch=branch))
  File "/home/circleci/miniconda/lib/python2.7/site-packages/ciocheck/vcs.py", line 423, in commited_file_lines
    result = self._parse_diff_str(self._diff_committed(branch=branch))
  File "/home/circleci/miniconda/lib/python2.7/site-packages/ciocheck/vcs.py", line 364, in _diff_committed
    branch=branch, files_only=False, mode=COMMITED_MODE)
  File "/home/circleci/miniconda/lib/python2.7/site-packages/ciocheck/vcs.py", line 151, in _git_run_helper
    result, error = run_command(command, cwd=self.path)
  File "/home/circleci/miniconda/lib/python2.7/site-packages/ciocheck/utils.py", line 100, in run_command
    output = output.decode()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 9777: ordinal not in range(128)
Exited with code 1