Traceback (most recent call last):


 "/usr/lib/python3.9/site-packages/ranger/core/main.py", line 203, in main

fm.loop()


 "/usr/lib/python3.9/site-packages/ranger/core/fm.py", line 382, in loop

ui.handle_input()


 "/usr/lib/python3.9/site-packages/ranger/gui/ui.py", line 276, in handle_input

self.handle_key(key)


 "/usr/lib/python3.9/site-packages/ranger/gui/ui.py", line 206, in handle_key

elif not DisplayableContainer.press(self, key):


 "/usr/lib/python3.9/site-packages/ranger/gui/displayable.py", line 272, in press

focused_obj.press(key)


 "/usr/lib/python3.9/site-packages/ranger/gui/widgets/console.py", line 189, in press

self.type_key(key)


 "/usr/lib/python3.9/site-packages/ranger/gui/widgets/console.py", line 215, in type_key

self._answer_question(answer)


 "/usr/lib/python3.9/site-packages/ranger/gui/widgets/console.py", line 198, in _answer_question

callback(answer)


 "/usr/lib/python3.9/site-packages/ranger/config/commands.py", line 760, in _question_callback

self.fm.execute_file(files, label='trash')


 "/usr/lib/python3.9/site-packages/ranger/core/actions.py", line 430, in execute_file

filenames = [f.path for f in files]


 "/usr/lib/python3.9/site-packages/ranger/core/actions.py", line 430, in <listcomp>

filenames = [f.path for f in files]
AttributeError: 'str' object has no attribute 'path'

Traceback (most recent call last):


 "/usr/lib/python3.5/pdb.py", line 1661, in main

pdb._runscript(mainpyfile)


 "/usr/lib/python3.5/pdb.py", line 1542, in _runscript

self.run(statement)


 "/usr/lib/python3.5/bdb.py", line 431, in run

exec(cmd, globals, locals)


 "<string>", line 1, in <module>


 "/home/rohits/Uber/pyro-main/tests/integration_tests/test_empty_model_guide.py", line 1, in <module>

import torch


 "/home/rohits/Uber/pyro-main/pyro/infer/svi.py", line 98, in step

loss = self.loss_and_grads(self.model, self.guide, *args, **kwargs)


 "/home/rohits/Uber/pyro-main/pyro/infer/elbo.py", line 65, in loss_and_grads

return self.which_elbo.loss_and_grads(model, guide, *args, **kwargs)


 "/home/rohits/Uber/pyro-main/pyro/infer/trace_elbo.py", line 164, in loss_and_grads

elbo += (weight * elbo_particle).data.sum()
AttributeError: 'float' object has no attribute 'data'
