← Back to team overview

hugin-devs team mailing list archive

[Bug 678934] Re: out of disk error not so gracious

 

*** This bug is a duplicate of bug 679909 ***
    https://bugs.launchpad.net/bugs/679909

** This bug has been marked a duplicate of bug 679909
   Add some warning about low disc space
 * You can subscribe to bug 679909 by following this link: https://bugs.launchpad.net/hugin/+bug/679909/+subscribe

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/678934

Title:
  out of disk error not so gracious

Status in Hugin - Panorama Tools GUI:
  Triaged

Bug description:
  SVN3245 Windows XP.

I did not realize that my HDD was nearly full. So I run this HDR full spherical panorama 7000x3500 with enfused output as well as blended HDR and stacked HDR images and it quits with an error and an alert asking to report the error on the bug tracker.

I deselect the HDR output as this is where it happened, and run it again, only to get even faster to the error. This time, I did copy it:

C:\Program\ Files\Hugin\bin\nona -z PACKBITS -r ldr -e 0 -m TIFF_m -o test_exposure_layers_ -i 0 C:\DOCUME~1\coolblu\LOCALS~1\Temp\hug88.tmp
TIFFAppendToStrip: test_exposure_layers_0000.tif: Write error at scanline 0.
TIFFAppendToStrip: test_exposure_layers_0000.tif: Write error at scanline 0.
TIFFAppendToStrip: test_exposure_layers_0000.tif: Write error at scanline 0.
TIFFAppendToStrip: test_exposure_layers_0000.tif: Write error at scanline 0.
TIFFAppendToStrip: test_exposure_layers_0000.tif: Write error at scanline 0.
ContractViolation: 
Postcondition violation!
exportImage(): Unable to write TIFF data.

TIFFAppendToStrip: test_exposure_layers_0000.tif: Write error at scanline 0.
caught exception: 
Postcondition violation!
exportImage(): Unable to write TIFF data.

make: *** [test_exposure_layers_0000.tif] Error 1


and I investigated. I found that the files from the previous processes have not been deleted.

We need a more graceful solution here:

1. is it possible to estimate the HDD space required, and compare it against the HDD space available?

2. if not, is it possible to catch the error?