fiDefrag crashes when file is removed during defrag
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fiDefrag |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I was just beginning to defrag my /home folder when your program errored out on me. I had Firefox open while fiDefrag built the file list. But while fiDefrag was building the extended info, I closed Firefox. Apparently, this removes a file called 'sessionstore.js' from the .mozilla folder. Having that file in the file list, but not being able to get extended info on it, made fiDefrag spit the following error:
Traceback (most recent call last):
File "fiDefrag.py", line 259, in <module>
mfiles.
File "fiDefrag.py", line 198, in __init__
self.size = filesize(file)
File "fiDefrag.py", line 56, in filesize
return os.path.
File "/usr/lib/
return os.stat(
OSError: [Errno 2] No such file or directory: '/home/
Changed in fidefrag: | |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Thank you for reporting this bug. It's simple to fix. I'll commit another revision when I fix it, should be very soon.