withfig / fig

Public issue tracker for Fig.

Home Page:https://fig.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fig not working despite all fig doctor checks passing

Tom-Ainsworth opened this issue · comments

Checks

  • I have searched github.com/withfig/fig/issues and there are no duplicates of my issue
  • I have run fig doctor in the affected terminal session
  • I have run fig restart and replicated the issue again

Operating system

macOS 14.2.1 (23C71)

Expected behaviour

Auto complete/prompts should appear

Actual behaviour

No autocomplete/prompts, and an extra cursor appears either above or below my current line, depending on the terminal (below in vs code, above in macOS terminal)

Steps to reproduce

I've run fig doctor and fig restart
uninstalled fig from the fig dashboard
reinstalled fig
setup shell integrations
reran fig doctor/restart
closed the terminal window and opened a new one, then reran the commands

still no luck

Environment

fig-details:
  - 2.17.0
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Apple M1
  - cores: 8
  - mem: 16.00 GB
os-info:
  - macOS 14.2.1 (23C71)
environment:
  - shell: /bin/zsh
  - terminal: vscode
  - cwd: /Users/tomainsworth/Code/otsuka-hcp-portal
  - exe-path: /Users/tomainsworth/.fig/bin/fig
  - install-method: unknown
  - env-vars:
    - FIGTERM_SESSION_ID: 16f3f357-ea0a-4a2f-acbd-62499de4d214
    - FIG_PID: 18054
    - FIG_SET_PARENT: 16f3f357-ea0a-4a2f-acbd-62499de4d214
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.17.0
    - PATH: /Users/tomainsworth/.nvm/versions/node/v18.16.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/tomainsworth/.nvm/versions/node/v18.16.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/tomainsworth/.fig/bin:/Users/tomainsworth/.local/bin:/Users/tomainsworth/.composer/vendor/bin:/Users/tomainsworth/.composer/vendor/bin
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - ZDOTDIR: /Users/tomainsworth
    - __CFBundleIdentifier: com.microsoft.VSCode

I have same problem, switch from beta to stable but same problem.
fig doctor passes all stages with success

Sidenote: I've had Fig since May 2023, and got upgraded to the Pro tier when Amazon took over. It has been working fine for a long time, but today I've had a number of issues, this being the latest one

Yep, same issue. Started today, prompt is not displaying. Ran fig doctor/restart (all checks passes, ...)

fig-details:

  • 2.17.0
    hardware-info:
  • model:
  • model-id:
  • chip-id: Apple M1 Max
  • cores: 10
  • mem: 32.00 GB
    os-info:
  • macOS 13.2.1 (22D68)
    environment:
  • shell: /bin/zsh
  • terminal: terminal
  • cwd: /Users/imariscal
  • exe-path: /opt/homebrew/bin/fig
  • install-method: brew
  • env-vars:
    • FIGTERM_SESSION_ID: 0ea527fb-90a3-4c23-afdf-192350a3d639
    • FIG_SET_PARENT_CHECK: 1
    • FIG_TERM: 2.17.0
    • PATH: /Users/imariscal/.bun/bin:/Users/imariscal/.pyenv/shims:/Users/imariscal/.volta/bin:/Users/imariscal/.sdkman/candidates/java/current/bin:/Users/imariscal/.sdkman/candidates/gradle/current/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/imariscal/Library/Android/sdk/emulator:/Users/imariscal/Library/Android/sdk/tools:/Users/imariscal/Library/Android/sdk/tools/bin:/Users/imariscal/Library/Android/sdk/platform-tools:/Users/imariscal/Library/Android/sdk/emulator:/Users/imariscal/Library/Android/sdk/platform-tools:/Users/imariscal/.fig/bin:/Users/imariscal/.local/bin
    • SHELL: /bin/zsh
    • TERM: xterm-256color
    • __CFBundleIdentifier: com.apple.Terminal
    • FIG_PID: 1405
    • FIG_SET_PARENT: 0ea527fb-90a3-4c23-afdf-192350a3d639

Same here.

Same problem here, started today, fig doctor passing

Same issue as well. Started today. Ran fig doctor (passing), fig restart and closed the terminal, still not working.

same here

I also updated my Macbook to Sonoma 14.3 and then this happend. Don't know if it matters

same here

I also updated my Macbook to Sonoma 14.3 and then this happend. Don't know if it matters

Same here, updated today to Sonoma 14.3 (23D56) and stop working since that

Same here

same here
I also updated my Macbook to Sonoma 14.3 and then this happend. Don't know if it matters

Same here, updated today to Sonoma 14.3 (23D56) and stop working since that

I'm still on 14.2.1 and everything was working fine until today. I'm thinking it's a Fig-specific issue?

same here, that's what web inspector says
image

Same here, with MacOs Sonoma 14.3

This is also occurring on MacOS Ventura 13.6.3.

Checking in to note another instance of this on Sonoma 14.2.1 (23C71), fig_cli 2.17.0. fig doctor is reporting clean, but no autocomplete anywhere.

same here, all of a sudden it stopped working, everything is fine.

I tried reinstalling fig, restarting fig, restarting my laptop. But the suggestions does not comes up.

Same here, with MacOS Sonoma 14.3 intel chip. I got this:

Let's see if Fig is in a working state...
✘ Figterm: No FIGTERM_SESSION_ID

   0: No FIGTERM_SESSION_ID
   1: environment variable not found

