Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ranger doesn't work as file picker #288

Open
andynameistaken opened this issue Sep 3, 2022 · 0 comments
Open

ranger doesn't work as file picker #288

andynameistaken opened this issue Sep 3, 2022 · 0 comments

Comments

@andynameistaken
Copy link

andynameistaken commented Sep 3, 2022

  • 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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant