Skip to content
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

execution error: Error: SyntaxError: JSON Parse error #4

Closed
chrismessina opened this issue Apr 26, 2022 · 2 comments
Closed

execution error: Error: SyntaxError: JSON Parse error #4

chrismessina opened this issue Apr 26, 2022 · 2 comments

Comments

@chrismessina
Copy link

Workflow version

2022.4

Alfred version

4.6.5 Build 1299

macOS version

macOS Monterey 12.3.1 (21E258)

Debugger output

[21:03:04.358] Logging Started...
[21:03:06.612] 1Password[Script Filter] Queuing argument '(null)'
[21:03:06.684] 1Password[Script Filter] Script with argv '(null)' finished
[21:03:06.687] 1Password[Script Filter] { "items": [{
  "title": "Sign in and update items",
  "subtitle": "Your terminal will open with instructions",
  "arg": "update_items"
}] }
[21:03:08.306] 1Password[Script Filter] Processing complete
[21:03:08.307] 1Password[Script Filter] Passing output 'update_items' to Conditional
[21:03:08.308] 1Password[Conditional] Processing complete
[21:03:08.308] 1Password[Conditional] Passing output 'update_items' to Run Script
[21:03:08.328] 1Password[Run Script] Processing complete
[21:03:08.331] 1Password[Run Script] Passing output '  export alfred_workflow_data=/Users/messina/Library/Application\ Support/Alfred/Workflow\ Data/com.alfredapp.1password && export logins_only=0 && /Users/messina/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.57604626-FD6B-435D-949E-A72EDAA31B18/signin.zsh' to Terminal Command
[21:03:09.073] 1Password[Terminal Command] Processing complete
[21:03:09.075] 1Password[Terminal Command] Passing output '  export alfred_workflow_data=/Users/messina/Library/Application\ Support/Alfred/Workflow\ Data/com.alfredapp.1password && export logins_only=0 && /Users/messina/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.57604626-FD6B-435D-949E-A72EDAA31B18/signin.zsh' to Run Script


### More details

Last login: Mon Apr 25 14:48:55 on ttys015
❯ export alfred_workflow_data=/Users/messina/Library/Application\ Support/Alfred/Workflow\ Data/com.alfredapp.1password && export logins_only=0 && /Users/messina/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.57604626-FD6B-435D-949E-A72EDAA31B18/signin.zsh

---------------------------- INSTRUCTIONS ----------------------------

The official 1Password command-line tool will ask you to sign in.
This is necessary to get the items list for the 1Password Workflow.

For account details, consult your 1Password Emergency Kit:

https://support.1password.com/emergency-kit/#get-your-emergency-kit


Updating items list. It will take a few seconds to complete.
You may close the terminal at any time.
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................[ERROR] 2022/04/25 17:15:21 error initializing client: Get "https://my.1password.com/api/v2/account/keysets?__t=[redacted]]": net/http: TLS handshake timeout
./1password.js: execution error: Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)

@chrismessina
Copy link
Author

FWIW, I have updated my iTerm script integration in Alfred.

@vitorgalvao
Copy link
Member

vitorgalvao commented Apr 26, 2022

net/http: TLS handshake timeout

That’s an error in your connection, or in the communication between their tool and their server. Nothing I can do about that. Try again and it should reuse data it already downloaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants