-
Notifications
You must be signed in to change notification settings - Fork 26
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
OSError: No such file or directory (Both Files in command exists) #101
Comments
Found the issue, it had to do with the default location of gpg (wish when pius setup.py is ran it gets the gpg location from PATH or can be read from a .pius-keyring-mgr config type config) EDIT: Found a way to have the path for gpg and gpg2 to be found (gpg2 will be the first choice and gpg is second, and then /usr/bin/gpg if none are found), will work on getting a pull request in place that reflects the changes EDIT 2: #103 Should fix this for others, it is in the 3_work for the future release. |
You can pass in |
There is hard coded paths for linux and unix, a binary constant for /usr/bin, /usr/local/bin, /usr/sbin, /usr/local/sbin, /bin, and /sbin. which should cover both OSes and where they like to install to, meaning it is no longer a random path but will check in normal binary paths. Normal which function can be used for windows, then just check the string returned to see if it contains "gpg4win..\gnupg\bin" in it, if it does then it is a valid install and should be used as this is what gpg4win uses in system path. (I uses gpg4win on my windows computer, and gpg toolset for macOS. I also have a little linux server box for testing purposes and doesn't have remote access unless given access via ssh v2) |
Using Relative seems to be unable to find a certain file or another,
same goes for when using absolute, is there something for python I am missing? some sort of compatibility?
The text was updated successfully, but these errors were encountered: