Title: `invalid literal for int() with base 10: 'n'` during a diff operation · Issue #1490 · gitpython-developers/GitPython · GitHub
Open Graph Title: `invalid literal for int() with base 10: 'n'` during a diff operation · Issue #1490 · gitpython-developers/GitPython
X Title: `invalid literal for int() with base 10: 'n'` during a diff operation · Issue #1490 · gitpython-developers/GitPython
Description: Here is the stack trace. ERROR:git.cmd:Pumping 'stdout' of cmd(['git', 'diff-tree', 'a31de9c31a0ee03574a34146aa1a986648ac499b', '7a62039cb6ce50e5d4c8fc412fdaf10e6f92b823', '-r', '--abbrev=40', '--full-index', '-M', '--raw', '-z', '--no-c...
Open Graph Description: Here is the stack trace. ERROR:git.cmd:Pumping 'stdout' of cmd(['git', 'diff-tree', 'a31de9c31a0ee03574a34146aa1a986648ac499b', '7a62039cb6ce50e5d4c8fc412fdaf10e6f92b823', '-r', '--abbrev=40', '--f...
X Description: Here is the stack trace. ERROR:git.cmd:Pumping 'stdout' of cmd(['git', 'diff-tree', 'a31de9c31a0ee03574a34146aa1a986648ac499b', '7a62039cb6ce50e5d4c8fc412fdaf10e...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1490
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`invalid literal for int() with base 10: 'n'` during a diff operation","articleBody":"Here is the stack trace.\r\n\r\n```python\r\nERROR:git.cmd:Pumping 'stdout' of cmd(['git', 'diff-tree', 'a31de9c31a0ee03574a34146aa1a986648ac499b', '7a62039cb6ce50e5d4c8fc412fdaf10e6f92b823', '-r', '--abbrev=40', '--full-index', '-M', '--raw', '-z', '--no-color']) failed due to: ValueError(\"invalid literal for int() with base 10: 'n'\")\r\nException in thread Thread-12:\r\nTraceback (most recent call last):\r\nFile \"/home/user/conda/envs/anki/lib/python3.9/site-packages/git/cmd.py\", line 114, in pump_stream\r\n handler(line)\r\nFile \"/home/user/conda/envs/anki/lib/python3.9/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\nFile \"/home/user/conda/envs/anki/lib/python3.9/site-packages/git/diff.py\", line 557, in _handle_diff_line\r\n diff = Diff(repo, a_path, b_path, a_blob_id, b_blob_id, old_mode, new_mode,\r\nFile \"/home/user/conda/envs/anki/lib/python3.9/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\nFile \"/home/user/conda/envs/anki/lib/python3.9/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: 'n'\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\nFile \"/home/user/conda/envs/anki/lib/python3.9/threading.py\", line 973, in _bootstrap_inner\r\n self.run()\r\nFile \"/home/user/conda/envs/anki/lib/python3.9/threading.py\", line 910, in run\r\n self._target(*self._args, **self._kwargs)\r\nFile \"/home/user/conda/envs/anki/lib/python3.9/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: 'n'')\r\n cmdline: \u003cstdout-pump\u003e git diff-tree a31de9c31a0ee03574a34146aa1a986648ac499b 7a62039cb6ce50e5d4c8fc412fdaf10e6f92b823 -r --abbrev=40 --full-index -M --raw -z --no-color\r\n```\r\n\r\nThe output of the `diff-tree` command is quite large. I've attached the file.\r\n\r\nHere is the first `n` characters.\r\n\r\n```\r\n:100644 100644 e193ea24d24f18261e4c9bed7d5dbe4908905501 285381444f5aa363272a46d1bdc0a01e359357db M^@5000 Most Common French Words/[1] Main Course/[a] Option 1: Parisian French Audio/I) French to English (Start here)/appeler.md^@:100644 100644 57990a8106d7d63201397f94e29acef87e866d1f 4b8092f7edcbe559bb32ae95103972fd94be9c84 M^@5000 Most Common French Words/[1] Main Course/[a] Option 1: Parisian French Audio/I) French to English (Start here)/dessus.md^@:100644 100644 56bfcc450d7b72d505cb01a26ab515cf664ba73c 15815cec2902d8ada01a664790e60d139bb2c988 M^@5000 Most Common French Words/[1] Main Course/[a] Option 1: Parisian French Audio/I) French to English (Start here)/liste.md^@:100644 100644 cc6a20323abb94f87c03afd3b6bcaa4056816d07 e2854faca1aca70d56875a273ec2c942b27c9d31 M^@5000 Most Common French Words/[1] Main Course/[a] Option 1: Parisian French Audio/I) French to English (Start here)/main.md^@:100644 100644 807f3facd106a6b15a8d3ed8ec945c697d1f4a06 a2f19b3c9263d9f3d8c3362dee4069d47d856ce5 M^@5000 Most Common French Words/[1] Main Course/[a] Option 1: Parisian French Audio/I) French to English (Start here)/paix.md^@:100644 100644 2705188ba689d40142cde3882bebf48dcb768b13 9ac70c203b57ca2fb821a16237c95a97369f362a M^@5000 Most Common French Words/[1] Main Course/[a] Option 1: Parisian French Audio/I) French to English (Start here)/pied.md^@:100644 100644 6b91441ac2ef63243be80ce4a5ab86d39f6835f3 634d6bf232445c32671302ec846ece2efccc2e56 M^@5000 Most Common French Words/[1] Main Course/[a] Option 1: Parisian French Audio/I) French to English (Start here)/prix.md^@:100644 100644 9438acdb6c5cd0839ac83d4c97403e97e4eb6b95 4469daa7e44f3d0c5c261efe2e24ad375bfe215f M^@5000 Most Common French Words/[1] Main Course/[a] Option 1: Parisian French Audio/I) French to English (Start here)/sac.md^@:100644 100644 bf44f89afcf863f32d295a45e1354cfa1dbeb93c f2c16ce6afd63680553491ebe596d46460be61f6 M^@5000 Most Common French Words/[1] Main Course/[a] Option 1: Parisian French Audio/I) French to English (Start here)/sale.md^@:100644 100644 387e4b4f6ac06bb2213b128fa6ddaaa217343255 0a81cf15b4bcf37d2d70184cb4e2158cb01f10d7 M^@5000 Most Common French Words/[1] Main Course/[a] Option 1: Parisian French Audio/I) French to English (Start here)/venir.md^@:100644 100644 90b427717288e2c0aed372d4357f2731957c9f02 bfbcb8ad343418c4c180d7c57c22e64cf20910ed M^@5000 Most Common French Words/[1] Main Course/[a] Option 1: Parisian French Audio/II) English to French/dix.md^@:100644 100644 54eb97e09c23dc2e1a8cdf4af5401c177d5ba311 94c6066c1958484ac9fc6fc50baed5a561ebf2b5 M^@5000 Most Common French Words/[1] Main Course/[a] Option 1: Parisian French Audio/II) English to French/tôt.md^@:100644 100644 3eac7b51aca2d18a354d5e1d4aab5944a06f292c 1341ae4d1a8ddc03234886d0871aa45e576045fa M^@5000 Most Common French Words/[1] Main Course/[a] Option 1: Parisian French Audio/II) English to French/votre.md^@:100644 100644 93b35c24f6a68ec46880f2ae25614f593ba07ada fafb69ece866c70a8b621c4863831145fd3a660a M^@5000 Most Common French Words/[1] Main Course/[b] Option 2: Canadian French Audio/I) French to English/amour.md^@:100644 100644 d942e51e9385835498d3bbafd7623f482b4e17ef 8e9cbd6be8e20b275a85b4e4bbf5dcdb4bb21555 M^@5000 Most Common French Words/[1] Main Course/[b] Option 2: Canadian French Audio/I) French to English/bras.md^@:100644 100644 1aa19ea89c7f5152bc17e093a9d14c7a5e77b9aa fc3fa653cc26c7a855436cfec8dca643951d66c1 M^@5000 Most Common French Words/[1] Main Course/[b] Option 2: Canadian French Audio/I) French to English/coin.md^@:100644 100644 7b16e6ac9a9349755f2adbe6581812ba026d1b4c bb9c3963333b4eacde2ad80fa86efb36b6f28678 M^@5000 Most Common French Words/[1] Main Course/[b] Option 2: Canadian French Audio/I) French to English/de.md^@:100644 100644 e120b665b4509f\r\n```\r\n\r\n[diff-tree-out.txt](https://github.com/gitpython-developers/GitPython/files/9544436/diff-tree-out.txt)\r\n","author":{"url":"https://github.com/langfield","@type":"Person","name":"langfield"},"datePublished":"2022-09-12T03:57:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1490/GitPython/issues/1490"}
| 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:9ad9aa84-182f-eeb3-9cea-4999d1963b3d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E092:3D6979:B9FB57:10F13AC:6A579CAC |
| html-safe-nonce | e6995cbbdce6afe729662876bc661b699dd60be42ccac2ac450f2e5d46a6c56d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDkyOjNENjk3OTpCOUZCNTc6MTBGMTNBQzo2QTU3OUNBQyIsInZpc2l0b3JfaWQiOiI0NDYyODc4NzczNjM4MzA2OTg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a248113c36fafaebf447879161bd8cd61476ca6afd0282a27e0653e78e9e2e0a |
| hovercard-subject-tag | issue:1369239277 |
| 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/1490/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bedc6c8986cf779ddad4df30609c8e8ff620a8f355990297c4fec08eb731aec7/gitpython-developers/GitPython/issues/1490 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bedc6c8986cf779ddad4df30609c8e8ff620a8f355990297c4fec08eb731aec7/gitpython-developers/GitPython/issues/1490 |
| og:image:alt | Here is the stack trace. ERROR:git.cmd:Pumping 'stdout' of cmd(['git', 'diff-tree', 'a31de9c31a0ee03574a34146aa1a986648ac499b', '7a62039cb6ce50e5d4c8fc412fdaf10e6f92b823', '-r', '--abbrev=40', '--f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | langfield |
| 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