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 crashed. #2183

Closed
granhalcon opened this issue Dec 14, 2020 · 3 comments
Closed

Ranger crashed. #2183

granhalcon opened this issue Dec 14, 2020 · 3 comments

Comments

@granhalcon
Copy link

granhalcon commented Dec 14, 2020

Traceback

ranger version: ranger 1.9.3
Python version: 3.9.0 (default, Oct  7 2020, 23:09:01) [GCC 10.2.0]
Locale: es_MX.UTF-8
Current file: test.css

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/ranger/core/main.py", line 201, in main
    fm.loop()
  File "/usr/lib/python3.9/site-packages/ranger/core/fm.py", line 383, in loop
    ui.handle_input()
  File "/usr/lib/python3.9/site-packages/ranger/gui/ui.py", line 266, in handle_input
    self.handle_key(key)
  File "/usr/lib/python3.9/site-packages/ranger/gui/ui.py", line 196, in handle_key
    elif not DisplayableContainer.press(self, key):
  File "/usr/lib/python3.9/site-packages/ranger/gui/displayable.py", line 275, in press
    focused_obj.press(key)
  File "/usr/lib/python3.9/site-packages/ranger/gui/widgets/console.py", line 188, in press
    self.type_key(key)
File "/usr/lib/python3.9/site-packages/ranger/gui/widgets/console.py", line 214, in type_key
    self._answer_question(answer)
  File "/usr/lib/python3.9/site-packages/ranger/gui/widgets/console.py", line 197, in _answer_question
    callback(answer)
  File "/usr/lib/python3.9/site-packages/ranger/config/commands.py", line 759, in _question_callback
    self.fm.execute_file(files, label='trash')
  File "/usr/lib/python3.9/site-packages/ranger/core/actions.py", line 459, in execute_file
    filenames = [f.path for f in files]
  File "/usr/lib/python3.9/site-packages/ranger/core/actions.py", line 459, in <listcomp>
    filenames = [f.path for f in files]
AttributeError: 'str' object has no attribute 'path'

ranger crashed. Please report this traceback at:
https://github.com/ranger/ranger/issues

@toonn
Copy link
Member

toonn commented Dec 14, 2020

Hmm, could you check whether this is still an issue on master?

@kaykay38
Copy link

This still occurs on the master branch. Here are the details Issue 2199.

@toonn
Copy link
Member

toonn commented Apr 18, 2021

Should be fixed by #1871.

@toonn toonn closed this as completed Apr 18, 2021
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

3 participants