SVN2935 (WIN32) hugin does not stitch

Bug #678813 reported by Joachim Schneider
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Undecided
Unassigned

Bug Description

SVN2935 on WinXP

hugin fails immediately when stitching with the output:

C:\\Programme\\BILD\\Hugin\\hugin_0.7.0.2935\\bin\\nona -z PACKBITS -r ldr -m TIFF_m -o a -i 0 d:\\users\\a\\LOKALE\~1\\Temp\\hugC7.tmp
WARN: (..\..\..\hugin\src\hugin_base\panodata\Panorama.cpp:1612) HuginBase::Panorama::readData(): Failed to read from dataInput.
error while parsing panos tool script: d:\users\a\LOKALE\~1\Temp\hugC7.tmp
make: *** [a0000.tif] Error 1

No offending characters in path. The tmp file mentioned in the error message is not present in the specified path.

Revision history for this message
maximtee (maximtee) wrote :

Logged In: YES
user_id=2021593
Originator: NO

Experiencing same issue on build 2925, also running on WinXP.
The previous build (2904) was running fine.

Revision history for this message
maximtee (maximtee) wrote :

Logged In: YES
user_id=2021593
Originator: NO

Tested on SVN2948 on WinXP.
Hugin still does not stitch, although now error message is a bit different. Apparently enblend/enfuse is failing now, not nona.

Files TEST0000.tif TEST0001.tif TEST_exposure_layers_0000.tif are created in the project directory and appear to have correctly remapped images.

As this is real show stopper on Windows platform, I think this should be raised in priority.

======================= Enblend selected ================
D:\huginbase\hugin-build\INSTALL\FILES\bin\nona -z PACKBITS -r ldr -m TIFF_m -o TEST -i 0 C:\DOCUME~1\maxt\LOCALS~1\Temp\hug172.tmp
D:\huginbase\hugin-build\INSTALL\FILES\bin\nona -z PACKBITS -r ldr -m TIFF_m -o TEST -i 1 C:\DOCUME~1\maxt\LOCALS~1\Temp\hug172.tmp
D:\huginbase\hugin-build\INSTALL\FILES\bin\enblend --compression NONE -f3118x1976 -o TEST.tif TEST0000.tif TEST0001.tif
process_begin: CreateProcess((null), D:\huginbase\hugin-build\INSTALL\FILES\bin\enblend --compression NONE -f3118x1976 -o TEST.tif TEST0000.tif TEST0001.tif, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [TEST.tif] Error 2

================= Enbfuse selected ===============
D:\huginbase\hugin-build\INSTALL\FILES\bin\nona -z PACKBITS -r ldr -e 11.9658 -m TIFF_m -o TEST_exposure_layers_ -i 0 C:\DOCUME~1\maxt\LOCALS~1\Temp\hug175.tmp
D:\huginbase\hugin-build\INSTALL\FILES\bin\enfuse -v -o TEST_stack_ldr_0000.tif TEST_exposure_layers_0000.tif
process_begin: CreateProcess((null), D:\huginbase\hugin-build\INSTALL\FILES\bin\enfuse -v -o TEST_stack_ldr_0000.tif TEST_exposure_layers_0000.tif, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [TEST_stack_ldr_0000.tif] Error 2

Revision history for this message
maximtee (maximtee) wrote :

Logged In: YES
user_id=2021593
Originator: NO

Tested on SVN 2955 on WinXP and discovered the source of the problem:

The stitching script fails because enblend/enfuse are not present in hugin-build\INSTALL\FILES\bin\.

I manually copied enblend.exe and enfuse.exe from enblend-3.1\INSTALLDIR to hugin-build\INSTALL\FILES\bin\ and stitching (both enblend and enfuse) is just fine.

My conclusion is that whatever the original bug was, it was fixed between 2925 and 2948. There is a differet bug in the build process that prevents enblend/enfuse executables from being copied to hugin-build\INSTALL\FILES\bin\

The workaround is to copy enblend.exe and enfuse.exe from enblend-3.1\INSTALLDIR to hugin-build\INSTALL\FILES\bin\ manually. You need to do that only once, as INSTALL\FILES\bin\ gets updated, not overwritten at build time.

Revision history for this message
Yuv (yuv) wrote :

Logged In: YES
user_id=1347188
Originator: NO

thanks for the thorough testing, Maxim!

Revision history for this message
maximtee (maximtee) wrote :

Logged In: YES
user_id=2021593
Originator: NO

Just for the record, the error was due to incorrect ENBLEND_EXE_DIR value in cmakesetup.
I have updated Windows build guide on wiki
http://wiki.panotools.org/Build_Hugin_for_Windows_with_SDK
to to document the correct value (huginbase/enblend-3.1/INSTALLDIR).

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.