Location:
   fig_cli/src/cli/doctor.rs:658

Dropdown not appearing

fig.not.working.mov

Guys, they rebranded Fig as CodeWhisperer.

Solution: uninstall Fig but install AWS CodeWhisperer

https://aws.amazon.com/blogs/devops/introducing-amazon-codewhisperer-for-command-line/

@2coo I did that but CodeWhisperer does not support https://cursor.sh/

Same here, with MacOs Sonoma 14.2.1

Also running MacOs Sonoma 14.2.1 and facing the same issue, since yesterday.

I have been experiencing the same issue with macOS Sonoma 14.2.1 since yesterday.

I think they forgot to do some permission handling in the normal Fig.
Installing CodeWhisperer instead which works.

I have been using fig for a year and I encountered the same problem a few days ago.

I have not updated Mac OS in the past few days, I have version 14.1.2 (23B92) MacbookAir m1

Same here, with MacOs Sonoma 14.3

Same here, Fig stopped working since yesterday on Mac.

@knielsen-foreflight Thanks for letting me know about CodeWhisperer. I've also installed that and it's working as expected. It would still be good to get a Fig fix though. I imagine it's become a secondary concern now AWS have taken over and made their own version

Guys, they rebranded Fig as CodeWhisperer.

Solution: uninstall Fig but install AWS CodeWhisperer

https://aws.amazon.com/blogs/devops/introducing-amazon-codewhisperer-for-command-line/

Yep, I uninstalled Fig and installed CodeWhisperer and now it works again.

I can confirm too that it's working after installing CodeWhisperer

Can confirm that it works after installing CodeWhisperer (on MacOS Sonoma 14.3 [23D56]).

They have a tiny little message [that I just noticed 2 minutes ago] on the fig.io homepage announcing the change.

Screenshot 2024-01-26 at 9 23 03 AM

Yep, same experience here, I uninstalled Fig and migrated to AWS CodeWhisperer.

did anyone get the autocomplete with history to work in the aws codewhisperer cli?

With CodeWhisperer we can't use custom scripts

Same issue here, sidegrading to codewhisper works. Shame for the no custom scripts though as I used one for work. I hope they add that back.

It started working now, I don't know how 🧐, maybe they fixed their servers or something.
But I am happy now :)

@2coo I did that but CodeWhisperer does not support https://cursor.sh/

Working in Cursor IDE for me, on Ventura 13.4.1:


Version: 0.24.3
VSCode Version: 1.85.1
Commit: 0924ede25947ac9b7d2e64a607a8c74cf8668f70
Date: 2024-01-28T07:15:14.673Z
Electron: 25.9.7
ElectronBuildId: undefined
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 22.5.0

@themashcodee


All of that aside, if this was the planned method of sunsetting Fig- to break it on the server side, let fig doctor keep showing all green, and let devs figure it out for themselves- then that's pretty raggedy.

I just ran 'fig restart' and now it works again 🥳

Hi everyone!

Quick Fix

  1. Run fig restart
  2. If still not fixed, run fig debug devtools autocomplete and once the page is open hit cmd+r to refresh the page

More information
It appears that this is a caching issue related to macOS Sonoma. We aren't 100% sure and we are investigating. We are currently not able to reproduce it on our end. We are working with users to find out more.

If you are still having issues, please share you a screenshot of the Web Inspector console.

Other
If you're just using Fig for autocomplete, we recommend upgrading to CodeWhisperer for command line

@mschrage I see this in the Web Inspector console
CleanShot 2024-01-29 at 21 04 27@2x

UPDATE: it works again after a second restart 🤷

I fixed changing zsh theme, using awesomepanda theme the autocomplete doesn't work

9 months since this repository has been worked on. Like most other open-source projects bought out by FANGs, they end up dead or push users into one of their paid products/services.

I had very same issues with fig. Today, update showed up. Since update, even dashboard stop working with error message: "Something went wrong :(".
I tried:

  • reinstall
  • a lot of restarts
  • log in/out
  • force quit

Do I really have to switch to the CodeWhisperer?
image

I have the same problem

Captura de pantalla 2024-01-31 a las 12 59 34

The login does not work now, but a few days ago it was good

I have wasted a lot of time with this and just today I can't spare it. A word of advice to anyone who is having the same thing happen to them, uninstall Fig and install CodeWhisperer instead.

I leave here the commands:

1. Uninstall FIG

fig uninstall

2. Install CodeWhisperer

https://desktop-release.codewhisperer.us-east-1.amazonaws.com/latest/CodeWhisperer.dmg

3. Enable accessibility on MAC

System settings / Privacy and security / Accessibility / CodeWhisperer (Enable the app)

image image image

4. Check if there are no errors and if it works

cw doctor
Captura de pantalla 2024-01-31 a las 13 31 48

5. These steps will modify your VSC and ZSH configuration file automatically

image image image

I tried AWS CodeWhisperer but it doesn't cover half of the features available in Fig (yet I presume). It's not a valid workaround for now.

Same here. Autocompletion works, but Dashboard does not load. Following #2885 (comment) does not help. Here is what I see in fig debug devtools autocomplete:

Screenshot 2024-02-02 at 16 50 12

Running fig --version in CLI returns 2.17.1.

Thanks to everyone for chiming in! This thread has quite a few different issues being reported, and we think most have been resolved.

Please open a new issue if you are still being impacted.