Title: Exception if GIT_COMMITTER_NAME contains UTF-8 encoded Umlaut · Issue #237 · gitpython-developers/GitPython · GitHub
Open Graph Title: Exception if GIT_COMMITTER_NAME contains UTF-8 encoded Umlaut · Issue #237 · gitpython-developers/GitPython
X Title: Exception if GIT_COMMITTER_NAME contains UTF-8 encoded Umlaut · Issue #237 · gitpython-developers/GitPython
Description: If I run the python script using gitpython with this env var: export GIT_COMMITTER_NAME="Thomas Müller" I get this exception: Error Traceback (most recent call last): File "/home/foo_eins_d/src/scmtools/scm/tests/test_git.py", line 25, i...
Open Graph Description: If I run the python script using gitpython with this env var: export GIT_COMMITTER_NAME="Thomas Müller" I get this exception: Error Traceback (most recent call last): File "/home/foo_eins_d/src/scm...
X Description: If I run the python script using gitpython with this env var: export GIT_COMMITTER_NAME="Thomas Müller" I get this exception: Error Traceback (most recent call last): File "/home/foo...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/237
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Exception if GIT_COMMITTER_NAME contains UTF-8 encoded Umlaut","articleBody":"If I run the python script using gitpython with this env var:\n\nexport GIT_COMMITTER_NAME=\"Thomas Müller\"\n\nI get this exception:\n\n```\n\nError\nTraceback (most recent call last):\n File \"/home/foo_eins_d/src/scmtools/scm/tests/test_git.py\", line 25, in test_git_status\n repo.index.commit('initial commit')\n File \"/home/foo_eins_d/local/lib/python2.7/site-packages/git/index/base.py\", line 900, in commit\n head, author=author, committer=committer)\n File \"/home/foo_eins_d/local/lib/python2.7/site-packages/git/objects/commit.py\", line 349, in create_from_tree\n new_commit._serialize(stream)\n File \"/home/foo_eins_d/local/lib/python2.7/site-packages/git/objects/commit.py\", line 392, in _serialize\n altz_to_utctz_str(self.committer_tz_offset))).encode(self.encoding))\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 18: ordinal not in range(128)\n```\n\nVersion: GitPython==0.3.5\n","author":{"url":"https://github.com/guettli","@type":"Person","name":"guettli"},"datePublished":"2015-01-19T10:16:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/237/GitPython/issues/237"}
| 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:7a945bfc-a9bc-bb49-92d5-04c9f0b6d20e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A2F2:2D346D:43FE4:59865:696A0A14 |
| html-safe-nonce | 9d7bd06695c186ba94da25cf1cb69850219514505d4e85be0c737f8564ed60a7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkYyOjJEMzQ2RDo0M0ZFNDo1OTg2NTo2OTZBMEExNCIsInZpc2l0b3JfaWQiOiI4NjUxMjUyNTA2MTE4NzIwMDIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b0abebdc4c1bc134a101a8e78c7ee334254b25d01d8c838073852b7ac01a6e71 |
| hovercard-subject-tag | issue:54746258 |
| 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/237/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5df87d95be4ec5b362fc1198f4ce8fd6ffb5bbc1b59a41226641dcd024295105/gitpython-developers/GitPython/issues/237 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5df87d95be4ec5b362fc1198f4ce8fd6ffb5bbc1b59a41226641dcd024295105/gitpython-developers/GitPython/issues/237 |
| og:image:alt | If I run the python script using gitpython with this env var: export GIT_COMMITTER_NAME="Thomas Müller" I get this exception: Error Traceback (most recent call last): File "/home/foo_eins_d/src/scm... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | guettli |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| 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 | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width