Check write access of directory before stitching
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hugin |
Fix Released
|
Wishlist
|
Unassigned |
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_
nona -z PACKBITS -r ldr -m TIFF_m -o map -i 1 /tmp/huginpto_
TIFFOpen: map0000.tif: Cannot open.
ContractViolation:
Precondition violation!
Unable to open file 'map0000.tif'.
(/build/
Precondition violation!
Unable to open file 'map0000.tif'.
(/build/
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/
Precondition violation!
Unable to open file 'map0001.tif'.
(/build/
enblend: error opening input file "map0000.tif":
Precondition violation!
Unable to open file 'map0000.tif'.
make: *** [map.jpg] Error 1
summary: |
- Stitching fails without write access + Check write access of directory before stitching |
Changed in hugin: | |
importance: | Medium → Wishlist |
status: | New → Triaged |
Changed in hugin: | |
status: | Confirmed → Triaged |
Changed in hugin: | |
milestone: | none → 2015.0beta1 |
status: | Fix Committed → Fix Released |
Usually images are created in the folder where you run nona and enblend. Do you have write permissions in this folder?
Also, you seem to be using 0.7.0. Could you try with a recent SVN version? we are very close to 0.8.0.