bugranger - Bugs: bug #39737, image preview with w3mimgdisplay

 
 

bug #39737: image preview with w3mimgdisplay

Submitter:  None
Submitted:  Fri 09 Aug 2013 02:10:28 PM UTC
Votes: 100
 
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 14 Jul 2014 12:17:35 AM UTC, comment #2: 

w3m can't render images in urxvt, if the depth is 32. Be sure that you comment the line URxvt*depth: 32 in your ~/.Xresources. This should be in the documentation.

Anonymous
Tue 05 Nov 2013 12:47:24 PM UTC, comment #1: 

Got the exact same error "Failed to execute w3mimgdisplay" using Arch and Ranger with the preview_images set to true.

Daniel Sandman <almehdin>
Fri 09 Aug 2013 02:10:28 PM UTC, original submission:  

archlinux, with w3m and urxvt-256
set preview_images true

ranger version: 1.6.1, executed with python 3.3.2
Locale: en_US.UTF-8
Current file: ~/test.jpg
Traceback (most recent call last):
  File "/usr/lib/python3.3/site-packages/ranger/core/main.py", line 133, in main
    fm.loop()
  File "/usr/lib/python3.3/site-packages/ranger/core/fm.py", line 310, in loop
    ui.redraw()
  File "/usr/lib/python3.3/site-packages/ranger/gui/ui.py", line 263, in redraw
    self.finalize()
  File "/usr/lib/python3.3/site-packages/ranger/gui/ui.py", line 311, in finalize
    DisplayableContainer.finalize(self)
  File "/usr/lib/python3.3/site-packages/ranger/gui/displayable.py", line 254, in finalize
    displayable.finalize()
  File "/usr/lib/python3.3/site-packages/ranger/gui/widgets/browserview.py", line 123, in finalize
    self.columns[-1].draw_image()
  File "/usr/lib/python3.3/site-packages/ranger/gui/widgets/pager.py", line 104, in draw_image
    self.fm.notify(e, bad=True)
  File "/usr/lib/python3.3/site-packages/ranger/gui/widgets/pager.py", line 96, in draw_image
    self.x, self.y, self.wid, self.hei),
  File "/usr/lib/python3.3/site-packages/ranger/ext/img_display.py", line 64, in generate_w3m_input
    raise Exception('Failed to execute w3mimgdisplay')
Exception: Failed to execute w3mimgdisplay

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:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by almehdin (Posted a comment)
  • -email is unavailable- added by almehdin (Voted in favor of this item)
  •  

    There are 100 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
    2013-11-05 almehdin Carbon-Copy- Added almehdin

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code