Tue 04 Jan 2011 03:03:15 PM UTC, original submission:
Currently I'm running ranger with the --debug option because of https://bbs.archlinux.org/viewtopic.php?pid=872563#p872563 (which doesn't want to happen anymore...). I was rsyncing my phone and in ranger I was on the phone. Suddenly the phone was unmounted, so the directory ranger was in was suddenly deleted. That's when it crashed with the following output.
Exiting... (Quit)
Ranger version: 1.4.0, executed with python 3.1.3
Locale: en_US.UTF8
Current file: /media/PHONE CARD/music/karnivool - goliath.mp3
Traceback (most recent call last):
File "/usr/lib/python3.1/site-packages/ranger/core/main.py", line 85, in main
fm.loop()
File "/usr/lib/python3.1/site-packages/ranger/core/fm.py", line 198, in loop
ui.redraw()
File "/usr/lib/python3.1/site-packages/ranger/gui/ui.py", line 213, in redraw
self.draw()
File "/usr/lib/python3.1/site-packages/ranger/gui/ui.py", line 234, in draw
DisplayableContainer.draw(self)
File "/usr/lib/python3.1/site-packages/ranger/gui/displayable.py", line 268, in draw
displayable.draw()
File "/usr/lib/python3.1/site-packages/ranger/gui/widgets/statusbar.py", line 108, in draw
self._calc_bar()
File "/usr/lib/python3.1/site-packages/ranger/gui/widgets/statusbar.py", line 114, in _calc_bar
self._get_right_part(bar)
File "/usr/lib/python3.1/site-packages/ranger/gui/widgets/statusbar.py", line 241, in _get_right_part
target.mount_path), seperator='') + " free")
File "/usr/lib/python3.1/site-packages/ranger/core/environment.py", line 151, in get_free_space
stat = os.statvfs(path)
OSError: [Errno 2] No such file or directory: '/media/PHONE CARD'
I guess this is related to http://savannah.nongnu.org/bugs/?31735 but since I use ranger with python3 and my output is a bit different I chose to open a new bug report.
Greetings
Army
|