Title: Systems with non-English locales fail in some cases · Issue #290 · gitpython-developers/GitPython · GitHub
Open Graph Title: Systems with non-English locales fail in some cases · Issue #290 · gitpython-developers/GitPython
X Title: Systems with non-English locales fail in some cases · Issue #290 · gitpython-developers/GitPython
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 s...
Open Graph 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 n...
X 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 n...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/290
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Systems with non-English locales fail in some cases","articleBody":"Previously reported as #68, this is still broken. The current insufficient fix is here: [git/cmd.py#552](https://github.com/gitpython-developers/GitPython/blob/master/git/cmd.py#L552)\n\nOriginally reported downstream here: earwig/git-repo-updater#11\n\nSteps to reproduce:\n- 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 \u0026\u0026 sudo dpkg-reconfigure locales`\n- `export LANGUAGE=fr_FR.UTF-8`\n- `export LC_ALL=fr_FR.UTF-8`\n- `python -c \"import git; git.Repo('path/to/a/repo').remote().fetch()\"`\n\n```\nTraceback (most recent call last):\n File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\n File \"/home/earwig/.local/lib/python2.7/site-packages/GitPython-1.0.1-py2.7.egg/git/remote.py\", line 651, in fetch\n res = self._get_fetch_info_from_stderr(proc, progress or RemoteProgress())\n 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\n for err_line, fetch_line in zip(fetch_info_lines, fetch_head_info))\n File \"/home/earwig/.local/lib/python2.7/site-packages/GitPython-1.0.1-py2.7.egg/git/remote.py\", line 588, in \u003cgenexpr\u003e\n for err_line, fetch_line in zip(fetch_info_lines, fetch_head_info))\n File \"/home/earwig/.local/lib/python2.7/site-packages/GitPython-1.0.1-py2.7.egg/git/remote.py\", line 241, in _from_line\n raise ValueError(\"Failed to parse line: %r\" % line)\nValueError: Failed to parse line: u' = [\\xe0 jour] develop -\u003e origin/develop'\n```\n","author":{"url":"https://github.com/earwig","@type":"Person","name":"earwig"},"datePublished":"2015-05-30T21:09:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/290/GitPython/issues/290"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4bed8120-e574-4496-209b-a875817d15c5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC2C:2D2FEF:12E154B:1954160:69699AD1 |
| html-safe-nonce | 8a256608f89b35e3119061620e050af970367cacbc53d6d5f3d45b14388076a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzJDOjJEMkZFRjoxMkUxNTRCOjE5NTQxNjA6Njk2OTlBRDEiLCJ2aXNpdG9yX2lkIjoiODgyNTA0NjEyMDA3MzM3MDMyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 04ffe07ce796de1596553182834c9c9e044089ebb8b73d31cda2feea7b87d19c |
| hovercard-subject-tag | issue:82913640 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/290/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d54bf4f1a199c7a0eb25bbedb0feaa5470e4ff647f9b7fef152cdc0660e155c0/gitpython-developers/GitPython/issues/290 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d54bf4f1a199c7a0eb25bbedb0feaa5470e4ff647f9b7fef152cdc0660e155c0/gitpython-developers/GitPython/issues/290 |
| og:image:alt | 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 n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | earwig |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width