Skip to content

ranger doesn't work as file picker #288

Description

@andynameistaken
  • App Version: 0.19.0
  • OS:
ProductName:	Mac OS X
ProductVersion:	10.15.7
BuildVersion:	19H2026
  • in conf.py:
FILE_PICKER_CMD = "ranger --choosefile={/Users/andy/Desktop}"
  • in error.log
ERROR [2022-09-04 01:05:55,276] controllers.py:776 - handle | Error happend in key handle loop
Traceback (most recent call last):
  File "/usr/local/Cellar/tg/0.19.0/libexec/lib/python3.10/site-packages/tg/controllers.py", line 770, in handle
    res = fun(self, repeat_factor)  # type: ignore
  File "/usr/local/Cellar/tg/0.19.0/libexec/lib/python3.10/site-packages/tg/controllers.py", line 56, in _no_repeat_factor
    return fun(self)
  File "/usr/local/Cellar/tg/0.19.0/libexec/lib/python3.10/site-packages/tg/controllers.py", line 366, in choose_and_send_file
    s.call(config.FILE_PICKER_CMD.format(file_path=f.name))
KeyError: '/Users/andy/Desktop'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions