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

Proposal: Copying related improvement #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Yadnyawalkya
Copy link

Fixes #62

Copy password to clipboard after --

  • new password creation
  • without printing it on screen

@Yadnyawalkya
Copy link
Author

@mayurilahane @ganeshhubale looks like existing code already got pre-commit failure from travis. Please fix it first and we can go ahead with this review.

@ganeshhubale
Copy link
Contributor

@Yadnyawalkya please resolve conflict :)

Copy password to clipboard after --
* new password creation
* without printing it on screen
@mayurilahane
Copy link
Member

mayurilahane commented Mar 22, 2020

Fixes #62

Copy password to clipboard after --

  • new password creation
  • without printing it on screen

while creating a new password it's giving me this error
I have tried to resolve it but it again says that "it's not finding the version that can satisfy these requirements"
I have referred this also - https://pyperclip.readthedocs.io/en/latest/introduction.html#not-implemented-error

(new) [mlahane@localhost pygenpass]$ pygenpass createpass Enter portal name [None]: yahoo.com Traceback (most recent call last): File "/home/mlahane/pygenpass/new/bin/pygenpass", line 11, in <module> load_entry_point('pygenpass==0.2.dev5+ge3fc379', 'console_scripts', 'pygenpass')() File "/home/mlahane/pygenpass/new/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/home/mlahane/pygenpass/new/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 717, in main rv = self.invoke(ctx) File "/home/mlahane/pygenpass/new/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/mlahane/pygenpass/new/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/mlahane/pygenpass/new/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/home/mlahane/pygenpass/new/lib64/python3.7/site-packages/pygenpass-0.2.dev5+ge3fc379-py3.7.egg/pygenpass/password.py", line 99, in createpass pyperclip.copy(password) File "/home/mlahane/pygenpass/new/lib64/python3.7/site-packages/pyperclip-1.7.0-py3.7.egg/pyperclip/__init__.py", line 616, in lazy_load_stub_copy File "/home/mlahane/pygenpass/new/lib64/python3.7/site-packages/pyperclip-1.7.0-py3.7.egg/pyperclip/__init__.py", line 301, in __call__ pyperclip.PyperclipException: Pyperclip could not find a copy/paste mechanism for your system. For more information, please visit https://pyperclip.readthedocs.io/en/latest/introduction.html#not-implemented-error

@Yadnyawalkya @ganeshhubale
Can you suggest what I can do?
I am sure it's working fine on your system but not on mine

@mayurilahane mayurilahane changed the title [RFR] Proposal: Copying related improvement [WIP] Proposal: Copying related improvement Mar 22, 2020
@mayurilahane mayurilahane changed the title [WIP] Proposal: Copying related improvement Proposal: Copying related improvement Mar 22, 2020
@mayurilahane mayurilahane added enhancement New feature or request WIP Work In Process labels Mar 22, 2020
@ganeshhubale
Copy link
Contributor

@mayurilahane This functionality works as expected with python3.7 env. Please check python version on your system and perform these commands to test this feature.

1. (new) [ghubale@localhost pygenpass]$ pygenpass createpass
....
.....
and just copy-paste in terminal(ctr + shift + V)
(new) [ghubale@localhost pygenpass]$ BackfirePatrolThrowingClumsyAnvilGravitate

2. (new) [ghubale@localhost pygenpass]$ pygenpass copy portal_name
...and just copy-paste in terminal(ctr + shift + V). here you will see password of portal portal_name

I hope this will help :)

@Yadnyawalkya, please update this to pass checks. So that we can have this feature available with the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request WIP Work In Process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Proposal] Copying related improvements
3 participants