Add a New Comment Rich Markup
It seems like the problem only occures when the --cmd option passed to ranger contains cd command. Here is the minimal example of the crash I've managed to produce: ranger --cmd "cd /" --clean --debug Runned like this, ranger crashes when draw_bookmarks is called. Traceback: https://www.refheap.com/118733/raw
When I start ranger with a command like this: ranger --cmd "cd ~/downoads/1" --cmd "tab_new ~/downloads/2" --cmd "tab_new ~/downloads/3" --cmd "tab_new ~/downloads/4" --cmd "tab_new ~" it crashes whenever I press 'gg' in order to select a bookmark. Here is a relevant part of my rc.conf: # Bookmarks map gg<any> enter_bookmark %any map b<bg> draw_bookmarks map b<any> set_bookmark %any map ub<any> unset_bookmark %any copymap b<bg> ub<bg> gg<bg> Here is the trace: ranger version: 1.6.1, executed with python 2.7.10 Locale: ru_RU.UTF-8 Current file: /home/me/audio Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ranger/core/main.py", line 133, in main fm.loop() File "/usr/lib/python2.7/site-packages/ranger/core/fm.py", line 310, in loop ui.redraw() File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 262, in redraw self.draw() File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 288, in draw DisplayableContainer.draw(self) File "/usr/lib/python2.7/site-packages/ranger/gui/displayable.py", line 246, in draw displayable.draw() File "/usr/lib/python2.7/site-packages/ranger/gui/widgets/browserview.py", line 102, in draw self._draw_bookmarks() File "/usr/lib/python2.7/site-packages/ranger/gui/widgets/browserview.py", line 204, in _draw_bookmarks string = " " + key + " " + mark.path AttributeError: 'NoneType' object has no attribute 'path'
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Copyright © 2024 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Page source code
Powered by Savane 3.13-461b.Corresponding source code