withfig / fig

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

Fig Integration: Figterm is not running #1467

Open kiranurs4ever opened 2 years ago

kiranurs4ever commented 2 years ago

Sanity checks

Issue Details

Description:

Please include a detailed description of the issue (and an image or screen recording, if applicable)[](url

Screenshot 2022-05-16 at 2 58 32 PM

)

Environment

apple@apples-MacBook-Pro ~ % fig diagnostic      
# Fig Diagnostics
## Fig details:
  - Fig version: Version 1.0.57 (B440) [ABC - India]
  - Bundle path: /Applications/Fig.app
  - Autocomplete: true
  - Settings.json: true
  - Accessibility: true
  - Number of specs: 0
  - Symlinked dotfiles: false
  - Only insert on tab: false
  - Keybindings path: 
  - Installation Script: true
  - PseudoTerminal Path: /Users/apple/Downloads/apache-maven-3.8.5/bin:/Users/apple/.gem/ruby/3.1.1/bin:/Users/apple/.rubies/ruby-3.1.1/lib/ruby/gems/3.1.0/bin:/Users/apple/.rubies/ruby-3.1.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/apple/Developer/flutter/bin:~/.local/bin:~/.fig/bin
  - SecureKeyboardInput: false
  - SecureKeyboardProcess: <none>
## Hardware Info:
  - Model Name: MacBook Pro
  - Model Identifier: MacBookPro11,2
  - Chip: 
  - Cores: 4
  - Memory: 16 GB
## OS Info:
  - macOS 11.6.5 (20G527)
## Environment:
  - User Shell: /bin/zsh
  - Current Directory: /Users/apple
  - CLI Installed: true
  - Executable Location: /usr/local/bin/fig
  - Current Window ID: 338/% (com.apple.Terminal)
  - Active Process: ??? (???) - ???
  - Environment Variables:
    - TERM=xterm-256color
    - TERM_SESSION_ID=717EEBAE-0A1C-49FF-8A08-87F5808D118E
    - PATH=/Users/apple/Downloads/apache-maven-3.8.5/bin:/Users/apple/.gem/ruby/3.1.1/bin:/Users/apple/.rubies/ruby-3.1.1/lib/ruby/gems/3.1.0/bin:/Users/apple/.rubies/ruby-3.1.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/apple/Developer/flutter/bin:~/.local/bin:~/.fig/bin
## Integrations:
  - SSH: false
  - TMUX: false
  - iTerm: installed!
  - Hyper: application is not present.
  - Visual Studio Code: installed!
  - Docker: false
apple@apples-MacBook-Pro ~ %
kiranurs4ever commented 2 years ago

Can someone help me on how to fix this issue ..

mschrage commented 2 years ago

@kiranurs4ever can you share your ~/.zshrc and ~/.zprofile?

kiranurs4ever commented 2 years ago

Screenshot 2022-05-17 at 12 17 22 PM

@mschrage thanks for responding please find my ~/.zshrc

kiranurs4ever commented 2 years ago

@mschrage when i open the terminal for new session I'm getting this.. Screenshot 2022-05-17 at 12 19 44 PM

@mschrage can I enable the bellow to fix Fig not running issue ✘ Fig Integration: Figterm is not running FIG_INTEGRATION_VERISON=None

mschrage commented 2 years ago

Can you run ls -a ~/.local/bin?

kiranurs4ever commented 2 years ago
Screenshot 2022-05-18 at 9 07 13 AM

@mschrage it say no such file or folder can I do anything manually to set it up ..

koemigg commented 2 years ago

I have the same problem.

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

Let's check your dotfiles...
✔ ~/.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
✔ PATH contains ~/.fig/bin
✘ Fig Integration: Figterm is not running
  FIG_INTEGRATION_VERSION=None
✔ Fig is running
✔ Fig socket exists
✔ Daemon
✘ Figterm socket: No file at path /tmp/figterm-0C61474E-B8F2-491C-B723-9E49770749F8.socket
  No file at path /tmp/figterm-0C61474E-B8F2-491C-B723-9E49770749F8.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...
✔ VSCode integration is enabled

Fig still not working? Run fig issue to let us know!
Or, email us at hello@fig.io!
~ $ fig diagnostic 
# Fig Diagnostics
## Fig details:
  - Fig version: Version 1.0.58 (B472) [ABC]
  - Bundle path: /Applications/Fig.app
  - Autocomplete: true
  - Settings.json: true
  - Accessibility: true
  - Number of specs: 0
  - Symlinked dotfiles: false
  - Only insert on tab: false
  - Keybindings path: 
  - Installation Script: true
  - PseudoTerminal Path: /opt/homebrew/opt/tcl-tk/bin:/Users/apple/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/Users/apple/.yarn/bin:/Users/apple/.config/yarn/global/node_modules/.bin:/opt/homebrew/opt/tcl-tk/bin:/usr/local/texlive/2021/bin/universal-darwin:/opt/homebrew/bin:/Users/apple/.rbenv/shims:/Users/apple/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/apple/Developer/bin:/Contents/Home/bin:/opt/homebrew/bin:Users/apple/.local/bin:Users/apple/.fig/bin:/Users/apple/fvm/default/bin:/Users/apple/.pub-cache/bin
  - SecureKeyboardInput: false
  - SecureKeyboardProcess: <none>
## Hardware Info:
  - Model Name: MacBook Pro
  - Model Identifier: MacBookPro18,3
  - Chip: Apple M1 Pro
  - Cores: 10 (8 performance and 2 efficiency)
  - Memory: 32 GB
## OS Info:
  - macOS 12.0.1 (21A559)
## Environment:
  - User Shell: /bin/zsh
  - Current Directory: /Users/apple
  - CLI Installed: true
  - Executable Location: /opt/homebrew/bin/fig
  - Current Window ID: 158232/% (com.apple.Terminal)
  - Active Process: ??? (???) - ???
  - Installed via Brew: true
  - Environment Variables:
    - TERM=xterm-256color
    - TERM_SESSION_ID=0C61474E-B8F2-491C-B723-9E49770749F8
    - PATH=/opt/homebrew/opt/tcl-tk/bin:/Users/apple/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/Users/apple/.yarn/bin:/Users/apple/.config/yarn/global/node_modules/.bin:/opt/homebrew/opt/tcl-tk/bin:/usr/local/texlive/2021/bin/universal-darwin:/opt/homebrew/bin:/Users/apple/.rbenv/shims:/Users/apple/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/apple/Developer/bin:/Contents/Home/bin:/opt/homebrew/bin:Users/apple/.local/bin:Users/apple/.fig/bin:/Users/apple/fvm/default/bin:/Users/apple/.pub-cache/bin
## Integrations:
  - SSH: false
  - TMUX: false
  - iTerm: application is not present.
  - Hyper: application is not present.
  - Visual Studio Code: installed!
  - Docker: true
~ $ 
Havhingstor commented 1 year ago

Can someone help me on how to fix this issue ..

I had the same issue, running the figterm-command fixed it for me.

fatherofinvention commented 1 year ago

Can someone help me on how to fix this issue ..

I had the same issue, running the figterm-command fixed it for me.

I thought it fixed it for me too but it turns out it just fixed it for that session. Closing iTerm and reopening causes the issue to return.

Edit: I restarted, ran fig doctor --verbose and then fig upgraded and now the issue is resolved. 🤷‍♂️