withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.05k stars 63 forks source link

Stop Working on System Reboot #1436

Open thechip911 opened 2 years ago

thechip911 commented 2 years ago

Description:

Please include a detailed description of the issue (and an image or screen recording, if applicable) Hi When i do a system reboot, completions stop working even after enabling launch on start option so i have to quit and relaunch fig.

Details:

macOS Fig Shell
12.3.1 Version 1.0.57 (B440) /bin/zsh
fig diagnostic

Version 1.0.57 (B440) [ABC] 
UserShell: /bin/zsh
Bundle path: /Applications/Fig.app
Autocomplete: true
Settings.json: true
CLI installed: true
CLI tool path: /Users/chip/.fig/bin/fig
Accessibility: true
SSH Integration: false
Tmux Integration: false
iTerm Integration: true [Authenticated]
Hyper Integration: false
VSCode Integration: true
Docker Integration: true
Symlinked dotfiles: false
Only insert on tab: false
UNIX Socket Exists: true
Installation Script: true
PseudoTerminal Path: /Users/chip/.local/share/solana/install/active_release/bin:/opt/homebrew/opt/cython/bin:/opt/homebrew/opt/openssl@3/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/opt/openssl@3/bin:/opt/homebrew/opt/mysql-client/bin:/opt/homebrew/opt/openssl@3/bin:/opt/homebrew/opt/python@3.10/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/chip/.cargo/bin:/Users/chip/.fig/bin:/Users/chip/.local/bin:/Users/chip/.fzf/bin
SecureKeyboardInput: false
SecureKeyboardProcess: 
Current active process: ??? (???) - ???
Current terminal session: ???
Current working directory: ???
Current window identifier: 420/% (com.googlecode.iterm2)

chaynabors commented 2 years ago

Hey @thechip911, thanks for reaching out! Are you able to reproduce this? If you can, do you think you can run fig doctor --verbose and share the output here?

thechip911 commented 2 years ago

hi @chaynabors yes im able to reproduce this as i said that it stops working after reboot i mean it auto starts when the system reboots but the autosuggestion doeent works untill i does restart the fig. I did already ran the doctor command when i was kinda searching for this bug and below is the o/p for that In Short its supposed to be like screenshot 1 but its like screenshot 2 untill i do like screenshot 3 SS 1 and if u need anything from mi side please let me know. Thanks chip@Chips-MacBook-Pro~ iTerm2 2022-05-20 at 07 37 56

SS2

chip@Chips-MacBook-Pro~ iTerm2 2022-05-20 at 07 37 01

SS3 chip@Chips-MacBook-Pro~ iTerm2 2022-05-20 at 07 37 20

fig doctor --verbose                                                                                                                                                                                                                                                                                                                   15.5G   07:30:08 AM   83%  <─╯
Let's check if you're logged in...
✔ Logged into Fig

Let's check your dotfiles...
✔ .bashrc exists
✔ .zshrc exists
✔ ~/.bashrc contains valid fig hooks
✔ ~/.profile contains valid fig hooks
✔ ~/.zshrc contains valid fig hooks
✔ ~/.zprofile contains valid fig hooks

Let's make sure Fig is running...
✔ Fig bin exists
✔ PATH contains ~/.local/bin and ~/.fig/bin
✔ Fig Integration
✔ Fig is running
✔ Fig socket exists
✔ Daemon
✔ Figterm socket
✔ Insertion lock does not exist
✔ PATH and PseudoTerminal PATH match
✔ Autocomplete dev mode
✔ Plugin dev mode

Let's check if your system is compatible...
✔ OS is supported

Let's check fig diagnostic...
✔ Installation script
✔ Compatible shell
✔ Fig app installed in the right place
✔ Autocomplete is enabled
✔ Fig CLI path
✔ Accessibility enabled
✔ Secure keyboard input disabled

Let's check your terminal integrations...
✔ iTerm integration is enabled
✔ VSCode integration is enabled

Fig still not working? Run fig issue to let us know!
Or, email us at hello@fig.io!
thechip911 commented 2 years ago

@chaynabors

clairechabas commented 1 year ago

I'm having the same issue on MacOS Ventura 13.2.1. I'm using the Hyper terminal, I restarted it after running fig doctor --verbose once but it's still not working so I thought I'd let you know :)

Here's my output for the doctor command:

➜ fig doctor --verbose   
Let's check if you're logged in...
✔ Logged into Fig

Let's check your dotfiles...
✔ bash ~/.bashrc integration check
✔ bash ~/.profile integration check
✔ bash ~/.bash_profile integration check
✔ zsh ~/.zshrc integration check
✔ zsh ~/.zprofile integration check

Let's make sure Fig is setup correctly...
✔ Fig bin exists
✔ PATH contains ~/.local/bin
✔ PATH contains ~/.fig/bin
✔ Settings Corruption
✔ State Corruption
✔ Fig Integration
✔ SSH integration

Let's make sure Fig is running...
✔ Fig is running
✔ Fig socket exists
✔ Daemon
✔ Daemon diagnostics

Let's see if Fig is in a working state...
✔ Figterm
✔ Insertion lock does not exist
✔ Autocomplete dev mode
✔ Plugin dev mode
✔ Dashboard is loading from the correct URL
✔ Autocomplete is loading from the correct URL

Let's check if your system is compatible...
✔ OS is supported
✔ Fish is up to date
✔ Jetbrains Toolbox Check

Let's check fig diagnostic...
✔ Compatible shell
✔ Fig app installed in the right place
✔ Autocomplete is enabled
✔ Fig CLI path
✔ Accessibility enabled

Let's check your terminal integrations...
✔ Terminal support

  Fig still not working? Run fig issue to let us know!
  Or, email us at hello@fig.io!
clairechabas commented 1 year ago

FYI I got it working again by forcing it to close in the activity monitor and relaunching it.