Comments (15)
Sorry you're having issues! Would you mind trying this beta and seeing if it fixes your issue?
https://dl.dropboxusercontent.com/u/111722/LP%20Vault%20Manager%20beta2.1.alfredworkflow
After you install it, make sure to run lpdd
in Alfred to force a refresh of your LastPass data. Let me know how it goes!
from lp-vault-manager.
Hey Aaron, sorry for the bad news (especially since you are doing this open source!), but it still doesn’t work.
Same error after I start typing query text:
[ERROR: alfred.workflow.input.scriptfilter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/csv.rb:1851:in block (2 levels) in shift': Illegal quoting in line 1. (CSV::MalformedCSVError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/csv.rb:1813:in
each'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/csv.rb:1813:in block in shift' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/csv.rb:1773:in
loop'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/csv.rb:1773:in shift' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/csv.rb:1715:in
each'
from lpvm.rb:134:in to_a' from lpvm.rb:134:in
structify'
from lpvm.rb:63:in get_data' from lpvm.rb:97:in
search_vault'
from lpvm.rb:207:in `
I wish I could give you some more info but I’m very unfamiliar with Apple Script and Ruby and don’t have an environment in which I can trace this out…hopefully the stack trace is enough…
Just to confirm, this works on your machine? You can see that I’m using ruby 2.0.0 and Alfred 2.5.1 on OS X Yosemite 10.10.1.
-b
On Dec 20, 2014, at 5:32 PM, Aaron Bach [email protected] wrote:
Sorry you're having issues! Would you mind trying this beta and seeing if it fixes your issue?
https://dl.dropboxusercontent.com/u/111722/LP%20Vault%20Manager%20beta2.1.alfredworkflow https://dl.dropboxusercontent.com/u/111722/LP%20Vault%20Manager%20beta2.1.alfredworkflow
—
Reply to this email directly or view it on GitHub #1 (comment).
from lp-vault-manager.
No problem! Try deleting /tmp/lp_data.csv
via the Terminal and running lpdd
again. We'll get this figured out!
from lp-vault-manager.
Interesting…that file doesn’t exist despite 777 permissions on the /tmp directory.
looks like from the comments somebody else is having the same problem…I take it it works on your machine?
b
On Dec 22, 2014, at 2:31 PM, Aaron Bach [email protected] wrote:
No problem! Try deleting /tmp/lp_data.csv via the Terminal and running lpdd again. We'll get this figured out!
—
Reply to this email directly or view it on GitHub #1 (comment).
from lp-vault-manager.
It does. Are you able to create any file in your /tmp
directory?
from lp-vault-manager.
My fault…lp_data.csv is there and does get re-created when I remove it and then run lpdd. But still doesn’t work. No errors now but also just assumes it is a web search.
-b
On Dec 22, 2014, at 2:52 PM, Aaron Bach [email protected] wrote:
It does. Are you able to create any file in your /tmp directory?
—
Reply to this email directly or view it on GitHub #1 (comment).
from lp-vault-manager.
Got it. Wondering if it's something to do with CSV parsing in Ruby 2.0.0 (I'm using 2.1.0). Let me test a bit and I'll get back to you!
from lp-vault-manager.
One last clarification: when you open lp_data.csv.csv
in TextEdit, do you see data that looks like it comes from your LastPass vault?
from lp-vault-manager.
Nope, it has:
Usage:
/usr/local/bin/lpass {--help|--version}
/usr/local/bin/lpass login [--trust] [--plaintext-key [--force, -f]] USERNAME
/usr/local/bin/lpass logout [--force, -f]
/usr/local/bin/lpass show [--sync=auto|now|no] [--clip, -c] [--all|--username|--password|--url|--notes|--field=FIELD|--id|--name] {UNIQUENAME|UNIQUEID}
/usr/local/bin/lpass ls [--sync=auto|now|no] [GROUP]
/usr/local/bin/lpass edit [--sync=auto|now|no] [--non-interactive] {--name|--username|--password|--url|--notes|--field=FIELD} {NAME|UNIQUEID}
/usr/local/bin/lpass generate [--sync=auto|now|no] [--clip, -c] [--username=USERNAME] [--url=URL] [--no-symbols] {NAME|UNIQUEID} LENGTH
/usr/local/bin/lpass duplicate [--sync=auto|now|no] {UNIQUENAME|UNIQUEID}
/usr/local/bin/lpass rm [--sync=auto|now|no] {UNIQUENAME|UNIQUEID}
/usr/local/bin/lpass sync [--background, -b]
-brian
On Dec 22, 2014, at 3:10 PM, Aaron Bach [email protected] wrote:
One last clarification: when you open lp_data.csv.csv in TextEdit, do you see data that looks like it comes from your LastPass vault?
—
Reply to this email directly or view it on GitHub #1 (comment).
from lp-vault-manager.
Interesting. Have you logged in via lpass login <USERNAME>
?
from lp-vault-manager.
yup. login works like a charm. and I’ve set the flag for no expiration of login. logged in a again just to be sure
note that I did authenticate on the command line and tried this all again but it still doesn’t work.
b
On Dec 22, 2014, at 3:18 PM, Aaron Bach [email protected] wrote:
Interesting. Have you logged in via lpass login ?
—
Reply to this email directly or view it on GitHub #1 (comment).
from lp-vault-manager.
(sorry for all the questions; appreciate you walking through this.)
What happens when you run lpass export
directly from the Terminal?
from lp-vault-manager.
Your email was helpful…I had the older version of lastpass-cli:
$ lpass --version LastPass CLI v0.3.0
That version doesn’t have the export command, while 0.4 does. I upgraded and now can indeed get data exported to the terminal. Interestingly, every time I run the export command I have to login, even if I already did an ‘lpass login’ in that same terminal already. I wonder if the lpdd script is waiting for a password?
-b
On Dec 22, 2014, at 4:03 PM, Aaron Bach [email protected] wrote:
(sorry for all the questions; appreciate you walking through this.)
What happens when you run lpass export directly from the Terminal?
—
Reply to this email directly or view it on GitHub #1 (comment).
from lp-vault-manager.
Interesting! Did you install lpass
via Homebrew, or some other method?
RE: your question:
I wonder if the lpdd script is waiting for a password?
...I think you're on the money. Unfortunately I don't have a way of detecting whether the lpass
command is hanging on a login prompt... Might need to figure that out. Earlier on, you mentioned setting the "no-expiration" flag. Where did you do this?
from lp-vault-manager.
I just published v3.0, which (from reports) is working well for others; going to point you in its direction and close this issue: https://github.com/bachya/lp-vault-manager/releases/download/v3.0/LastPass.Vault.Manager.alfredworkflow
If you still have issues, please don't hesitate to open a new issue; I'll help out!
from lp-vault-manager.
Related Issues (20)
- lpvs fails with error HOT 5
- lpvs fails without error HOT 129
- Searching never completes HOT 2
- Cannot Set Settings HOT 10
- Apparently not caching any vault data HOT 1
- lpdd fails silently HOT 14
- lpvs not finding anything HOT 3
- LPVS Fails HOT 2
- No output HOT 12
- lpdd failing to download data HOT 10
- Failed to login HOT 6
- ignore password in Clipboard HOT 3
- Cannot Access lpsettings or any lp commands HOT 2
- Master password reprompts not handled correctly HOT 1
- Copied Passwords Adding a CR
- Sending password to current window instead of copying to clipboard
- lpvs KeyError: u'hostname' HOT 19
- Can't login with Alfred 3 HOT 8
- Doesn't work on latest version of Alfred
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lp-vault-manager.