Closed nhooey closed 12 months ago
Can't reproduce.
fisher install version 4.4.3
Fetching https://api.github.com/repos/ilancosman/tide/tarball/v5
Installing ilancosman/tide@v5
/Users/jb/.config/fish/functions/_tide_1_line_prompt.fish
...
Configure tide prompt? [Y/n] n
Run tide configure to customize your prompt.
Installed 1 plugin/s
~
❯ fisher remove ilancosman/tide@v5
fisher remove version 4.4.3
Removing ilancosman/tide@v5
/Users/jb/.config/fish/functions/_tide_1_line_prompt.fish
...
Removed 1 plugin/s
jb@Titan /Users/jb > fisher install ilancosman/tide@v5
fisher install version 4.4.3
Fetching https://api.github.com/repos/ilancosman/tide/tarball/v5
Installing ilancosman/tide@v5
/Users/jb/.config/fish/functions/_tide_1_line_prompt.fish
...
Configure tide prompt? [Y/n] n
Run tide configure to customize your prompt.
Installed 1 plugin/s
~
❯ fisher remove ilancosman/tide@v5
fisher remove version 4.4.3
Removing ilancosman/tide@v5
/Users/jb/.config/fish/functions/_tide_1_line_prompt.fish
...
Removed 1 plugin/s
jb@Titan /Users/jb >
@jorgebucaran: Are you able to successfully grab Tide and extract it? This comes from this curl command in the Fisher source.
I get an error when I run it:
$ curl --silent -L https://api.github.com/repos/ilancosman/tide/tarball/v5 | tar -xzC /tmp/tide -f -
gzip: (stdin): trailing garbage ignored
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Never mind, I had this in my curl configuration:
# ~/.curlrc
-w "\n"
Found it in this GitHub comment from this Google query: "curl" "trailing garbage ignored".
I sure hope this isn't related to https://github.com/jorgebucaran/fisher/pull/766, which we just incorporated a few days ago.
In any case, whether with or without it, I'm able to successfully install Tide as demonstrated in my previous console output
I sure hope this isn't related to https://github.com/jorgebucaran/fisher/pull/766, which we just incorporated a few days ago.
It's definitely not. Curl was outputting corrupt data because of my Curl configuration, which caused Tar to error, all quietly because Fisher hides all error output for that command.
It's all good, no action required from you.
Problem
Fisher fails to install the Tide prompt:
Suggested fix
It would be best if Fisher output the actual error message from whatever library call it's making.
Cause
This worked initially, but is now failing after having uninstalled Tide with
fisher remove IlanCosman/tide@v5
and then attempting to reinstall, as shown above.Troubleshooting
However, Tide's tarball is downloadable: