lastpass-alfred-workflow icon indicating copy to clipboard operation
lastpass-alfred-workflow copied to clipboard

lpass binary not found

Open devguydavid opened this issue 3 years ago • 8 comments

With more recent versions of MacOS and homebrew the path to lpass has changed to /opt/homebrew/bin/lpass. The workflow doesn't look in this new path and fails to execute.

devguydavid avatar Dec 30 '21 00:12 devguydavid

Fixed in #70

devguydavid avatar Dec 30 '21 00:12 devguydavid

Noob here.. I have this same error. Can you please let me know the steps to fix this? This is my error: ERROR: LastPass CLI[Run Script] 2637:2649: execution error: De variabele lpass_binary is niet gedefinieerd. (-2753)

Bethebosch avatar Dec 30 '21 20:12 Bethebosch

Well, I do have this and a couple of other changes from PRs to this repo in my own fork at https://github.com/devguydavid/lastpass-alfred-workflow. Use at your own risk, but it works for me. :)

devguydavid avatar Dec 30 '21 23:12 devguydavid

Hi David,

Thanks for your quick reply. This worked and I am now one step further. It asks for my Lastpass password, but no matter what I type, it pops back up asking for the password again. I don't see anything happening in the debugging window, until I cancel. Then it says ERROR: LastPass CLI[Run Script] 2571:2873: execution error: /Users/bbosch/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.9B9D1D2C-B6EB-41D7-B52C-A07C5A975404/passwordInput.osascript:344:368: execution error: Geannuleerd door gebruiker. (-128) Error: Unable to retrieve password from askpass (no reply) (1)

BTW, I have MFA enabled with a one time passcode in Microsoft Authenticator

Bethebosch avatar Dec 31 '21 07:12 Bethebosch

I'm having similar issue. I don't mind using your fork @devguydavid but curious how to install it? What steps changed in the installation process to tell alfred it should use your fork instead?

benjaminhoffman avatar Jan 03 '22 15:01 benjaminhoffman

@Bethebosch: Hmm, I don't know why that is happening. It sounds like it might be necessary to put some print debug statements in key locations to figure out what is going on.

devguydavid avatar Jan 06 '22 16:01 devguydavid

I'm having similar issue. I don't mind using your fork @devguydavid but curious how to install it? What steps changed in the installation process to tell alfred it should use your fork instead?

It is the same process. You should just be able to use the alfred workflow as I rebuilt it and checked it into the fork.

devguydavid avatar Jan 06 '22 16:01 devguydavid

thanks @devguydavid ! it's working great. unfortunately, the LP functionality within Alfred is super lacking whereas 1Password has native support. i also contact LP support to see what type of product roadmap they have but the never responded :(

benjaminhoffman avatar Jan 10 '22 20:01 benjaminhoffman