{"action":"created","issue":{"url":"https://api.github.com/repos/rubygems/rubygems/issues/2258","repository_url":"https://api.github.com/repos/rubygems/rubygems","labels_url":"https://api.github.com/repos/rubygems/rubygems/issues/2258/labels{/name}","comments_url":"https://api.github.com/repos/rubygems/rubygems/issues/2258/comments","events_url":"https://api.github.com/repos/rubygems/rubygems/issues/2258/events","html_url":"https://github.com/rubygems/rubygems/issues/2258","id":310303580,"number":2258,"title":"invalid byte sequence in UTF-8 - suggestion to show more details","user":{"login":"shevegen","id":13723,"avatar_url":"https://avatars3.githubusercontent.com/u/13723?v=4","gravatar_id":"","url":"https://api.github.com/users/shevegen","html_url":"https://github.com/shevegen","followers_url":"https://api.github.com/users/shevegen/followers","following_url":"https://api.github.com/users/shevegen/following{/other_user}","gists_url":"https://api.github.com/users/shevegen/gists{/gist_id}","starred_url":"https://api.github.com/users/shevegen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shevegen/subscriptions","organizations_url":"https://api.github.com/users/shevegen/orgs","repos_url":"https://api.github.com/users/shevegen/repos","events_url":"https://api.github.com/users/shevegen/events{/privacy}","received_events_url":"https://api.github.com/users/shevegen/received_events","type":"User","site_admin":false},"labels":[{"id":307374455,"url":"https://api.github.com/repos/rubygems/rubygems/labels/status:%20triage","name":"status: triage","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-01T07:10:16Z","updated_at":"2018-04-12T20:38:45Z","closed_at":null,"author_association":"NONE","body":"  - [x] The command line `gem`\r\n\r\ngem version: 2.7.6\r\n\r\n---\r\n\r\nI have a problem building one of my project's gem (for the project studium).\r\n\r\nIn the past I used to have this problem related to german umlauts (\"Umlaute\").\r\n\r\nHowever had, right now, I do not know where the error is. I think it is not\r\nrelated to german umlauts but now related to UTF-8. I should add that I do\r\nnot use UTF-8 for the gem; I use ISO-8859-1 and this works very well.\r\nOnly gem has a problem - but also only sometimes. So I am confused.\r\n\r\nThe current gem output is totally useless to me:\r\n\r\n---\r\n\r\n```\r\nWARNING:  open-ended dependency on cliner (>= 0) is not recommended\r\n  if cliner is semantically versioned, use:\r\n    add_runtime_dependency 'cliner', '~> 0'\r\nWARNING:  open-ended dependency on colour_e (>= 0) is not recommended\r\n  if colour_e is semantically versioned, use:\r\n    add_runtime_dependency 'colour_e', '~> 0'\r\nWARNING:  open-ended dependency on esystem (>= 0) is not recommended\r\n  if esystem is semantically versioned, use:\r\n    add_runtime_dependency 'esystem', '~> 0'\r\nWARNING:  open-ended dependency on find_line_in_file (>= 0) is not recommended\r\n  if find_line_in_file is semantically versioned, use:\r\n    add_runtime_dependency 'find_line_in_file', '~> 0'\r\nWARNING:  open-ended dependency on ftp_paradise (>= 0) is not recommended\r\n  if ftp_paradise is semantically versioned, use:\r\n    add_runtime_dependency 'ftp_paradise', '~> 0'\r\nWARNING:  open-ended dependency on gruff (>= 0) is not recommended\r\n  if gruff is semantically versioned, use:\r\n    add_runtime_dependency 'gruff', '~> 0'\r\nWARNING:  open-ended dependency on html_tags (>= 0) is not recommended\r\n  if html_tags is semantically versioned, use:\r\n    add_runtime_dependency 'html_tags', '~> 0'\r\nWARNING:  open-ended dependency on opn (>= 0) is not recommended\r\n  if opn is semantically versioned, use:\r\n    add_runtime_dependency 'opn', '~> 0'\r\nWARNING:  open-ended dependency on prawn (>= 0) is not recommended\r\n  if prawn is semantically versioned, use:\r\n    add_runtime_dependency 'prawn', '~> 0'\r\nWARNING:  open-ended dependency on save_file (>= 0) is not recommended\r\n  if save_file is semantically versioned, use:\r\n    add_runtime_dependency 'save_file', '~> 0'\r\nWARNING:  open-ended dependency on try_syck (>= 0) is not recommended\r\n  if try_syck is semantically versioned, use:\r\n    add_runtime_dependency 'try_syck', '~> 0'\r\nWARNING:  open-ended dependency on web_images (>= 0) is not recommended\r\n  if web_images is semantically versioned, use:\r\n    add_runtime_dependency 'web_images', '~> 0'\r\nWARNING:  open-ended dependency on xorg_buffer (>= 0) is not recommended\r\n  if xorg_buffer is semantically versioned, use:\r\n    add_runtime_dependency 'xorg_buffer', '~> 0'\r\nWARNING:  open-ended dependency on verbose_truth (>= 0) is not recommended\r\n  if verbose_truth is semantically versioned, use:\r\n    add_runtime_dependency 'verbose_truth', '~> 0'\r\nWARNING:  See http://guides.rubygems.org/specification-reference/ for help\r\nERROR:  While executing gem ... (ArgumentError)\r\n    invalid byte sequence in UTF-8\r\ngem push *.gem\r\nERROR:  While executing gem ... (Gem::Package::FormatError)\r\n    package metadata is missing in studium-0.4.58.gem\r\n```\r\n\r\n---\r\n\r\nThe above does not tell me much. Ok so there is an ArgumentError... and it\r\nsays there is an invalid byte sequence in UTF-8.\r\n\r\nThen the gem push does not like it due to some Package::FormatError.\r\n\r\nMy request is this:\r\n\r\n**- Would it be possible to show more information when the above ERROR happens?**\r\n\r\nIn particular what I think may be most helpful is in which file(s) the problem happened.\r\n\r\nThat way I can easily check what changed. (May be my fault for not using git here\r\nbut it's just a problem that I got from gem and gem could, I hope, easily show the\r\nprecise error).\r\n\r\nShowing the affected files would help a LOT. It may also be helpful to have some \r\ndocumentation as to where or how the error arises ... but showing the affected files\r\nis more important I think.\r\n\r\nAnyway, thank you for reading."},"comment":{"url":"https://api.github.com/repos/rubygems/rubygems/issues/comments/380937101","html_url":"https://github.com/rubygems/rubygems/issues/2258#issuecomment-380937101","issue_url":"https://api.github.com/repos/rubygems/rubygems/issues/2258","id":380937101,"user":{"login":"duckinator","id":39698,"avatar_url":"https://avatars3.githubusercontent.com/u/39698?v=4","gravatar_id":"","url":"https://api.github.com/users/duckinator","html_url":"https://github.com/duckinator","followers_url":"https://api.github.com/users/duckinator/followers","following_url":"https://api.github.com/users/duckinator/following{/other_user}","gists_url":"https://api.github.com/users/duckinator/gists{/gist_id}","starred_url":"https://api.github.com/users/duckinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckinator/subscriptions","organizations_url":"https://api.github.com/users/duckinator/orgs","repos_url":"https://api.github.com/users/duckinator/repos","events_url":"https://api.github.com/users/duckinator/events{/privacy}","received_events_url":"https://api.github.com/users/duckinator/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T20:38:45Z","updated_at":"2018-04-12T20:38:45Z","author_association":"MEMBER","body":"Err, looks like you're running into the same problem, rather. (Or at least a very closely related one.)"}}
{"actor":{"display_login":"duckinator"}}