bugranger - Bugs: bug #41873, Crash while opening ruby file

 
 

bug #41873: Crash while opening ruby file

Submitted by:  None
Submitted on:  Fri 14 Mar 2014 07:23:00 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 21 Apr 2014 10:14:08 AM UTC, comment #1:

Fixed (commit eb26387a52b8fbfc93d37ec18952e0837cbf9caf)
(same as #42059)

Anonymous
Fri 14 Mar 2014 07:23:00 PM UTC, original submission:

It was opening a Ruby file nested several files deep:

ranger version: 1.6.1, executed with python 2.7.4
Locale: en_US.UTF-8
Current file: /home/sam/code/matchbot/app/controllers/application_controller.rb
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ranger/core/main.py", line 139, in main
fm.loop()
File "/usr/local/lib/python2.7/dist-packages/ranger/core/fm.py", line 312, in loop
ui.redraw()
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/ui.py", line 265, in redraw
self.draw()
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/ui.py", line 291, in draw
DisplayableContainer.draw(self)
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/displayable.py", line 246, in draw
displayable.draw()
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/widgets/browserview.py", line 98, in draw
DisplayableContainer.draw(self)
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/displayable.py", line 246, in draw
displayable.draw()
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/widgets/browsercolumn.py", line 162, in draw
self._draw_file()
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/widgets/browsercolumn.py", line 189, in _draw_file
if self.target.is_image_preview():
File "/usr/local/lib/python2.7/dist-packages/ranger/container/file.py", line 95, in is_image_preview
return 'imagepreview' in self.fm.previews[self.realpath]
KeyError: '/home/sam/code/matchbot/app/controllers/application_controller.rb'

ranger crashed. Please report this traceback at:
http://savannah.nongnu.org/bugs/?group=ranger&func=additem

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hut (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 21 Apr 2014 10:34:26 AM UTChutStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1