[pass] Problem with lastpass2pass

Fuzzy blessedbiped at gmail.com
Sat Jul 11 15:26:22 CEST 2015


That worked like a charm, thanks!
On Sat, Jul 11, 2015 at 06:41 Tobias V. Langhoff <tobias at langhoff.no> wrote:

> On Thu, Jul 9, 2015 at 6:56 AM, Fuzzy <blessedbiped at gmail.com> wrote:
> > I keep getting an error when I try to import my passwords from my
> lastpass
> > csv. I'm using Ubuntu 14.04, with ruby 1.9.4. What am I missing?
> >
> > lastpass2pass.rb:102:in `block in <main>': undefined method `empty?' for
> > nil:NilClass (NoMethodError)
> > lastpass2pass.rb:95:in `each'
> > lastpass2pass.rb:95:in `<main>'
>
> Hard to say if this is a bug or not (maybe the CSV format from
> LastPass has changed?), so I've put the developer of that import
> script on CC.
>
> At any rate, try changing line 102 in the script from
>
>   grouping = DEFAULT_GROUP if grouping.empty?
>
> to
>
>   grouping = DEFAULT_GROUP if grouping.nil? || grouping.empty?
>
> I think that should work.
>
> --
> Tobias V. Langhoff
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20150711/665fa7ef/attachment.html>


More information about the Password-Store mailing list