Mon 08 Oct 2012 07:50:36 PM UTC, comment #3:
Sorry, the traceback from comment #2 is wrong, please, ignore it. The actual traceback stays unchanged. I noticed, that if I run ranger with "--debug" option, it always crashes in the mentioned situation. But if I run ranger without "--debug" it works well for some first times, but then crashes anyway.
|
Mon 08 Oct 2012 07:22:43 PM UTC, comment #2:
Yes, it happens in an empty directory.
I saved zip-file with ranger from git, unpacked it, copied to local directory and start it whith command: /home/user/.ranger/ranger.py --debug
Checked this now, ranger crashed again, but the traceback changed:
ranger version: 1.5.5, executed with python 2.7.3rc2
Locale: en_US.UTF-8
Current file: None
Traceback (most recent call last):
File "/home/user/.ranger/ranger/core/main.py", line 130, in main
fm.loop()
File "/home/user/.ranger/ranger/core/fm.py", line 267, in loop
ui.handle_input()
File "/home/user/.ranger/ranger/gui/ui.py", line 208, in handle_input
self.handle_key(key)
File "/home/user/.ranger/ranger/gui/ui.py", line 142, in handle_key
elif not DisplayableContainer.press(self, key):
File "/home/user/.ranger/ranger/gui/displayable.py", line 269, in press
focused_obj.press(key)
File "/home/user/.ranger/ranger/gui/widgets/console.py", line 141, in press
if not self.fm.ui.press(key):
File "/home/user/.ranger/ranger/gui/ui.py", line 159, in press
quantifier=keybuffer.quantifier)
File "/home/user/.ranger/ranger/core/actions.py", line 143, in execute_console
cmd_class(string, quantifier=quantifier).execute()
File "/home/user/.config/ranger/commands.py", line 687, in execute
p(err)
File "/home/user/.config/ranger/commands.py", line 680, in execute
result = eval(code)
File "<string>", line 1, in <module>
File "/home/user/.ranger/ranger/gui/widgets/console.py", line 289, in execute
self.fm.execute_console(self.line)
File "/home/user/.ranger/ranger/core/actions.py", line 143, in execute_console
cmd_class(string, quantifier=quantifier).execute()
File "/home/user/.config/ranger/commands.py", line 497, in execute
if cwd.marked_items or (cf.is_directory and not cf.is_link \
AttributeError: 'NoneType' object has no attribute 'is_directory'
|
Mon 01 Oct 2012 06:10:48 PM UTC, original submission:
ranger version: 1.5.5, executed with python 2.7.3rc2
Locale: en_US.UTF-8
Current file: None
Traceback (most recent call last):
File "/home/user/.ranger/ranger/core/main.py", line 130, in main
fm.loop()
File "/home/user/.ranger/ranger/core/fm.py", line 256, in loop
loader.work()
File "/home/user/.ranger/ranger/core/loader.py", line 347, in work
self.fm.notify(err)
File "/home/user/.ranger/ranger/core/loader.py", line 338, in work
next(item.load_generator)
File "/home/user/.ranger/ranger/core/loader.py", line 180, in generate
self.signal_emit('after', process=process, loader=self)
File "/home/user/.ranger/ranger/ext/signals.py", line 266, in signal_emit
fnc(signal)
File "/home/user/.ranger/ranger/core/actions.py", line 810, in on_after
if self.thisfile.realpath == path:
AttributeError: 'NoneType' object has no attribute 'realpath'
|