Skip to content

OSError: No such file or directory (Both Files in command exists) #101

@F9Alejandro

Description

@F9Alejandro
FangMacBookPro:~ fang_shadow$ pius-keyring-mgr build -r test.gpg -b PGP_SIGN_PARTY.mbox/mbox
Found 1 keys in mbox: 1 fingerprints and 0 full keys
Traceback (most recent call last):
  File "/usr/local/bin/pius-keyring-mgr", line 638, in <module>
    main()
  File "/usr/local/bin/pius-keyring-mgr", line 630, in main
    kb.get_all_keys(keys)
  File "/usr/local/bin/pius-keyring-mgr", line 341, in get_all_keys
    if self.have_key(key['keyid']):
  File "/usr/local/bin/pius-keyring-mgr", line 295, in have_key
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Using Relative seems to be unable to find a certain file or another,

FangMacBookPro:~ fang_shadow$ pius-keyring-mgr build -r /users/fang_shadow/test.gpg -b /users/fang_shadow/PGP_SIGN_PARTY.mbox/mbox
Found 1 keys in mbox: 1 fingerprints and 0 full keys
Traceback (most recent call last):
  File "/usr/local/bin/pius-keyring-mgr", line 638, in <module>
    main()
  File "/usr/local/bin/pius-keyring-mgr", line 630, in main
    kb.get_all_keys(keys)
  File "/usr/local/bin/pius-keyring-mgr", line 341, in get_all_keys
    if self.have_key(key['keyid']):
  File "/usr/local/bin/pius-keyring-mgr", line 295, in have_key
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

same goes for when using absolute, is there something for python I am missing? some sort of compatibility?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions