tmuxinator: can't find pane
I just installed tmuxinator 0.6.4 for the first time. When setting up a window with mulitple panes, the panes are created correctly, but none of the code in them is executed. I also receive the following error output:
~ mux project
can't find pane: 1
can't find pane: 1
can't find pane: 1
arranging in: main-vertical
can't find pane: 2
can't find pane: 2
can't find pane: 2
arranging in: main-vertical
can't find pane: 3
can't find pane: 3
can't find pane: 3
arranging in: main-vertical
can't find pane: 1
can't find pane: 1
arranging in: even-horizontal
can't find pane: 2
can't find pane: 2
arranging in: even-horizontal
My config is the example config generated automatically:
# ~/.tmuxinator/.yml
# you can make as many tabs as you wish...
name: sample
root: ~/test
socket_name: foo # Remove to use default socket
pre: # sudo /etc/rc.d/mysqld start # Runs before everything
pre_window: rbenv shell 2.0.0-p247 # Runs in each tab and pane
tmux_options: -v -2 # Pass arguments to tmux
windows:
- editor:
pre:
- echo "I get run in each pane, before each pane command!"
-
layout: main-vertical
panes:
- vim
- #empty, will just run plain bash
- top
- shell: git pull
- guard:
layout: tiled
pre:
- echo "I get run in each pane."
- echo "Before each pane command!"
panes:
-
- #empty, will just run plain bash
-
- database: bundle exec rails db
- server: bundle exec rails s
- logs: tail -f log/development.log
- console: bundle exec rails c
- capistrano:
- server: ssh user@example.com
I also get 1000+ of these log files in my ~/ dir: tmux-client-68360.log
About this issue
- Original URL
- State: closed
- Created 11 years ago
- Comments: 29 (13 by maintainers)
Commits related to this issue
- Removed base-index 1. See https://github.com/tmuxinator/tmuxinator/issues/137 — committed to bsamek/tmux-config by bsamek 9 years ago
- Tmux: set up Tmuxinator Tmuxinator is a gem that allows me to have a configuration file to start up a Tmux session with a specific layout. Since I always do the same layout manually, this should save... — committed to lencioni/dotfiles by lencioni 9 years ago
š @Lordnibbler
set-window-option -g pane-base-index 1sorted this issue for me.@Soliah Iām thinking its related to this line in my
.tmux.conf:set -g base-index 1This error is caused by a bug where
tmuxinatorincorrectly detectsbase-index(instead, it uses the value ofpane-base-index).I have two pull requests open that would resolve the issue: