-
Notifications
You must be signed in to change notification settings - Fork 14
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Python create_vaults_from_input.py
example script fails on Windows
#63
Comments
Does this happen both when using the desktop integration and when signing into |
This error happens on Windows when 1Password CLI is integrated with 1Password for Windows. The desktop app integration does not seem to allow a subprocess to delegate sign in using the desktop app. A workaround is to sign in manually: The script behaves as expected on Windows when signing in manually. |
In Windows environments,
getMyUUID()
catches an error on every run of the script, even after recently signing in. The response from thesubprocess.run
implementation of 1Password CLI seems to include a non-zero return code in every case, so the script exits here:solutions/account-management/create_vaults_from_input.py
Lines 38 to 41 in 4e7dab5
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
.The text was updated successfully, but these errors were encountered: