solutions
solutions copied to clipboard
Python `create_vaults_from_input.py` example script fails on Windows
In Windows environments, getMyUUID()
catches an error on every run of the script, even after recently signing in. The response from the subprocess.run
implementation of 1Password CLI seems to include a non-zero return code in every case, so the script exits here:
https://github.com/1Password/solutions/blob/4e7dab5c54be2f0464099c91741a999b62e7040b/account-management/create_vaults_from_input.py#L38-L41
I've not yet been able to work out why this is an issue for Windows, but it's easily reproduced. The error message consistently includes account not signed in
.