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

Fails to fetch the items #4

Open
dentuzhik opened this issue Oct 21, 2018 · 5 comments
Open

Fails to fetch the items #4

dentuzhik opened this issue Oct 21, 2018 · 5 comments

Comments

@dentuzhik
Copy link

Hey, I didn't manage to launch it with my 1password config, it seems that it crashes with session error, but I am pretty sure that I have op cli session running through CLI.

The question is how do I debug it to provide more info?
I have looked into the source and .op_tmux_token_tmp was empty, but situation didn't change after I filled it with a session from op cli manually.

I have a suspicion that JQ fails to parse the output.
kapture 2018-10-21 at 12 51 27

@dentuzhik dentuzhik changed the title Plugin fails to fetch an an items Fails to fetch the items Oct 21, 2018
@yardnsm
Copy link
Owner

yardnsm commented Oct 21, 2018

Thanks for reporting an issue!

Does the file ~/.op/config exists in your machine and filled properly with your details? If not, follow the initial login instructions in the README.

I've deleted that file in my machine, and the plugin behaves just like in your gif.

@dentuzhik
Copy link
Author

Hey, thanks for a quick reply.
Yes I do have the configuration file, seems legit (especially since CLI listing works) and, looks like this:
image

Occasionally I see some error flashing, is there some way to keep the pane open to see it better?

@sean-d
Copy link

sean-d commented Oct 18, 2021

I can confirm this is still an issue. "op list items" returns what I would expect so I know the CLI toolset is working. I don't know if this is something you even monitor anymore but it would be great to have this tool in tmux.

@yardnsm
Copy link
Owner

yardnsm commented Oct 22, 2021

Hey! I couldn't reproduce this issue, so I've added a simple debug mode to the recent version of the plugin (#26).

Could you please enable it as follows and attach the output?

tmux set-option -g @1password-debug "on"

@sean-d
Copy link

sean-d commented Jun 15, 2022

The issue for me was not your plugin, it wound up being an issue with terminfo funnily enough. I back-burnered this issue until I had time...which looked to be many months from when I posted above. Sorry about that.

https://gist.github.com/bbqtd/a4ac060d6f6b9ea6fe3aabe735aa9d95 was my saving grace.

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

3 participants