← Back to team overview

hugin-devs team mailing list archive

[Bug 679216] Re: Check write access of directory before stitching

 

** Summary changed:

- Stitching fails without write access
+ Check write access of directory before stitching

** Changed in: hugin
   Importance: Medium => Wishlist

** Changed in: hugin
       Status: New => Triaged

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

Title:
  Check write access of directory before stitching

Status in Hugin - Panorama Tools GUI:
  Triaged

Bug description:
  was trying to do a panorama of pictures in a directory to which I have no write access. Instead of giving something like "please check your permissions" the following error came up together with a notice telling me to report it:

nona -z PACKBITS  -r ldr -m TIFF_m -o map -i 0 /tmp/huginpto_izlwvT
nona -z PACKBITS  -r ldr -m TIFF_m -o map -i 1 /tmp/huginpto_izlwvT
TIFFOpen: map0000.tif: Cannot open.
ContractViolation: 
Precondition violation!
Unable to open file 'map0000.tif'.
(/build/buildd/hugin-0.7.0/src/foreign/vigra/vigra_impex/tiff.cxx:711)


Precondition violation!
Unable to open file 'map0000.tif'.
(/build/buildd/hugin-0.7.0/src/foreign/vigra/vigra_impex/tiff.cxx:711)
enblend --compression 100 -w -f290x145 -o map.jpg map0000.tif map0001.tif 
TIFFOpen: map0001.tif: Cannot open.
ContractViolation: 
Precondition violation!
Unable to open file 'map0001.tif'.
(/build/buildd/hugin-0.7.0/src/foreign/vigra/vigra_impex/tiff.cxx:711)


Precondition violation!
Unable to open file 'map0001.tif'.
(/build/buildd/hugin-0.7.0/src/foreign/vigra/vigra_impex/tiff.cxx:711)

enblend: error opening input file "map0000.tif":

Precondition violation!
Unable to open file 'map0000.tif'.

make: *** [map.jpg] Error 1