Hi,
I'm tying to get my first workflow up and running. However I get an exception when using alfred-workflow. I'm trying to save a keychain using wf.save_password('ha_password', args.apikey)
The exception that i get:
[2018-03-21 14:19:55][ERROR: action.script] .
14:19:55 workflow.py:2057 DEBUG ---------- Home Assistant ----------
14:19:55 workflow.py:2074 ERROR Unknown Keychain error : security: SecKeychainItemCreateFromContent (<default>): The user name or passphrase you entered is not correct.
Traceback (most recent call last):
File "/Users/andreas/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A66C80D9-3423-441F-BEFA-CD9F0317B9A2/workflow/workflow.py", line 2067, in run
func(self)
File "home_assistant.py", line 50, in main
wf.save_password('ha_password', args.apikey)
File "/Users/andreas/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A66C80D9-3423-441F-BEFA-CD9F0317B9A2/workflow/workflow.py", line 2407, in save_password
'-w', password)
File "/Users/andreas/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A66C80D9-3423-441F-BEFA-CD9F0317B9A2/workflow/workflow.py", line 2817, in _call_security
raise err
KeychainError: Unknown Keychain error : security: SecKeychainItemCreateFromContent (<default>): The user name or passphrase you entered is not correct.
I'm on High Sierra, 10.13.3. Alfred is freashly installled and alfred-workflow is fetched today.
Someone any ideas?
Thanks!
//Andreas