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

Login issues #68

Open
raffaelewylde opened this issue Jun 14, 2021 · 7 comments
Open

Login issues #68

raffaelewylde opened this issue Jun 14, 2021 · 7 comments

Comments

@raffaelewylde
Copy link

raffaelewylde commented Jun 14, 2021

Login Issue
I was having issues logging, getting the same timeout error I've seen mentioned in other issues. I started by deleting the workflow i had gotten from the Alfred forum over a year ago and cloned the gh repo. The timeout error is gone im getting this when i run lplogin in debug mode.

[01:42:11.108] ERROR: LastPass CLI[Run Script] 2845:2846: syntax error: Expected end of line but found “"”. (-2741)

@marius-m
Copy link

I'm getting the same error when trying to log in. Trying to run on newest and freshly installed Mac Big Sur OS, with latest lpass (LastPass CLI v1.3.3.GIT).

It seems to me, this is a problem with the script itself and OS / Script syntax changes. However I'm really not that familiar with the script to fix it :(

@rozling
Copy link

rozling commented Jul 16, 2021

Possibly unrelated, but I was having issues where I could not login with lp login or directly on the command line with lpass login.

Implementing the workaround here sorted it out for me.

@Than-DE
Copy link

Than-DE commented Aug 6, 2021

Also on MacOS Big Sur version 11.2.3 and getting the same error

[12:50:15.076] ERROR: LastPass CLI[Run Script] 2845:2846: syntax error: Expected end of line but found “"”. (-2741)

I'm able to get the Lastpass CLI running in terminal but it really seems the script here is not optimised. If someone can fix this, I'd be very grateful.

Edit: I was able to find a workaround, luckily. You can set the master password manually in the terminal using the following commands:

export LPASS_ASKPASS='{YOUR_PW}'
launchctl setenv LPASS_ASKPASS='{YOUR_PW}'

🎉

GabLeRoux pushed a commit to GabLeRoux/lastpass-alfred-workflow that referenced this issue Sep 27, 2021
@tsgrissom
Copy link

So what's the solution here? I'm on Monterey and unable to login. I'm receiving the same error as above. I can login just fine through CLI but getting a syntax error in Alfred console.

@benjaminhoffman
Copy link

same! would love if this workflow was still supported!

@wxtry
Copy link

wxtry commented Mar 7, 2022

this can be fixed by updating the login script based on your alfred version.
If you have already installed the workflow, update the second last line of the login script, change Alfred 3 to Alfred 4(or any other version you are currently using)

@janegilring
Copy link

I didn`t work here for some reason, but I tried the fork mentioned in #71 - that worked well.

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

8 participants