Title: `invalid literal for int() with base 10: 'x'` when diffing commits · Issue #1483 · gitpython-developers/GitPython · GitHub
Open Graph Title: `invalid literal for int() with base 10: 'x'` when diffing commits · Issue #1483 · gitpython-developers/GitPython
X Title: `invalid literal for int() with base 10: 'x'` when diffing commits · Issue #1483 · gitpython-developers/GitPython
Description: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/git/cmd.py", line 114, in pump_stream handler(line) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/pyt...
Open Graph Description: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/git/cmd.py", line 114, in pump_stream handler(line) File "/Library/Framework...
X Description: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/git/cmd.py", line 114, in pump_stream handler(line) File "/Li...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1483
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`invalid literal for int() with base 10: 'x'` when diffing commits","articleBody":"```\r\nTraceback (most recent call last):\r\n File \"/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/git/cmd.py\", line 114, in pump_stream\r\n handler(line)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/git/diff.py\", line 570, in \u003clambda\u003e\r\n handle_process_output(proc, lambda byt: cls._handle_diff_line(byt, repo, index),\r\n File \"/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/git/diff.py\", line 557, in _handle_diff_line\r\npython-BaseException\r\n diff = Diff(repo, a_path, b_path, a_blob_id, b_blob_id, old_mode, new_mode,\r\n File \"/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/git/diff.py\", line 303, in __init__\r\n self.a_mode = mode_str_to_int(a_mode) if a_mode else None\r\n File \"/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/git/objects/util.py\", line 80, in mode_str_to_int\r\n mode += int(char) \u003c\u003c iteration * 3\r\nValueError: invalid literal for int() with base 10: 'x'\r\nThe above exception was the direct cause of the following exception:\r\nTraceback (most recent call last):\r\n File \"/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py\", line 946, in run\r\n self._target(*self._args, **self._kwargs)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/git/cmd.py\", line 120, in pump_stream\r\n raise CommandError([f'\u003c{name}-pump\u003e'] + remove_password_if_present(cmdline), ex) from ex\r\ngit.exc.CommandError: Cmd('\u003cstdout-pump\u003e') failed due to: ValueError('invalid literal for int() with base 10: 'x'')\r\n cmdline: \u003cstdout-pump\u003e git diff-tree 81a1f0c4f84aeb6ee97edea64251419515eff571 8c38dfe86157463d745c453d9a1d8c066cc9b7c5 -r --abbrev=40 --full-index -M --raw -z --no-color\r\n```\r\n**This is my first time posting an issue, so please tell me what extra information is needed!** ","author":{"url":"https://github.com/bobeatslollipop","@type":"Person","name":"bobeatslollipop"},"datePublished":"2022-08-25T03:04:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1483/GitPython/issues/1483"}
| 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:e1d94d08-2b85-48d5-af6f-16b449dca5b3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D026:B6152:BB89B0:10F94C8:6A579CBE |
| html-safe-nonce | 06f8c550d0028f20f7885d3b2ae95653f4cbee8e7783adbdbc41d633c0414f22 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDI2OkI2MTUyOkJCODlCMDoxMEY5NEM4OjZBNTc5Q0JFIiwidmlzaXRvcl9pZCI6IjQ1NTYxOTczMjc2Njk3OTYwMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1944155a71cd93d8ecbc3e65ae581bd441509083997850f9006dd80f9afeead7 |
| hovercard-subject-tag | issue:1350253072 |
| 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/1483/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c49961ae039464bf94e07aa4dec3ffb502d1da7263212cd77bb05efaf73f8946/gitpython-developers/GitPython/issues/1483 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c49961ae039464bf94e07aa4dec3ffb502d1da7263212cd77bb05efaf73f8946/gitpython-developers/GitPython/issues/1483 |
| og:image:alt | Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/git/cmd.py", line 114, in pump_stream handler(line) File "/Library/Framework... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bobeatslollipop |
| hostname | github.com |
| expected-hostname | github.com |
| None | 017a07c29bdd8a37b5907fc9a689338deb7103b5af7f56714193b2700229b3df |
| 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 | 0dd6847d644323df8f8c1368c065f9f630095e3b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width