Title: "blame" not working on binary files? AttributeError: 'NoneType' object has no attribute 'groups' git/repo/base.py", line 625, in blame · Issue #74 · gitpython-developers/GitPython · GitHub
Open Graph Title: "blame" not working on binary files? AttributeError: 'NoneType' object has no attribute 'groups' git/repo/base.py", line 625, in blame · Issue #74 · gitpython-developers/GitPython
X Title: "blame" not working on binary files? AttributeError: 'NoneType' object has no attribute 'groups' git/repo/base.py", line 625, in blame · Issue #74 · gitpython-developers/GitPython
Description: When trying to run repo.blame('master', '/path/') against a binary file, I always receive an AttributeError I hacked this patch that works for my needs Line 624 of base.py: m = self.re_tab_full_line.search(line) blames[-1][0] = c if m: t...
Open Graph Description: When trying to run repo.blame('master', '/path/') against a binary file, I always receive an AttributeError I hacked this patch that works for my needs Line 624 of base.py: m = self.re_tab_full_lin...
X Description: When trying to run repo.blame('master', '/path/') against a binary file, I always receive an AttributeError I hacked this patch that works for my needs Line 624 of base.py: m = self...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/74
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"blame\" not working on binary files? AttributeError: 'NoneType' object has no attribute 'groups' git/repo/base.py\", line 625, in blame","articleBody":"When trying to run repo.blame('master', '/path/') against a binary file, I always receive an AttributeError\n\nI hacked this patch that works for my needs\n\nLine 624 of base.py:\n\n```\n m = self.re_tab_full_line.search(line)\n blames[-1][0] = c\n if m:\n text, = m.groups()\n blames[-1][1].append( text )\n else:\n blames[-1][1].append( \"Could not get blame info!\" )\n```\n\nNot sure what the correct fix is as I'm not familiar with your code\n","author":{"url":"https://github.com/zbuc","@type":"Person","name":"zbuc"},"datePublished":"2012-10-11T21:50:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/74/GitPython/issues/74"}
| 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:3d27d4c3-357a-a5a3-2029-c2dea9775219 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 92A4:1DC101:1044D7D:163D43E:6969413F |
| html-safe-nonce | 97d8fb4bf5cfcdb875f70bd32e596687a5bd615c41e33e02dd69809175511e5b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkE0OjFEQzEwMToxMDQ0RDdEOjE2M0Q0M0U6Njk2OTQxM0YiLCJ2aXNpdG9yX2lkIjoiNDI2NTg3MTA4NDc3MTQyNjYyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 061f336606ffa0e9d2381d090355d5a6f81d3a5f5a268b1c9cb6308cb0610946 |
| hovercard-subject-tag | issue:7528087 |
| 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/74/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cfc42ba59c4f2001292fd9217f96a1c9b23b6136c60b95df553d14574171f6f3/gitpython-developers/GitPython/issues/74 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cfc42ba59c4f2001292fd9217f96a1c9b23b6136c60b95df553d14574171f6f3/gitpython-developers/GitPython/issues/74 |
| og:image:alt | When trying to run repo.blame('master', '/path/') against a binary file, I always receive an AttributeError I hacked this patch that works for my needs Line 624 of base.py: m = self.re_tab_full_lin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zbuc |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width