bugranger - Bugs: bug #33227, IndexError: list index out of...

 
 

bug #33227: IndexError: list index out of range - when opening /proc/1/attr

Submitted by:  None
Submitted on:  Wed 04 May 2011 10:33:10 AM 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.

 

Sat 17 Sep 2011 01:40:23 AM UTC, comment #2:

thank you. closing bug

Roman Z. <hut>
Project Administrator
Wed 04 May 2011 11:14:39 AM UTC, comment #1:

Probably fixed this in commit https://github.com/tonttu/ranger/commit/7defcc263846f8c92970c6537b55bdb8163505e8, please merge git://github.com/tonttu/ranger.git master.

- Riku Palomäki

Anonymous
Wed 04 May 2011 10:33:10 AM UTC, original submission:

Ranger always crashes when starting it like this: "ranger /proc/1/attr" or just by browsing to that directory and opening a preview of /proc/1/attr/current

Ranger version: 1.4.3, executed with python 3.2
Locale: en_US.UTF8
Current file: /proc/1/attr/current
Traceback (most recent call last):
File "/usr/lib/python3.2/site-packages/ranger/gui/widgets/pager.py", line 206, in _get_line
return self.lines[n]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.2/site-packages/ranger/core/main.py", line 85, in main
fm.loop()
File "/usr/lib/python3.2/site-packages/ranger/core/fm.py", line 198, in loop
ui.redraw()
File "/usr/lib/python3.2/site-packages/ranger/gui/ui.py", line 215, in redraw
self.draw()
File "/usr/lib/python3.2/site-packages/ranger/gui/ui.py", line 236, in draw
DisplayableContainer.draw(self)
File "/usr/lib/python3.2/site-packages/ranger/gui/displayable.py", line 268, in draw
displayable.draw()
File "/usr/lib/python3.2/site-packages/ranger/gui/widgets/browserview.py", line 102, in draw
DisplayableContainer.draw(self)
File "/usr/lib/python3.2/site-packages/ranger/gui/displayable.py", line 268, in draw
displayable.draw()
File "/usr/lib/python3.2/site-packages/ranger/gui/widgets/browsercolumn.py", line 144, in draw
self._draw_file()
File "/usr/lib/python3.2/site-packages/ranger/gui/widgets/browsercolumn.py", line 173, in _draw_file
Pager.draw(self)
File "/usr/lib/python3.2/site-packages/ranger/gui/widgets/pager.py", line 77, in draw
for line, i in zip(line_gen, range(self.hei)):
File "/usr/lib/python3.2/site-packages/ranger/gui/widgets/pager.py", line 227, in _generate_lines
line = self._get_line(i).expandtabs(4)
File "/usr/lib/python3.2/site-packages/ranger/gui/widgets/pager.py", line 210, in _get_line
for l in self.source:
IOError: [Errno 22] Invalid argument

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
    Sat 17 Sep 2011 01:40:23 AM UTChutStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1