bugranger - Bugs: bug #33402, Ranger crash when navigating to...

 
 

bug #33402: Ranger crash when navigating to zip file

Submitted by:  None
Submitted on:  Wed 25 May 2011 10:21:21 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.

 

Tue 05 Feb 2013 04:59:32 AM UTC, comment #2:

I'll just assume this was dealt with and close this issue.

Roman Z. <hut>
Project Administrator
Thu 26 May 2011 03:11:08 PM UTC, comment #1:

What ranger version and python version?

Roman Z. <hut>
Project Administrator
Wed 25 May 2011 10:21:21 PM UTC, original submission:

I zipped several photos with cyrillic names. And insted of showing the zip archive content on the right ranger crashed.

gzip: compressed data not written to a terminal. Use -f to force compression.
For help, type: gzip -h
zip warning: missing end signature--probably not a zip file (did you
zip warning: remember to use binary mode when you transferred it?)
zip warning: (if you are trying to read a damaged archive try -F)

zip error: Zip file structure invalid (Слащавый.jpg)
adding: Слащавый.jpg (deflated 1%)
adding: Фота(10).jpg (deflated 1%)
adding: Фота(11).jpg (deflated 1%)
adding: Фота(12).jpg (deflated 1%)
adding: Фота(3).jpg (deflated 1%)
adding: Фота(4).jpg (deflated 1%)
adding: Фота(5).jpg (deflated 0%)
adding: Фота(6).jpg (deflated 0%)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ranger/__main__.py", line 213, in main
fm.loop()
File "/usr/lib/python2.7/site-packages/ranger/core/fm.py", line 138, 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'\u0421' in position 0: ordinal not in range(128)

Ranger crashed. Please report this (including the 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 (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):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 05 Feb 2013 04:59:31 AM UTChutStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1