stuartcryan / lastpass-alfred-workflow

Simple Lastpass Workflow for Alfred
GNU General Public License v2.0
224 stars 67 forks source link

Issue with Lastpass workflow #45

Open totlez opened 6 years ago

totlez commented 6 years ago

Hi I am having issues installing this workflow. Thank you for your work with this!!

I followed this:

Ensure you have Alfred installed with the Alfred Powerpack License Install Capture::Tiny Open up a Terminal Window run the command 'sudo cpan install Capture::Tiny' Accept the default options and ensure Capture::Tiny installs successfully Install Homebrew (if you do not have it already installed) You should be able to just run the command in a terminal window (as your own user account NOT with sudo) ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Alternatively visit http://brew.sh/ for further instructions. Install LastPass command line interface In a terminal window run brew install lastpass-cli --with-pinentry --with-doc Download the .alfredworkflow file Open the .alfredworkflow file to import into Alfred Run 'lpsetemail yourloginemail@yourdomain.com' in Alfred to set your LastPass username.

Homebrew installs successfully, the lastpass command line installs too, and I think the Tiny Installs successfully (this one may be the problem although it says its installed).

I have have no problem setting the "LPLOGIN" email. The issue is when I type "lplogin" nothing happens. There is no prompt to put in pw.

What seems to be the problem?

stuartcryan commented 6 years ago

Hi @totlez, Can you possibly open up the workflow folder please and make sure the .pl and .applescript files are executable.

I have seen a couple of cases recently where (after syncing) the scripts don't have the executable bit copied over, this stops things from working. Please let me know how you go. Cheers, Stuart

totlez commented 6 years ago

Hello, Is the workflow folder located where the preferences section is for the lastpass-alfred workflow in alfred? I went to Lastpass CLI, and I clicked on the “Run Scripts” I.E /usr/bin/osascript. Is this what you wanted me to check?

totlez commented 6 years ago

Okay I went to the lastpass-alfred-workflow-master folder --> went to workflow --> and clicked on applescript.scpt and info.plist.

The file opens and I see code. nothing else happens though

totlez commented 6 years ago

Hello, whenever you have time, let me know what I can do to get this to work. I would love to use your script.