Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fig doctor script fail — tar: Error opening archive #537

Closed
dvakatsiienko opened this issue Oct 22, 2021 · 3 comments · May be fixed by withfig/config#74
Closed

Fig doctor script fail — tar: Error opening archive #537

dvakatsiienko opened this issue Oct 22, 2021 · 3 comments · May be fixed by withfig/config#74
Labels
codebase:shell-integrations Shell integrations type:bug Something isn't working

Comments

@dvakatsiienko
Copy link

dvakatsiienko commented Oct 22, 2021

I've ran fig tools doctor script, all checks went fine except of one: Autocomplete specs installed: fail.

Doctor tried an autodfix, but had issue with tar archive extraction. Which could not fix.

Attaching a log and a screenshot.

λ fig tools doctor

Let's make sure Fig is running...

Fig bin exists: pass
Fig in path: pass
Fig running: pass
macOS version: pass

Let's see what fig diagnostic tells us...

Compatible shell: pass
Bundle path: pass
Autocomplete enabled: pass
CLI installed: pass
CLI tool path: pass
Accessibility enabled: pass
Autocomplete specs installed: fail

I can fix this!


> /Users/furthur/.fig/bin/fig update

Pulling most up-to-date completion specs...
Run fig docs to learn how to contribute your own!

tar: Error opening archive: Unrecognized archive format ⬅️ ‼️ ------ here is the error

Fix applied!


Let's restart our checks to see if the problem is resolved...

Let's make sure Fig is running...

Fig bin exists: pass
Fig in path: pass
Fig running: pass
macOS version: pass

Let's see what fig diagnostic tells us...

Compatible shell: pass
Bundle path: pass
Autocomplete enabled: pass
CLI installed: pass
CLI tool path: pass
Accessibility enabled: pass
Autocomplete specs installed: fail



Looks like we've already tried this fix before and it's not working.

Run fig issue to let us know!
Or, email us at \033[0;36mhello@fig.io\033[0m!

Image 2021-10-22 at 1 45 23 PM

@dvakatsiienko dvakatsiienko changed the title Fig doctor script fail Fig doctor script fail — tar: Error opening archive Oct 22, 2021
@dvakatsiienko
Copy link
Author

dvakatsiienko commented Oct 22, 2021

Upd: actually the same happens with fig update command.

λ fig update

Pulling most up-to-date completion specs...
Run fig docs to learn how to contribute your own!

tar: Error opening archive: Unrecognized archive format

Image 2021-10-22 at 1 48 28 PM

@fwesss
Copy link

fwesss commented Oct 22, 2021

Thanks for bringing this up! We changed the way we load autocomplete specs so we don't need that check in fig tools doctor or fig update at all.

Just submitted withfig/config#74 removing this from fig doctor.

@dvakatsiienko Were you running into another issue that caused you to run fig tools doctor?

@fwesss fwesss added type:bug Something isn't working codebase:shell-integrations Shell integrations labels Oct 22, 2021
@dvakatsiienko
Copy link
Author

@fwesss Gotcha. The second error happens in fig update command.
It pulls some autocomplete and fails opening archive in a same way fig tools doctor

@mschrage mschrage closed this as completed Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codebase:shell-integrations Shell integrations type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants