Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passpie Copy hangs for 30+ seconds #99

Open
mekhami opened this issue Mar 19, 2016 · 11 comments
Open

Passpie Copy hangs for 30+ seconds #99

mekhami opened this issue Mar 19, 2016 · 11 comments

Comments

@mekhami
Copy link

mekhami commented Mar 19, 2016

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
Copy link
Author

mekhami commented Mar 19, 2016

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

@marcwebbie
Copy link
Owner

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
Copy link
Author

mekhami commented Mar 30, 2016

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
Copy link
Owner

Are you using a remote repository as passpie database?

@mekhami
Copy link
Author

mekhami commented Mar 30, 2016

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
#99 (comment)

@babaorum
Copy link

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
Copy link
Owner

marcwebbie commented Apr 25, 2018

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

@babaorum
Copy link

babaorum commented Apr 25, 2018

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
Copy link
Owner

marcwebbie commented Apr 25, 2018

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

@marcwebbie marcwebbie reopened this Apr 25, 2018
@babaorum
Copy link

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
Copy link

zadokthefool commented Jul 1, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants