ble.sh: [tmux-resurrect] Cache broken on restoring (Error `ble.sh: The keymap 'vi_imap' is empty.`)
ble version: 0.4.0-devel3+750ca38 Bash version: 5.0.17(1)-release (x86_64-pc-linux-gnu)
I am getting ble.sh: The keymap 'vi_imap' is empty. after restoring my tmux session, and ble.sh is not loading.
I am also unable to see any key press in the terminal, unless I do tput reset
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 15 (9 by maintainers)
I actually cannot reproduce it anymore. Not sure why.
But, yesterday the steps mentioned at Q1 would reproduce it. I will try again tomorrow.
Removing inputrc also is not reproducing it.
Hi, I have set up
tmux-resurrectusingtpm, saved a session with <kbd>prefix</kbd><kbd>C-s</kbd>, and restored <kbd>prefix</kbd><kbd>C-r</kbd>, but it just works without problems. I have questions:Q1: Could you describe the precise procedure to reproduce the problem? I have tried <kbd>prefix C-s</kbd> (save session) <kbd>prefix C-r</kbd> (restore session) <kbd>prefix c</kbd> (create new window), but there seems to be no problems.
Q2: Does the problem occur without
~/.inputrc?Try to reproduce the problem, e.g. <kbd>prefix C-s</kbd><kbd>prefix C-r</kbd><kbd>prefix c</kbd>, etc.
After testing you can restore the
.inputrcfile.Q3: Does the problem occur without any configuration in
.bashrcother thanble.sh? Similarly to the.inputrccase, you can rename your .bashrc to the temporary one, create a new~/.bashrcwith a single linesource /path/to/ble.sh --norc, starttmuxsession, save and restore the state usingtmux-resurrect. After the testing, you can restore your original.bashrc.Thank you! OK… the cache file becomes indeed empty by
tmux-resurrect. It’s really puzzling that the cache file is affected by the resurrection… I’ll try to find what’s happening.For the time being, If you want to soon use
ble.sh, you can just delete the file$_ble_base_cache/keymap.vievery time when the problem started to happen.