bugranger - Bugs: bug #38623, Error when previewing image

 
 

bug #38623: Error when previewing image

Submitted by:  None
Submitted on:  Fri 29 Mar 2013 10:17:28 AM UTC  
 
Severity: 3 - NormalStatus: In Progress
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 02 Apr 2013 03:31:57 AM UTC, comment #1:

Sorry for the lack of a useful error message.

You need w3m and its image previewing program. How to get it depends on the operating system. First of all, try installing w3m. On debian or ubuntu, additionally try to install "w3m-img" package. On gentoo, you have to write this in your shell config file:

export W3MIMGDISPLAY_PATH=/usr/libexec/w3m/w3mimgdisplay

Roman Z. <hut>
Project Administrator
Fri 29 Mar 2013 10:17:28 AM UTC, original submission:

user@linux ~ $ ranger -d
ranger version: 1.6.0, executed with python 2.7.1+
Locale: en_ZA.UTF8
Current file: /home/user/Firefox_wallpaper.png
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ranger/core/main.py", line 132, in main
fm.loop()
File "/usr/local/lib/python2.7/dist-packages/ranger/core/fm.py", line 272, in loop
ui.redraw()
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/ui.py", line 264, in redraw
self.finalize()
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/ui.py", line 312, in finalize
DisplayableContainer.finalize(self)
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/displayable.py", line 254, in finalize
displayable.finalize()
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/widgets/browserview.py", line 121, in finalize
self.columns[-1].draw_image()
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/widgets/pager.py", line 104, in draw_image
self.fm.notify(e, bad=True)
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/widgets/pager.py", line 96, in draw_image
self.x, self.y, self.wid, self.hei),
File "/usr/local/lib/python2.7/dist-packages/ranger/ext/img_display.py", line 58, in generate_w3m_input
output = _w3mimgdisplay(cmd).split()
File "/usr/local/lib/python2.7/dist-packages/ranger/ext/img_display.py", line 36, in _w3mimgdisplay
stdout=PIPE, universal_newlines=True)
File "/usr/lib/python2.7/subprocess.py", line 672, in _init_
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

user@linux ~ $

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 (Posted a comment)
  •  

    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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 02 Apr 2013 03:31:57 AM UTChutStatusNone=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1