compiler icon indicating copy to clipboard operation
compiler copied to clipboard

error with bump/diff when docs.json line is longer than 65535 (in 0.19.1 but not 0.19.0)

Open aforemny opened this issue 5 years ago • 1 comments

Quick Summary: Ran into a known bug that prevents publishing my package with Elm 0.19.1. This just adds another data-point to issue #2055 (like #2098).

SSCCE

$ elm diff aforemny/material-components-web-elm 4.0.0 5.0.0
-- PROBLEM LOADING DOCS --------------------------------------------------------

I need the docs for 4.0.0 to compute this diff, so I fetched:

    https://package.elm-lang.org/packages/aforemny/material-components-web-elm/4.0.0/docs.json

I got the data back, but it was not what I was expecting. The response body
contains 208191 bytes. Here is the beginning:

    [{"name":"Material.Button","comment":" Buttons allow users to take action...

Does this error keep showing up? Maybe there is something weird with your
internet connection. We have gotten reports that schools, businesses, airports,
etc. sometimes intercept requests and add things to the body or change its
contents entirely. Could that be the problem?
  • Elm: 0.19.1
  • Browser: N/A
  • Operating System: NixOS 20.09

Additional Details

Publishing succeeds with the Elm 0.19.0 binary.

aforemny avatar Aug 31 '20 07:08 aforemny

Thanks for reporting this! To set expectations:

  • Issues are reviewed in batches, so it can take some time to get a response.
  • Ask questions a community forum. You will get an answer quicker that way!
  • If you experience something similar, open a new issue. We like duplicates.

Finally, please be patient with the core team. They are trying their best with limited resources.

github-actions[bot] avatar Aug 31 '20 07:08 github-actions[bot]