tmux-plugins / tmux-logging

Easy logging and screen capturing for Tmux.
MIT License
1.05k stars 114 forks source link

tmux_proper_pipe_pane.sh returned 1 #1

Open aik opened 9 years ago

aik commented 9 years ago

Tried using it, manually installed, crtl-b shift-P and I get this: '/home/alexey/tmuxclone/scripts/tmux_proper_pipe_pane.sh' returned 1 [0/0]

It is quite fresh tmux is from git...

jalcine commented 9 years ago

What exactly did you do? Like what were you doing in tmux?

aik commented 9 years ago

Oh. It is even better now.

  1. ssh to a machine
  2. git clone ..., it is there: ka1:~$ ls -la ~/tmuxclone/logging.tmux -rwxr-xr-x 1 alexey users 1264 Jan 5 18:14 /home/alexey/tmuxclone/logging.tmux
  3. add "run-shell ~/tmuxclone/logging.tmux" to .tmux.conf
  4. run tmux
  5. ctrl-b ? - there is binging to ctrl-b shift-p: bind-key P run-shell /home/alexey/tmuxclone/scripts/tmux_proper_pipe_pane.sh
  6. ctrl-b shift-p: tmux simply crashes on this.

tmux is brand new, just updated from its git.

nooitaf commented 9 years ago

You can see the full message list if you do prefix + ~

When i do prefix + P (start logging) i get 2 message lines,

Started loggin to /home/user/tmux-test-0-0-20150117T152403.log
'/home/user/.tmux/plugins/tmux-logging/scripts/tmux_proper_pipe_pane.sh' returned 1

It seems to dump something (the buffer?) but doesnt keep logging.

I use tmux 1.6 and i installed in manually by adding this to config:

run-shell '~/.tmux/plugins/tmux-logging/logging.tmux'

Installed manually because tmp doesn't work with tmux <1.9

bruno- commented 9 years ago

Hey guys, sorry it took me some time to respond. The plugin was never intended to work with tmux less than version 1.9.

I've just pushed an update that makes version 1.9 "officially" required (commands won't work otherwise). Can you please pull the latest updates and let me know if you experience any issues.