Connect applications to schemes, filetypes, and more on macOS (more to come)
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Launch Services API error: Failed to set UTI handler: error -50 #1

open opened by oschrenk.tngl.sh

Can't set extension types

infat set TextEdit --ext md
Error:
   0: Set command failed
   1: Failed to set default app for .md
   2: Launch Services API error: Failed to set UTI handler: error -50

Location:
   infat-cli/src/main.rs:354

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 4 frames hidden ⋮                        
   5: <E as eyre::context::ext::StdError>::ext_report::h382382c6e66c9cf6
      at <unknown source file>:<unknown line>
   6: infat::main::{{closure}}::haa3153a265a2f570
      at <unknown source file>:<unknown line>
   7: tokio::runtime::park::CachedParkThread::block_on::hfbb8aba0b1113018
      at <unknown source file>:<unknown line>
   8: tokio::runtime::context::runtime::enter_runtime::hb3ab6b5255ee0306
      at <unknown source file>:<unknown line>
   9: infat::main::h3aa8ec476aac867a
      at <unknown source file>:<unknown line>
  10: std::sys::backtrace::__rust_begin_short_backtrace::h668142b3b5704ebd
      at <unknown source file>:<unknown line>
  11: std::rt::lang_start::{{closure}}::hce381f502bdf0d33
      at <unknown source file>:<unknown line>
  12: std::rt::lang_start_internal::h5b2b6e2cac0b4d2b
      at <unknown source file>:<unknown line>
  13: _main<unknown>
      at <unknown source file>:<unknown line>

Works with types

❯ infat set Neovide --type plain-text
✓ Set type plain-text → Neovide

Calling infat with current config also fails

[extensions]
mkv  = "IINA"
mp4  = "IINA"
webm = "IINA"

[schemes]
mailto = "Mail"
web    = "Arc"

[types]
plain-text = "Neovide"
video      = "IINA"

macOS 26.4

❯ sw_vers -productVersion
26.4
❯ infat --version
infat-cli 3.0.3

Thanks so much Great debug information!

I'm going to try to recreate on my machine later today and then get back to you.

Does it need some special permissions and something is swallowing the permission dialog?

Should be up now!!

And no.

The release is a bit confusing.

  • Github only lists 3.1 as a released tag
  • the last commit has the message 3.1.2 but actually changes it to 3.1.1

What is the correct release?

I'm willing to update homebrew (since that one lists only 3.0.3 as the latest. But I would love to link to the latest and correct version.

Or is there a binary on tangled? While submitting a patch to homebrew shgould I also link to tangled? (but keeop binary asets linking to github?)

`` ❯ brew upgrade infat Warning: infat 3.1.2 already installed backend on 🌿DEV-3297 +9 with 🤖 ❯ infat --version infat-cli 3.1.1


Ok. Somebody updated `homebrew` to 3.1.2 but `infat` itself is actually reporting the wrong version.
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:yhnpm7xxyqsct4sjfmaccilc/sh.tangled.repo.issue/3miqrn6flws22