bugranger - Bugs: bug #39397, UnicodeEncodeError: 'ascii' codec...

 
 

bug #39397: UnicodeEncodeError: 'ascii' codec can't encode character u'\u9605' in position 0: ordinal not in range(128)

Submitter:  Dong Zhu <bluezd>
Submitted:  Tue 02 Jul 2013 12:26:55 PM UTC
   
 
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 02 Jul 2013 12:26:55 PM UTC, original submission:  

Ranger crashed when I attempted to open a file. This file was stored in my dropbox sync folder, it might be synchronized from server when the open operation was executed.

$ ranger
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ranger/__main__.py", line 224, in main
    fm.loop()
  File "/usr/lib/python2.7/site-packages/ranger/core/fm.py", line 137, in loop
    ui.redraw()
  File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 213, in redraw
    self.draw()
  File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 234, in draw
    DisplayableContainer.draw(self)
  File "/usr/lib/python2.7/site-packages/ranger/gui/displayable.py", line 268, in draw
    displayable.draw()
  File "/usr/lib/python2.7/site-packages/ranger/gui/widgets/browserview.py", line 100, in draw
    DisplayableContainer.draw(self)
  File "/usr/lib/python2.7/site-packages/ranger/gui/displayable.py", line 268, in draw
    displayable.draw()
  File "/usr/lib/python2.7/site-packages/ranger/gui/widgets/browsercolumn.py", line 138, in draw
    self._draw_file()
  File "/usr/lib/python2.7/site-packages/ranger/gui/widgets/browsercolumn.py", line 166, in _draw_file
    Pager.draw(self)
  File "/usr/lib/python2.7/site-packages/ranger/gui/widgets/pager.py", line 74, in draw
    self._draw_line(i, line)
  File "/usr/lib/python2.7/site-packages/ranger/gui/widgets/pager.py", line 79, in _draw_line
    self.addstr(i, 0, line)
  File "/usr/lib/python2.7/site-packages/ranger/gui/curses_shortcuts.py", line 54, in addstr
    self.win.addstr(*(ascii_only(obj) for obj in args))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u9605' in position 0: ordinal not in range(128)


Dong Zhu <bluezd>

 

(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 bluezd (Submitted 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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code