fig icon indicating copy to clipboard operation
fig copied to clipboard

iTerm integration is enabled: fig-iterm-integration.scpt is missing.

Open Casper-Guo opened this issue 2 years ago • 11 comments

Description:

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

Details:

OS Fig Shell
macOS 12.4.0 (21F79) 1.0.57 /bin/zsh
fig diagnostic

Fig Diagnostics

Fig details:

  • Fig version: Version 1.0.57 (B450) [Canadian English]
  • 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/Caskroom/miniconda/base/bin:/opt/homebrew/Caskroom/miniconda/base/condabin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/dev/bin/user:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/casperguo/.fig/bin:/Users/casperguo/.local/bin
  • SecureKeyboardInput: false
  • SecureKeyboardProcess:

Hardware Info:

  • Model Name: MacBook Pro
  • Model Identifier: MacBookPro18,3
  • Chip: Apple M1 Pro
  • Cores: 8 (6 performance and 2 efficiency)
  • Memory: 16 GB

OS Info:

  • macOS 12.4.0 (21F79)

Environment:

  • User Shell: /bin/zsh
  • Current Directory: /Users/casperguo
  • CLI Installed: true
  • Executable Location: /Users/casperguo/.fig/bin/fig
  • Current Window ID: 29383/% (com.googlecode.iterm2)
  • Active Process: zsh (31368) - /dev/ttys003
  • Environment Variables:
    • TERM_SESSION_ID=w0t0p0:DC1BC60F-D56E-4A97-94CE-A9AF53CF70C4
    • PATH=/opt/homebrew/Caskroom/miniconda/base/bin:/opt/homebrew/Caskroom/miniconda/base/condabin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/dev/bin/user:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/casperguo/.fig/bin:/Users/casperguo/.local/bin
    • TERM=xterm-256color
    • FIG_INTEGRATION_VERSION=8
    • FIG_TERM=1
    • FIG_TERM_VERSION=4.4.0
    • FIG_PID=31368

Integrations:

  • SSH: false
  • TMUX: false
  • iTerm: AutoLaunch script does not exist at /Users/casperguo/Library/Application Support/iTerm2/Scripts/AutoLaunch/fig-iterm-integration.scpt.
  • Hyper: application is not present.
  • Visual Studio Code: installed!
  • Docker: false

Casper-Guo avatar Jun 16 '22 17:06 Casper-Guo

Hi @Casper-Guo! Sorry to hear about this - do you have an old version of iTerm installed? The latest is 3.4. Could you try updating your iTerm version then run fig doctor again?

clo4 avatar Jun 17 '22 00:06 clo4

@SeparateRecords Hello! Thanks for getting back to me. I just checked that I am running version 3.4.15 and running fig doctor shows the same error

Casper-Guo avatar Jun 17 '22 13:06 Casper-Guo

I'm running into the same issue. On 3.4.16 and getting the same script not found error

cemore2048 avatar Jul 26 '22 14:07 cemore2048

Can you confirm if you see this below the debugger? Screen Shot 2022-07-27 at 1 07 53 pm

Clicking the "install integration" button should fix it.

clo4 avatar Jul 27 '22 03:07 clo4

Hey @SeparateRecords I have the same issue and have just tried to run the "install iTerm Integration" and I just get this popup fig-iterm

jessicakryan avatar Jul 27 '22 03:07 jessicakryan

Strange! Can you run ls -l ~/Library/Application\ Support | grep iTerm2 and send the output? If it contains your username you can censor it - my suspicion is that for some reason your config might be owned by another user account

Edit: this is what my output looks like, for comparison Screen Shot 2022-07-27 at 1 29 51 pm

clo4 avatar Jul 27 '22 03:07 clo4

UPDATE: Changing the owner to myself sorted this out, so I no longer get the above error and when running fig doctor says all is working as expected however I don't see the fig popup in either iterm2 or vscode it just never appears - tried with various commands and still same result.

Yes - it looks to be owned by the root rather than myself Screenshot 2022-07-27 at 2 29 15 pm

jessicakryan avatar Jul 27 '22 04:07 jessicakryan

@jessicakryan Any idea how that could have happened? I've seen this a couple of times now and still no idea why this happens in the first place 😄

I don't see the fig popup in either iterm2 or vscode it just never appears

Maybe there are other files owned by root...? Here's a couple of places to check:

  • ~/.fig
  • ~/.local/bin

If the directory is owned by root it might not be writable for you user account, so fig might not have been able to install correctly and silently failed.

Here's mine for comparison again: Screen Shot 2022-07-27 at 4 29 05 pm

clo4 avatar Jul 27 '22 06:07 clo4

Also for anyone in this thread: if you're stuck and want to debug 1:1, feel free to pick a time with me! https://calendly.com/robert-fig/support

clo4 avatar Jul 27 '22 06:07 clo4

Hi @SeparateRecords, no clue. I have run the above and files in those directories are owned by myself so all good there

jessicakryan avatar Jul 27 '22 07:07 jessicakryan

Annoying. Definitely would suggest picking a time on my calendar - should take <15 mins to sort out :)

clo4 avatar Jul 27 '22 08:07 clo4

Hey @SeparateRecords this seems to have resolved itself now - am on the below versions and everything working as expected. MacOS: 12.5.1 Fig version: 1.0.60

jessicakryan avatar Aug 30 '22 01:08 jessicakryan

This looks like it's fixed, so closing this.

rahulsarathy avatar Sep 14 '22 18:09 rahulsarathy