karsai5 / alfred-keepass-workflow

Alfred workflow for accessing Keepass items.
16 stars 7 forks source link

Still active? Working? #4

Open onigunn opened 6 years ago

onigunn commented 6 years ago

Sorry to open an issue but I couldn`t find a contact email to reach out first.

Just downloaded your workflow, db and master password is set but it doesn't find anything. Are there any debug possibilities?

macOS 10.12.6 Alfred3 3.5

vdende commented 6 years ago

Same here. Please let us know.

jboyens commented 6 years ago

It's currently rather buggy.

To get it partially working (on High Sierra at least), you need to install the pexpect package into the system python.

I achieved this rather hackily by doing:

sudo easy_install pip
sudo pip install pexpect

It would be better to use local python packages instead of polluting the system, but that's left to an exercise for the reader.

You will be able to "see" results, but no usernames appear and no passwords seem to be copied.

jboyens commented 6 years ago

The fork by user shamaoxiaogui works just fine.

https://github.com/shamaoxiaogui/KeePass-Alfred-Workflow

karsai5 commented 6 years ago

Sorry about the delay, I made this over a weekend and started using lastpass pretty soon after. I just pushed a couple of changes that should fix the problems you where experiencing. Try it out and let me know if you still have issues. https://github.com/karsai5/KeePass-Alfred-Workflow/releases/tag/1.4

vdende commented 6 years ago

Sorry still issues: Can't find your database. I have set the database location correctly... I can see it in the variables section of the workflow.

/KeepassX/keepassx_db.kdbx
karsai5 commented 6 years ago

I noticed that your database location is at the root of your computer, you didn't mean to have the location at '~/KeepassX/keepassx_db.kdbx'. If it is in a root directory of your computer permissions might be stopping Alfred from accessing it?

Could you run ls -l on the database file and post the output?

Linus

On Tue, Jan 23, 2018 at 11:51 PM, Arno van der Ende < notifications@github.com> wrote:

Sorry still issues: Can't find your database. I have set the database location correctly... I can see it in the variables section of the workflow.

/KeepassX/keepassx_db.kdbx

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/karsai5/KeePass-Alfred-Workflow/issues/4#issuecomment-359780930, or mute the thread https://github.com/notifications/unsubscribe-auth/AECMD58zN_5kTZx9AbijqZLTLYpqPbAtks5tNdW8gaJpZM4Pwf2j .

-- Linus Karsai 0466 487 101 linusk.com.au

vdende commented 6 years ago

Sorry my bad. The database is not in the root. It is somewhere in my home/user directory, but cut that part of because of privacy. I did enter a valid path.

The rights for the file are: -rw-r--r--@

karsai5 commented 6 years ago

Ah, fair enough. By any chance, does the directory path have a space in it? There's a bug fix for finding database files in directories with spaces in the latest release:

https://github.com/karsai5/KeePass-Alfred-Workflow/releases/tag/1.5

On Wed., 24 Jan. 2018, 5:49 pm Arno van der Ende, notifications@github.com wrote:

Sorry my bad. The database is not in the root. It is somewhere in my home/user directory, but cut that part of because of privacy. I did enter a valid path.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/karsai5/KeePass-Alfred-Workflow/issues/4#issuecomment-360037160, or mute the thread https://github.com/notifications/unsubscribe-auth/AECMD90XHlSfuOp3ZEx_Xg-h5O2cMgS0ks5tNtJwgaJpZM4Pwf2j .

vdende commented 6 years ago

I have no spaces in my path. Version 1.5 does not solve my issue. See screenshot.

capture

vdende commented 6 years ago

BTW: in /tmp/mylog I see the following message:

No usable Term::ReadLine::* modules found.
This list was tried:
 * Term::ReadLine::Gnu
 * Term::ReadLine::Perl
 * Term::ReadLine::Perl5

I get the same error when executing kpcli from the command-line. Are the ReadLine dependencies not included?