Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Espanso] Espanso Command Not Found #13398

Closed
acicovic opened this issue Jul 9, 2024 · 26 comments
Closed

[Espanso] Espanso Command Not Found #13398

acicovic opened this issue Jul 9, 2024 · 26 comments
Assignees
Labels
bug Something isn't working extension: espanso Issues related to the espanso extension extension Issues related to one of the extensions in the Store status: stalled Stalled due inactivity

Comments

@acicovic
Copy link

acicovic commented Jul 9, 2024

Extension

https://www.raycast.com/kud/espanso

Raycast Version

1.78.1

macOS Version

14.5

Description

I've been using Espanso and today I installed the extension. My installation has been done using brew, and typing espanso in the command line works, expansions work, and everything else works.

However, when I try to search matches using the extension, I'm getting a "Espanso Command Not Found" error, with instructions on how to install Espanso.

Maybe some missing permission?

Steps To Reproduce

  1. Invoke Raycast
  2. Select "Search Matches" command.

Current Behaviour

Displays the aforementioned error.

Expected Behaviour

List the available matches.

@acicovic acicovic added bug Something isn't working extension Issues related to one of the extensions in the Store labels Jul 9, 2024
@raycastbot raycastbot added the extension: espanso Issues related to the espanso extension label Jul 9, 2024
@raycastbot
Copy link
Collaborator

raycastbot commented Jul 9, 2024

Thank you for opening this issue!

🔔 @kud @nbbaier you might want to have a look.

💡 Author and Contributors commands

The author and contributors of kud/espanso can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.
  • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.

@kud
Copy link
Contributor

kud commented Jul 9, 2024

@acicovic Thank you for your feedback! Could you please run the following commands and share the output with us? This will help us diagnose the issue more effectively.

  1. Check the version of Node.js:

    node --version
  2. Check the version of Espanso:

    espanso --version
  3. Display the Espanso configuration path:

    espanso path config
  4. Display the directory structure of the Espanso configuration path up to 10 levels deep:

    tree -L 10 "$(espanso path config)"

Thank you for your cooperation!

@acicovic
Copy link
Author

acicovic commented Jul 10, 2024

Hi! Here you are:

❯ node --version
v20.11.0
❯ espanso --version
espanso 2.2.1
❯ espanso path config
/Users/redacted/Library/Application Support/espanso
❯ tree -L 10 "$(espanso path config)"
/Users/redacted/Library/Application Support/espanso
├── config
│   └── default.yml
└── match
    ├── base.yml
    └── packages

4 directories, 2 files

I've also tried after a reboot just in case, but getting the same behavior.

@kud
Copy link
Contributor

kud commented Jul 11, 2024

If there is no sensitive data, would you mind uploading your config? I'm also in the Raycast community on Slack if needed.

@kud
Copy link
Contributor

kud commented Jul 11, 2024

@raycastbot assign me

@acicovic
Copy link
Author

Sorry for the delay, I had no time to get back to this so far. It's on my todo list though.

@kud
Copy link
Contributor

kud commented Jul 19, 2024

@acicovic Sure thing. 😌

@acicovic
Copy link
Author

Hello!

I tried to export only the basic settings, and this results in a humongous file that won't be easy to be audited for sensitive data. Including the additional settings will probably complicate things even more.

However, since I'm able to extract the config to JSON files and open them, maybe you're after specific settings that I can share with you? Or if you're after a specific file that's smaller, maybe I can do something about it.

I understand the easiest path for you would be to import the whole thing and test, but it seems difficult to me to share the whole config as things stand.

Thank you!

@erics118
Copy link
Contributor

What's the output of espanso path?

@acicovic
Copy link
Author

acicovic commented Aug 7, 2024

Config: /Users/redacted/Library/Application Support/espanso
Packages: /Users/redacted/Library/Application Support/espanso/match/packages
Runtime: /Users/redacted/Library/Caches/espanso

@erics118
Copy link
Contributor

erics118 commented Aug 7, 2024

What about which espanso? How was espanso installed? Was it via brew or a different method?

@acicovic
Copy link
Author

acicovic commented Aug 8, 2024

Espanso was installed via brew.

❯ which espanso
/opt/homebrew/bin/espanso

@kud
Copy link
Contributor

kud commented Aug 8, 2024

@acicovic Could you try moving the package folder somewhere else and try again?

@acicovic
Copy link
Author

acicovic commented Aug 8, 2024

@kud, thanks for your suggestion.

Unfortunately I don't feel confident to experiment with that. As I'm using the Espanso Search bar now, my need isn't so great either (though I'd love to use this through Raycast). It's obvious that what happens to me is an edge case. As it stands, I don't think it's worth investing much of your time in this.

Feel free to close this issue or keep it open in case someone who stumbles upon this can be of more help than I have.

@kud
Copy link
Contributor

kud commented Aug 9, 2024

Sadly I think I won't be able to do that much with no more information. :/

@acicovic
Copy link
Author

acicovic commented Aug 9, 2024

I know. It's not your fault.

@erics118
Copy link
Contributor

erics118 commented Aug 12, 2024

I've created a PR which might be able to fix your issue. See #13977. Could you test it out and see it works?

@acicovic
Copy link
Author

Hey @erics118, thank you for your time and effort!

I'll definitely give this a try when it gets merged.

Thank you!

@raycastbot
Copy link
Collaborator

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label Oct 1, 2024
@kud
Copy link
Contributor

kud commented Oct 2, 2024

@acicovic Do you still have the issue?

@raycastbot raycastbot removed the status: stalled Stalled due inactivity label Oct 2, 2024
@acicovic
Copy link
Author

acicovic commented Oct 4, 2024

Hey, I'll get back to this ASAP, probably tomorrow.

@acicovic
Copy link
Author

acicovic commented Oct 5, 2024

Yes, issue is still here.

@raycastbot
Copy link
Collaborator

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label Nov 24, 2024
@kud
Copy link
Contributor

kud commented Nov 25, 2024

Okay let me check the PR then where you will be able to provide the right path of the cli.

@raycastbot raycastbot removed the status: stalled Stalled due inactivity label Nov 25, 2024
@raycastbot
Copy link
Collaborator

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label Jan 14, 2025
@raycastbot
Copy link
Collaborator

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.

@raycastbot raycastbot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working extension: espanso Issues related to the espanso extension extension Issues related to one of the extensions in the Store status: stalled Stalled due inactivity
Projects
None yet
Development

No branches or pull requests

4 participants