I performed some basic debugging and discovered at least one problem in
linHDD's source code.

At line 381, self.perc is an empty string.

Firstly, I suspect it should not be returning an empty string, so there
could be an issue with self.get_free(). Perhaps it is parsing the output
of df incorrectly.

Secondly, at line 382, comparing it with None will never succeed because
an empty string never None. This is the main problem why linHDD breaks.
Changing this to string comparison fixed the problem.

There is a patch attached. I will also get in touch with the author.
Hope this helps.



** Attachment added: "Fixed linHDD for some setups"
   http://librarian.launchpad.net/6919538/linHDD.patch

-- 
linHDD application broken
https://launchpad.net/bugs/83026

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to