bugranger - Bugs: bug #32512, Ranger crash when unplug usb with...

 
 

bug #32512: Ranger crash when unplug usb with udev rule

Submitted by:  None
Submitted on:  Thu 17 Feb 2011 08:52:16 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.

 

Thu 05 Apr 2012 11:12:46 AM UTC, comment #3:

Should work by now.

Roman Z. <hut>
Project Administrator
Fri 18 Feb 2011 03:54:48 AM UTC, comment #2:

Here is the crash traceback:

Ranger version: 1.4.1, executed with python 3.1.3
Locale: en_US.UTF8
Current file: /media/PARTED/boot
Traceback (most recent call last):
File "/usr/lib/python3.1/site-packages/ranger/core/main.py", line 85, in main
fm.loop()
File "/usr/lib/python3.1/site-packages/ranger/core/fm.py", line 198, in loop
ui.redraw()
File "/usr/lib/python3.1/site-packages/ranger/gui/ui.py", line 213, in redraw
self.draw()
File "/usr/lib/python3.1/site-packages/ranger/gui/ui.py", line 234, in draw
DisplayableContainer.draw(self)
File "/usr/lib/python3.1/site-packages/ranger/gui/displayable.py", line 268, in draw
displayable.draw()
File "/usr/lib/python3.1/site-packages/ranger/gui/widgets/statusbar.py", line 108, in draw
self._calc_bar()
File "/usr/lib/python3.1/site-packages/ranger/gui/widgets/statusbar.py", line 114, in _calc_bar
self._get_right_part(bar)
File "/usr/lib/python3.1/site-packages/ranger/gui/widgets/statusbar.py", line 241, in _get_right_part
target.mount_path), seperator='') + " free")
File "/usr/lib/python3.1/site-packages/ranger/core/environment.py", line 151, in get_free_space
stat = os.statvfs(path)
OSError: [Errno 2] No such file or directory: '/media/PARTED'

Hope it'll be fixed soon.
Thanks

Anonymous
Thu 17 Feb 2011 10:23:41 PM UTC, comment #1:

Hi, can you add the crash traceback?
It helps me to find the reason for the crash.

Roman Z. <hut>
Project Administrator
Thu 17 Feb 2011 08:52:16 AM UTC, original submission:

- use udev rule to automount usb
- brower the mounted usb with ranger
- unplug usb and ranger crash

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
    Thu 05 Apr 2012 11:12:46 AM UTChutStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1