bugranger - Bugs: bug #40265, ranger crashed while attempting to...

 
 

bug #40265: ranger crashed while attempting to view image

Submitter:  None
Submitted:  Mon 14 Oct 2013 02:25:23 PM UTC
   
 
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 29 Jan 2014 09:30:38 AM UTC, comment #1: 

This is probably because of incorrectly set `W3MIMGDISPLAY_PATH' variable (for example, one refering to a non-existent path).  Then `Popen' from img_display.py tries to setup a process from the non-existent file and fails, but the exception is intercepted and (mistakenly) ignored.  Later reference to the process will cause the crash.

Attached is the patch.


(file #30408)

Casper Ti. Vector <caspervector>
Mon 14 Oct 2013 02:25:23 PM UTC, original submission:  

ranger version: 1.6.1, executed with python 2.7.3
Locale: en_GB.UTF-8
Current file: /home/shit-twins/images/used wallpapers/goodfon 285959.jpg
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/ranger/core/main.py", line 133, in main
    fm.loop()
  File "/usr/local/lib/python2.7/dist-packages/ranger/core/fm.py", line 336, in loop
    self.image_displayer.quit()
  File "/usr/local/lib/python2.7/dist-packages/ranger/ext/img_display.py", line 109, in quit
    self.process.kill()
AttributeError: 'ImageDisplayer' object has no attribute 'process'

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 Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by caspervector (Updated the item)
  •  

    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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-29 caspervector Attached File- Added ranger-9999-img_display-process.patch, #30408

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code