withfig / fig

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

bug: install input-method: IO Error: No such file or directory (os error 2) #2411

Open cbochs opened 1 year ago

cbochs commented 1 year ago

Checks

Operating system

macOS 13.2.1 (22D68)

Expected behaviour

The integrations input-method is installed.

Actual behaviour

Attempt to install

❯ fig integrations install input-method
error: IO Error: No such file or directory (os error 2)

Using fig doctor

❯ COLORBT_SHOW_HIDDEN=1 RUST_BACKTRACE=1 fig doctor --verbose
Let's check if you're logged in...
✔ Logged into Fig

...

Let's check your terminal integrations...
✔ Terminal support
✘ Input Method: Input Method is not installed

  Run `fig integrations install input-method` to enable it

   0: IO Error: No such file or directory (os error 2)
   1: No such file or directory (os error 2)

Location:
   /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/core/src/convert/mod.rs:726

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: backtrace::capture::Backtrace::new::h6ce7e75844081c2d
      at <unknown source file>:<unknown line>
   2: color_eyre::config::EyreHook::into_eyre_hook::{{closure}}::ha917c7758daf7ec3
      at <unknown source file>:<unknown line>
   3: eyre::error::<impl eyre::Report>::from_std::hb57bb0d7007391f7
      at <unknown source file>:<unknown line>
   4: <fig_cli::cli::doctor::ImeStatusCheck as fig_cli::cli::doctor::DoctorCheck<core::option::Option<fig_util::terminal::Terminal>>>::check::{{closure}}::h1caf6a4b1a9ff7d0
      at <unknown source file>:<unknown line>
   5: fig_cli::cli::doctor::doctor_cli::{{closure}}::{{closure}}::hb6ccaf332af9c3f7
      at <unknown source file>:<unknown line>
   6: fig_cli::cli::Cli::execute::{{closure}}::h6871c4615db0b879
      at <unknown source file>:<unknown line>
   7: <tokio::future::poll_fn::PollFn<F> as core::future::future::Future>::poll::h445d38284a2537c7
      at <unknown source file>:<unknown line>
   8: fig_cli::main::{{closure}}::ha93979ed63facd1b
      at <unknown source file>:<unknown line>
   9: tokio::runtime::park::CachedParkThread::block_on::h0d89f93ac1da7292
      at <unknown source file>:<unknown line>
  10: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h8ae42d9e0dc973a9
      at <unknown source file>:<unknown line>
  11: tokio::runtime::runtime::Runtime::block_on::h58604d33175352bb
      at <unknown source file>:<unknown line>
  12: fig_cli::main::h359af03e4cc49017
      at <unknown source file>:<unknown line>
  13: std::sys_common::backtrace::__rust_begin_short_backtrace::h7c433ba3e5f021ee
      at <unknown source file>:<unknown line>
  14: std::rt::lang_start::{{closure}}::h8367f80097298393
      at <unknown source file>:<unknown line>
  15: std::rt::lang_start_internal::h0cdebe2c4a3b171e
      at <unknown source file>:<unknown line>
  16: _main<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.

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

Steps to reproduce

Install fig, run fig integrations install input-method

Environment

fig-details:
  - 2.14.2
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Apple M1 Pro
  - cores: 10
  - mem: 16.00 GB
os-info:
  - macOS 13.2.1 (22D68)
environment:
  - shell: /bin/zsh
  - terminal: alacritty
  - cwd: /Users/cbochula@cisco.com/.config/zsh/zsh-abbr
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - PATH: /Users/cbochula@cisco.com/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/Users/cbochula@cisco.com/.local/share/neovim/bin:/opt/homebrew/sbin:/opt/homebrew/bin:/Users/cbochula@cisco.com/.spicetify:/Users/cbochula@cisco.com/.local/bin:/Users/cbochula@cisco.com/.cargo/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Applications/Wireshark.app/Contents/MacOS:/Users/cbochula@cisco.com/.fig/bin
    - FIG_SET_PARENT: 031f36bc-0eba-4b98-b930-48a9d20ee6e9
    - SHELL: /usr/local/bin/fish
    - __CFBundleIdentifier: org.alacritty
    - FIG_PARENT: 
    - FIG_TERM_TMUX: 2.14.2
    - FIG_TERM: 2.14.2
    - TERM: tmux-256color
    - FIG_PID: 44559
    - FIGTERM_SESSION_ID: 031f36bc-0eba-4b98-b930-48a9d20ee6e9
    - FIG_SET_PARENT_CHECK: 1
david-d-h commented 1 year ago

Same here

cthayto commented 1 year ago

Same issue

mdwcrft commented 1 year ago

Same, also on M1 with MacOS 13.3

david-d-h commented 1 year ago

This issue has been persisting for me for about 3-4 weeks now, it'd be really nice if anyone were to check this out. Nothing I've tried works, installing the .dmg from the website, reinstalling using homebrew and even uninstalling via homebrew while zapping all files.

spark-spartan commented 1 year ago

snap for issue, also on M1 with MacOS 13.3

github-quentin-moreau commented 1 year ago

same issue for me, also on Intel with MacOs 13.3.1

grant0417 commented 1 year ago

I believe this should be fixed in 2.16 which is coming soon.

The fix for now is to create a directory: mkdir ~/Library/Input\ Methods/