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

Package installer not working correctly "espanso install obsidian-in-colour --external" #752

Open
LtanHonor opened this issue Sep 10, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@LtanHonor
Copy link

Preliminary Information:
Obsidian version: 0.12.15
Espanso version: 0.7.3

Copied verbatim from my reddit post: https://www.reddit.com/r/espanso/comments/pkc5ke/obsidian_in_colour_woes_package_installer_not/

As the title hints at, when I installed obsidian-in-colour using the command line the script never executes. After looking in the logs and then the yml file I found:

YML "%CONFIG%/scripts/obsidian_colour.py"

LOG 14:29:48 [ WARN] Script command reported error: C:\Users\name\AppData\Local\Programs\Python\Python39\python.exe: can't open file 'C:\Users\name\AppData\Roaming\espanso\scripts\obsidian_colour.py': [Errno 2] No such file or directory

When I hard code the YML to point to the correct location everything works correctly.

Modified YML

"C:/Users/name/AppData/Local/espanso/packages/obsidian-in-colour/scripts/obsidian_colour.py"

The %CONFIG% variable is looking for the Scripts folder just under the espanso folder, while the installer puts it into the packages\PACKAGENAME\scripts folder. Is this an ESPANSO issue, or the package?

My work around has been, on Windows 10, to use mklink and junction link the /apps/remote and the /apps/local/ Espanso folders to use only the /apps/local location. Don't hate on this solution, I know it is not the ideal way to deal with it :)

@federico-terzi
Copy link
Collaborator

Hey @LtanHonor,

Thanks for reporting this issue! This is a bug, we'll look into it

Cheers :)

@federico-terzi federico-terzi added the bug Something isn't working label Sep 12, 2021
@smeech
Copy link
Collaborator

smeech commented Feb 13, 2024

Is this still a problem with the current version of Espanso?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants