Open ycf83 opened 6 years ago
Same here, but Ranger crashed when I selected rdp file. I'm using Ranger from official Arch linux repo. When I use Ranger from git(commit e202207de110009ba9e4eb964ecbd58c4f063c31), it does not crash.
Python version: 3.7.0 (default, Jul 15 2018, 10:44:58) [GCC 8.1.1 20180531]
Locale: pl_PL.UTF-8
Current file: '/mnt/winda/Users/Michał/Desktop/xxx.rdp'
Having similar problem when selecting (but don't open) specific pdf files (some other files work file)
ranger version: ranger-master 1.9.1
Python version: 3.7.0 (default, Jul 15 2018, 10:44:58) [GCC 8.1.1 20180531]
Locale: en_US.UTF-8
Current file: '***.pdf'
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/ranger/gui/widgets/pager.py", line 236, in _generate_lines
raise StopIteration
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/ranger/core/main.py", line 196, in main
fm.loop()
File "/usr/lib/python3.7/site-packages/ranger/core/fm.py", line 390, in loop
ui.redraw()
File "/usr/lib/python3.7/site-packages/ranger/gui/ui.py", line 338, in redraw
self.draw()
File "/usr/lib/python3.7/site-packages/ranger/gui/ui.py", line 365, in draw
DisplayableContainer.draw(self)
File "/usr/lib/python3.7/site-packages/ranger/gui/displayable.py", line 256, in draw
displayable.draw()
File "/usr/lib/python3.7/site-packages/ranger/gui/widgets/view_miller.py", line 100, in draw
DisplayableContainer.draw(self)
File "/usr/lib/python3.7/site-packages/ranger/gui/displayable.py", line 256, in draw
displayable.draw()
File "/usr/lib/python3.7/site-packages/ranger/gui/widgets/browsercolumn.py", line 176, in draw
self._draw_file()
File "/usr/lib/python3.7/site-packages/ranger/gui/widgets/browsercolumn.py", line 203, in _draw_file
Pager.draw(self)
File "/usr/lib/python3.7/site-packages/ranger/gui/widgets/pager.py", line 100, in draw
for line, i in zip(line_gen, range(self.hei)):
RuntimeError: generator raised StopIteration
@ojles your issue is different and it's because you're running py3.7. Both of these have been fixed on master. Either wait patiently for the next release or run the version on master. (We never break master intentionally and if we do we fix it quickly. Releases otoh are quite a hassle so they're rare : )
same here
ranger version: ranger-master 1.9.1
Python version: 3.7.0 (default, Jul 15 2018, 10:44:58) [GCC 8.1.1 20180531]
Locale: en_US.UTF-8
Current file: '/home/sabin/Documents/grt/tdp130.pdf'
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/ranger/gui/widgets/pager.py", line 236, in _generate_lines
raise StopIteration
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/ranger/core/main.py", line 196, in main
fm.loop()
File "/usr/lib/python3.7/site-packages/ranger/core/fm.py", line 390, in loop
ui.redraw()
File "/usr/lib/python3.7/site-packages/ranger/gui/ui.py", line 338, in redraw
self.draw()
File "/usr/lib/python3.7/site-packages/ranger/gui/ui.py", line 365, in draw
DisplayableContainer.draw(self)
File "/usr/lib/python3.7/site-packages/ranger/gui/displayable.py", line 256, in draw
displayable.draw()
File "/usr/lib/python3.7/site-packages/ranger/gui/widgets/view_miller.py", line 100, in draw
DisplayableContainer.draw(self)
File "/usr/lib/python3.7/site-packages/ranger/gui/displayable.py", line 256, in draw
displayable.draw()
File "/usr/lib/python3.7/site-packages/ranger/gui/widgets/browsercolumn.py", line 176, in draw
self._draw_file()
File "/usr/lib/python3.7/site-packages/ranger/gui/widgets/browsercolumn.py", line 203, in _draw_file
Pager.draw(self)
File "/usr/lib/python3.7/site-packages/ranger/gui/widgets/pager.py", line 100, in draw
for line, i in zip(line_gen, range(self.hei)):
RuntimeError: generator raised StopIteration
I have this same problem and i read your comments that it's gonna be fixed in new version. Just wanted to thank you guys for ranger. It massively improves my performance :+1:
Runtime Environment
Current Behavior
Expected Behavior
Context
Possible Solutions
Steps to reproduce
Traceback