marcwebbie / passpie

:closed_lock_with_key: Multiplatform command-line password manager
http://passpie.readthedocs.org/
MIT License
921 stars 68 forks source link

Passpie Copy hangs for 30+ seconds #99

Open mekhami opened 8 years ago

mekhami commented 8 years ago

Copying a password to the clipboard hangs for 30+ seconds before successfully copying to the clipboard.

I'm on Ubuntu 15.10, I have haveged and rng-tools installed (based on reading other issues where passpie hangs). I'm on the newest version of Passpie.

mekhami commented 8 years ago

Correction, it does not successfully copy. It thinks it does, but nothing is in the clipboard.

marcwebbie commented 8 years ago

Hello @mekhami Do you manage to copy to stdout using

passpie add foo@bar --password 123456
passpie copy foo@bar --to=stdout

Does that print 123456 to the terminal?

Thanks for your contribution

mekhami commented 8 years ago

Hi Marc. Doing this, it took 6-8 seconds to add. Then copying, it took 10 seconds to prompt for the password, and then immediately printed the password. I attempted to do the normal copy to clipboard version and verified it is still hanging.

marcwebbie commented 8 years ago

Are you using a remote repository as passpie database?

mekhami commented 8 years ago

Not that I'm aware

On Wed, Mar 30, 2016 at 12:37 PM marcwebbie notifications@github.com wrote:

Are you using a remote repository as passpie database?

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/marcwebbie/passpie/issues/99#issuecomment-203544502

babaorum commented 8 years ago

HI,

I had the same issue. I solved it by installing xsel. I only had xclip installed.

I don't know if it is normal or if it is an issue.

If you need more information. I'm happy to help.

marcwebbie commented 6 years ago

I assume that this issue was fixed as by @babaorum reply

babaorum commented 6 years ago

Maybe the documentation should be updated ?

It says "xclip or xsel: For copy to clipboard support". I don't mind doing a PR for that. But are both needed ? or, is xclip not working ?

marcwebbie commented 6 years ago

Hey @babaorum It might be something with the version of xclip. Before updating the docs and code I have to be sure that it is not something with the user environment.

What version of xclip are you using? @mekhami

babaorum commented 6 years ago

When I encounter the problem for the last time it was on my current computer. Right now, xclip version is : 0.12. I checked my dpkg logs, seems it was updated / installed once. I do not know if a fix might be here.

2017-11-03 10:39:32 upgrade xclip:amd64 0.12+svn84-4 0.12+svn84-4build1
2017-11-03 10:39:32 status half-configured xclip:amd64 0.12+svn84-4
2017-11-03 10:39:32 status unpacked xclip:amd64 0.12+svn84-4
2017-11-03 10:39:32 status half-installed xclip:amd64 0.12+svn84-4
2017-11-03 10:39:32 status half-installed xclip:amd64 0.12+svn84-4
2017-11-03 10:39:32 status unpacked xclip:amd64 0.12+svn84-4build1
2017-11-03 10:39:32 status unpacked xclip:amd64 0.12+svn84-4build1
2017-11-03 10:41:10 configure xclip:amd64 0.12+svn84-4build1 <none>
2017-11-03 10:41:10 status unpacked xclip:amd64 0.12+svn84-4build1
2017-11-03 10:41:10 status half-configured xclip:amd64 0.12+svn84-4build1
2017-11-03 10:41:10 status installed xclip:amd64 0.12+svn84-4build1
zadokthefool commented 3 years ago

I'm having this same issue on Windows, it goes through everything correctly, but when you expect it to be on your clipboard there is actually nothing there.

It doesn't say any message about something being copied to the clipboard either.