Closed
Description
Previously reported as #68, this is still broken. The current insufficient fix is here: git/cmd.py#552
Originally reported downstream here: earwig/git-repo-updater#11
Steps to reproduce:
- Ensure a non-English locale is available on your system. In my case (Ubuntu 14.04 LTS), I had to do
sudo locale-gen fr_FR.UTF-8 && sudo dpkg-reconfigure locales
export LANGUAGE=fr_FR.UTF-8
export LC_ALL=fr_FR.UTF-8
python -c "import git; git.Repo('path/to/a/repo').remote().fetch()"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/earwig/.local/lib/python2.7/site-packages/GitPython-1.0.1-py2.7.egg/git/remote.py", line 651, in fetch
res = self._get_fetch_info_from_stderr(proc, progress or RemoteProgress())
File "/home/earwig/.local/lib/python2.7/site-packages/GitPython-1.0.1-py2.7.egg/git/remote.py", line 588, in _get_fetch_info_from_stderr
for err_line, fetch_line in zip(fetch_info_lines, fetch_head_info))
File "/home/earwig/.local/lib/python2.7/site-packages/GitPython-1.0.1-py2.7.egg/git/remote.py", line 588, in <genexpr>
for err_line, fetch_line in zip(fetch_info_lines, fetch_head_info))
File "/home/earwig/.local/lib/python2.7/site-packages/GitPython-1.0.1-py2.7.egg/git/remote.py", line 241, in _from_line
raise ValueError("Failed to parse line: %r" % line)
ValueError: Failed to parse line: u' = [\xe0 jour] develop -> origin/develop'
Metadata
Metadata
Assignees
Labels
No labels