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

Error when trying to login #72

Open
wiggins-philip opened this issue May 17, 2022 · 1 comment
Open

Error when trying to login #72

wiggins-philip opened this issue May 17, 2022 · 1 comment

Comments

@wiggins-philip
Copy link

[09:54:34.968] LastPass CLI[[Keyword](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.0EB66CDE-DA23-47C9-B87D-34078DDC8826%3E01DFFE0F-13AB-4E19-AC39-8E2177548224)] Passing output '' to [Run Script](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.0EB66CDE-DA23-47C9-B87D-34078DDC8826%3ED21298B3-763D-48F9-A804-C3B06D3B70E7) [09:54:35.117] ERROR: LastPass CLI[[Run Script](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.0EB66CDE-DA23-47C9-B87D-34078DDC8826%3ED21298B3-763D-48F9-A804-C3B06D3B70E7)] 2845:2846: syntax error: Expected end of line but found “"”. (-2741)

@ascandroli
Copy link

I started having a similar issue with login last week. For some still unknown reason current_path started to include quotes.
I was able to work around the issue by removing the quotes from the current_path. This is the code I used:

tell application "Finder"
	set current_path to container of (path to me) as alias
	set current_path_dequoted to items 2 thru -2 of current_path as string
end tell
set current_unix_path to POSIX path of current_path_dequoted

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