Some notes for bug fixing:
When using the GIO backend, relevant functions are http://www.pygtk.org/docs/pygobject/class-giofile.html#method-giofile--query-filesystem-info http://www.pygtk.org/docs/pygobject/class-giofileinfo.html http://www.pygtk.org/docs/pygobject/gio-constants.html#gio-file-attribute-constants
Apparently, query_filesystem_info can return 0 for filesystem size and filesystem free without issuing an error. As sensible fix is to test for filesystem size of 0 and to assume it is actually unknown in that case.
Some notes for bug fixing:
When using the GIO backend, relevant functions are www.pygtk. org/docs/ pygobject/ class-giofile. html#method- giofile- -query- filesystem- info www.pygtk. org/docs/ pygobject/ class-giofilein fo.html www.pygtk. org/docs/ pygobject/ gio-constants. html#gio- file-attribute- constants
http://
http://
http://
Apparently, query_filesyste m_info can return 0 for filesystem size and filesystem free without issuing an error. As sensible fix is to test for filesystem size of 0 and to assume it is actually unknown in that case.