compiler icon indicating copy to clipboard operation
compiler copied to clipboard

elm publish under zsh not printing error message

Open jweir opened this issue 1 year ago • 1 comments

Quick Summary: ???

elm publish errors without an error message when using zsh on MacOS.

When using bash the error message is printed.

SSCCE

using zsh 5.9 (x86_64-apple-darwin23.0)

elm publish
  Verifying jweir/charter 2.0.7 ...

    ● Found README.md
    ● Found LICENSE
    → Verifying documentation...zsh: segmentation fault  elm publish

Expected output

Running the same command, but within a bash session produces

GNU bash, version 3.2.57(1)-release (arm64-apple-darwin23

elm publish
  Verifying jweir/charter 2.0.7 ...

    ● Found README.md
    ● Found LICENSE
    ✗ Problem with documentation

  -- PROBLEM DOWNLOADING PACKAGE -------------------------------------------------

  I was trying to download the source code for elm-explorations/test 1.2.2, so I
  tried to fetch:

      https://github.com/elm-explorations/test/zipball/1.2.2/

  But my HTTP library is giving me the following error message:

      InternalException (HandshakeFailed (Error_Protocol ("certificate rejected: [InvalidSignature SignatureInvalid]",True,CertificateUnknown

  Are you somewhere with a slow internet connection? Or no internet? Does the link
  I am trying to fetch work in your browser? Maybe the site is down? Does your
  internet connection have a firewall that blocks certain domains? It is usually
  something like that!
  • Elm: Elm 0.19.1
  • Browser: n/a
  • Operating System: MacOS 14.2 (M2)

Additional Details

The network issue with Github eventually resolved and elm publish succeed.

jweir avatar Dec 21 '23 18:12 jweir

Thanks for reporting this! To set expectations:

  • Issues are reviewed in batches, so it can take some time to get a response.
  • Ask questions in 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 Dec 21 '23 18:12 github-actions[bot]