tmux-plugins / tpm

Tmux Plugin Manager
MIT License
11.95k stars 420 forks source link

Debug Log for 127 Error #169

Closed upsampled closed 4 years ago

upsampled commented 4 years ago

I am running tpm on WSL2 in the new Window Terminal App. No matter the plugin I try, I get the common 127 error after prefix+I:

TMUX environment reloaded.
Done, press ESCAPE to continue.
'~/.tmux/plugins/tpm/tpm' returned 127

I was just wondering if there is a way to generate a log, preferably a trace, from tpm so I can figure out what exactly is missing.

I inserted set -x into some of the bash scripts, in hopes the trace would echo to the terminal, but i have not had any luck.

upsampled commented 4 years ago

I have been removing >/dev/null statements to get better errors and see a CR is getting into files probably because of git settings:

 tmux run-shell ./scripts/source_plugins.sh
unknown option: default-terminal
/usr/bin/env: ‘bash\r’: No such file or directory
'./scripts/source_plugins.sh' returned 127
maxestorr commented 1 year ago

@upsampled you closed this, what was the solution? Still getting this issue.

Edit: nevermind, my ansible script didn't clone tpm properly.