Add some warning about low disc space

Bug #679909 reported by Lukas Jirkovsky
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Wishlist
Unassigned

Bug Description

Taken from discussion about bug #2531227:
(nobody) said: wouldn't be appropriate to have some sort of warning about disk
space? Just a suggestion :)

This could be solved by monitoring disc space and when it gets running low pause make process and warn user. Problem is that pausing enblend or enfuse would be quite challenging.

Revision history for this message
rew (r-e-wolff) wrote :

This is of course because of BUG #678934 that the error messages when disk space does run out are hard to read.

Changed in hugin:
importance: Low → Wishlist
status: New → Triaged
Revision history for this message
Yuv (yuv) wrote :

bug sf-2531227 mentioned above is bug 679083 on Launchpad

Revision history for this message
Dipak Chirmade (dipak-chirmade) wrote :

Attached patch could be one solution to warn user if he/she has low disk space. It will be better if we show this warning in some warning-window than progress-log window.

References:
1. Statvfs, http://linux.die.net/man/2/statvfs
2. Getenv, http://manpages.courier-mta.org/htmlman3/getenv.3.html

Revision history for this message
tmodes (tmodes) wrote :

You put your code into the unix specific part. But the include is processed for all operating systems.
So this will not work on windows and maybe mac.
Hugin runs on different OS and the code should respect this.

Revision history for this message
Dipak Chirmade (dipak-chirmade) wrote :

Please find attached patch which has only gnu/linux specific fix for the time being. Thanks for pointing out the issue! ...

Revision history for this message
tmodes (tmodes) wrote :

Implemented in changeset dc699342e456.

Changed in hugin:
status: Triaged → Fix Committed
tmodes (tmodes)
Changed in hugin:
milestone: none → 2015.0beta1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.