Stitching fails (while running nona) when path name includes Unicode characters/spaces

Bug #852510 reported by Adee Ran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Incomplete
Undecided
Unassigned

Bug Description

The following report files does not show the correct path; path name included a directory with Unicode (Hebrew) characters and white spaces. The directory name and file names appear in the report incorrectly as "Image 0" to "Image 6".
<quote>
=========================================================
*************** Panorama makefile generated by Hugin ***************
===========================================================================
System information
===========================================================================
Operating System: Windows 7 (6.1 )
Architecture: AMD64
Number of logical processors: 2
Physical memory: 4092176 kiB (55% occupied)
Free space on disc: 36076 MiB
Active codepage: 1255 (Hebrew Windows)
===========================================================================
Output options
===========================================================================
Hugin Version: 2011.0.0.0f9fdaf56720 built by Matthew Petroff
Project file: C:\Users\aran\AppData\Local\Temp\hugD3BC.tmp
Output prefix: DSC_0441-DSC_0447
Projection: Equirectangular (2)
Field of view: 36 x 54
Canvas dimensions: 2692 x 4038
Crop area: (0,0) - (2692,4038)
Output exposure value: 12.29
Selected outputs
Normal panorama
* Blended panorama
===========================================================================
Input images
===========================================================================
Number of images in project file: 7
Number of active images: 7
Image 0: C:\Users\aran\Pictures\Image 0: Size 4288x2848, Exposure: 11.97
Image 1: C:\Users\aran\Pictures\Image 1: Size 4288x2848, Exposure: 12.23
Image 2: C:\Users\aran\Pictures\Image 2: Size 4288x2848, Exposure: 12.40
Image 3: C:\Users\aran\Pictures\Image 3: Size 4288x2848, Exposure: 12.83
Image 4: C:\Users\aran\Pictures\Image 4: Size 4288x2848, Exposure: 12.41
Image 5: C:\Users\aran\Pictures\Image 5: Size 4288x2848, Exposure: 12.33
Image 6: C:\Users\aran\Pictures\Image 6: Size 4288x2848, Exposure: 11.87
===========================================================================
Testing programs
===========================================================================
Checking nona...
nona is ok
Checking enblend...
enblend is ok
Checking enfuse...
enfuse is ok
Checking hugin_hdrmerge...
hugin_hdrmerge is ok
Checking exiftool...
exiftool is ok
===========================================================================
Stitching panorama
===========================================================================
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "DSC_0441-DSC_0447" -i 0 "C:/Users/aran/AppData/Local/Temp/hugD3BC.tmp"
ContractViolation:
Precondition violation!
Unable to open file 'C:\Users\aran\Pictures\make: *** [DSC_0441-DSC_04470000.tif] Error 1

</quote>

After moving the original files and the project file to another directory called "temp", and repeating the stitch, there were no errors:

<quote>
===========================================================================
*************** Panorama makefile generated by Hugin ***************
===========================================================================
System information
===========================================================================
Operating System: Windows 7 (6.1 )
Architecture: AMD64
Number of logical processors: 2
Physical memory: 4092176 kiB (66% occupied)
Free space on disc: 35982 MiB
Active codepage: 1255 (Hebrew Windows)
===========================================================================
Output options
===========================================================================
Hugin Version: 2011.0.0.0f9fdaf56720 built by Matthew Petroff
Project file: C:\Users\aran\AppData\Local\Temp\hugE348.tmp
Output prefix: DSC_0441-DSC_0447
Projection: Cylindrical (1)
Field of view: 202 x 94
Canvas dimensions: 10615 x 6458
Crop area: (110,831) - (10210,3561)
Output exposure value: 12.55
Selected outputs
Normal panorama
* Blended panorama
===========================================================================
Input images
===========================================================================
Number of images in project file: 7
Number of active images: 7
Image 0: C:\Users\aran\Pictures\temp\DSC_0441.JPG
Image 0: Size 4288x2848, Exposure: 11.97
Image 1: C:\Users\aran\Pictures\temp\DSC_0442.JPG
Image 1: Size 4288x2848, Exposure: 13.19
Image 2: C:\Users\aran\Pictures\temp\DSC_0443.JPG
Image 2: Size 4288x2848, Exposure: 13.56
Image 3: C:\Users\aran\Pictures\temp\DSC_0444.JPG
Image 3: Size 4288x2848, Exposure: 13.13
Image 4: C:\Users\aran\Pictures\temp\DSC_0445.JPG
Image 4: Size 4288x2848, Exposure: 12.63
Image 5: C:\Users\aran\Pictures\temp\DSC_0446.JPG
Image 5: Size 4288x2848, Exposure: 11.97
Image 6: C:\Users\aran\Pictures\temp\DSC_0447.JPG
Image 6: Size 4288x2848, Exposure: 11.37
===========================================================================
Testing programs
===========================================================================
Checking nona...
nona is ok
Checking enblend...
enblend is ok
Checking enfuse...
enfuse is ok
Checking hugin_hdrmerge...
hugin_hdrmerge is ok
Checking exiftool...
exiftool is ok
===========================================================================
Stitching panorama
===========================================================================
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "DSC_0441-DSC_0447" -i 0 "C:/Users/aran/AppData/Local/Temp/hugE348.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "DSC_0441-DSC_0447" -i 1 "C:/Users/aran/AppData/Local/Temp/hugE348.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "DSC_0441-DSC_0447" -i 2 "C:/Users/aran/AppData/Local/Temp/hugE348.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "DSC_0441-DSC_0447" -i 3 "C:/Users/aran/AppData/Local/Temp/hugE348.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "DSC_0441-DSC_0447" -i 4 "C:/Users/aran/AppData/Local/Temp/hugE348.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "DSC_0441-DSC_0447" -i 5 "C:/Users/aran/AppData/Local/Temp/hugE348.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "DSC_0441-DSC_0447" -i 6 "C:/Users/aran/AppData/Local/Temp/hugE348.tmp"
"C:/Program Files/Hugin/bin/enblend" --compression=90 -f10100x2730+110+831 -o "DSC_0441-DSC_0447.jpg" -- "DSC_0441-DSC_04470000.tif" "DSC_0441-DSC_04470001.tif" "DSC_0441-DSC_04470002.tif" "DSC_0441-DSC_04470003.tif" "DSC_0441-DSC_04470004.tif" "DSC_0441-DSC_04470005.tif" "DSC_0441-DSC_04470006.tif"
enblend: info: loading next image: DSC_0441-DSC_04470000.tif 1/1
enblend: info: loading next image: DSC_0441-DSC_04470001.tif 1/1
enblend: info: loading next image: DSC_0441-DSC_04470002.tif 1/1
<!.....>
</quote>

Revision history for this message
tmodes (tmodes) wrote :

I assume that your file names contains Non-ASCII characters. So rename your files to names with only ASCII characters and try again.

This is a known issue (see http://wiki.panotools.org/Hugin_FAQ#Windows:_International_Characters_in_Path ).

If that is not applicable, set status of ticket to New again and provide pto file and filenames of the files.

Changed in hugin:
status: New → Incomplete
Adee Ran (adee-ran)
summary: - Stitching fails (while running nona)
+ Stitching fails (while running nona) when path name includes Unicode
+ characters/spaces
Adee Ran (adee-ran)
description: updated
description: updated
description: updated
Revision history for this message
tmodes (tmodes) wrote :

Thanks for clarification. This is a duplicate of bug 678808.
Unfortunately we have currently no developer on a windows machine who could test/fix this issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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