ranger: bulkrename always fails with error
Package Information
- Package name: ranger
- Package version: 1.9.3-r7
- Alpine version: 3.19.1
- Alpine architecture: x86_64
Summary
Whenever I use the "bulkrename" feature of ranger, it fails with error endwin() returned ERR
. Running it with debug flag gives the following log:
rangerTraceback (most recent call last):
File "/usr/bin/ranger", line 37, in <module>
sys.exit(ranger.main()) # pylint: disable=no-member
^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/ranger/core/main.py", line 231, in main
fm.ui.destroy()
File "/usr/lib/python3.11/site-packages/ranger/gui/ui.py", line 178, in destroy
self.suspend()
File "/usr/lib/python3.11/site-packages/ranger/gui/ui.py", line 150, in suspend
curses.endwin()
_curses.error: endwin() returned ERR
This error doesn't occur with the same version on other distros, so it might be specific to alpinelinux.
Steps to reproduce
- Run
ranger
- Select some files: Press
Shift + V
, move up or down, then pressShift + V
again to finish selecting - Type
:bulkrename
- Change the file names in the opened editor
- Save and quit. The error should show now.
Edited by Huy Ngo