Title: Iconv::IllegalSequence · Issue #181 · git-commit-notifier/git-commit-notifier · GitHub
Open Graph Title: Iconv::IllegalSequence · Issue #181 · git-commit-notifier/git-commit-notifier
X Title: Iconv::IllegalSequence · Issue #181 · git-commit-notifier/git-commit-notifier
Description: A coworker pushed a few commits, one of which added a new PDF file in a branch. He got this error: remote: Sending mail... remote: /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_commit_notifier/diff_to_html.rb:541:in `icon...
Open Graph Description: A coworker pushed a few commits, one of which added a new PDF file in a branch. He got this error: remote: Sending mail... remote: /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_comm...
X Description: A coworker pushed a few commits, one of which added a new PDF file in a branch. He got this error: remote: Sending mail... remote: /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_comm...
Opengraph URL: https://github.com/git-commit-notifier/git-commit-notifier/issues/181
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Iconv::IllegalSequence","articleBody":"A coworker pushed a few commits, one of which added a new PDF file in a branch. He got this error:\n\n```\nremote: Sending mail...\nremote: /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_commit_notifier/diff_to_html.rb:541:in `iconv': \"\\223\\214\\213\\236 ReportLab G\"... (Iconv::IllegalSequence)\nremote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_commit_notifier/diff_to_html.rb:541:in `diff_for_commit'\nremote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_commit_notifier/diff_to_html.rb:713:in `diff_for_branch'\nremote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_commit_notifier/diff_to_html.rb:712:in `each'\nremote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_commit_notifier/diff_to_html.rb:712:in `diff_for_branch'\nremote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_commit_notifier/diff_to_html.rb:761:in `diff_between_revisions'\nremote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_commit_notifier/commit_hook.rb:241:in `run'\nremote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_commit_notifier/executor.rb:29:in `run!'\nremote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_commit_notifier/executor.rb:27:in `each_line'\nremote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_commit_notifier/executor.rb:27:in `run!'\nremote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/bin/git-commit-notifier:15\nremote: from /usr/local/bin/git-commit-notifier:19:in `load'\nremote: from /usr/local/bin/git-commit-notifier:19\n```\n\nI can reproduce it with today's master.\n\nIn case it matters, I have a `.gitattributes` file in that branch that contains `*.pdf binary`.\n\nIdeally, git-commit-notifier wouldn't try to diff PDFs at all, as per .gitattributes, but I'll settle for not crashing and omitting emails of this and all other commits in that particular push. ;-)\n","author":{"url":"https://github.com/mgedmin","@type":"Person","name":"mgedmin"},"datePublished":"2013-04-25T07:12:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/181/git-commit-notifier/issues/181"}
| 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:1305888f-a112-5d99-722a-417193430f50 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2D0:FC316:1D5EF4C:26D7553:696AFC35 |
| html-safe-nonce | 7b38604e640c4f3caa06fd45e02102d43a115607a26516ad19a91ce8fa9e5b84 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkQwOkZDMzE2OjFENUVGNEM6MjZENzU1Mzo2OTZBRkMzNSIsInZpc2l0b3JfaWQiOiI4MjMwMTYzODk2NTU1MjA3NzMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e786fabed49f62e90de4044cbb2c5effc6b0abbc5d0da151b030d314a603c528 |
| hovercard-subject-tag | issue:13625721 |
| 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/git-commit-notifier/git-commit-notifier/181/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d5f9dbd1717d0061fb3d48be680628c44bfa72f052d7216cdb3a4705f90b4113/git-commit-notifier/git-commit-notifier/issues/181 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d5f9dbd1717d0061fb3d48be680628c44bfa72f052d7216cdb3a4705f90b4113/git-commit-notifier/git-commit-notifier/issues/181 |
| og:image:alt | A coworker pushed a few commits, one of which added a new PDF file in a branch. He got this error: remote: Sending mail... remote: /var/lib/gems/1.8/gems/git-commit-notifier-0.11.11mg2/lib/git_comm... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mgedmin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/git-commit-notifier/git-commit-notifier git https://github.com/git-commit-notifier/git-commit-notifier.git |
| octolytics-dimension-user_id | 2109500 |
| octolytics-dimension-user_login | git-commit-notifier |
| octolytics-dimension-repository_id | 487280 |
| octolytics-dimension-repository_nwo | git-commit-notifier/git-commit-notifier |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 72399 |
| octolytics-dimension-repository_parent_nwo | wesabe/git-commit-notifier |
| octolytics-dimension-repository_network_root_id | 69656 |
| octolytics-dimension-repository_network_root_nwo | ilozka/git-commit-notifier |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width