Make of stitched image fails (bug in variable expansion)

Bug #1254716 reported by Hadmut Danisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hugin (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

I am trying to stitch several tif images into a panorama with hugin. The first two steps (loading the images, align) work, but the third step (Create panorama...) quickly fails with

make: *** No rule to make target `/tmp/Weiterverarbeitung/Brueckenpanorama/102ND800/Weiterverarbeitung/Brueckenpanorama/102ND800/DSC_2749.tif', needed by `DSC_2749 - DSC_27640000.tif'. Stop.

Note that problem with the path:

The pics are in

/tmp/Weiterverarbeitung/Brueckenpanorama/102ND800

while it expects the files in

/tmp/Weiterverarbeitung/Brueckenpanorama/102ND800/Weiterverarbeitung/Brueckenpanorama/102ND800/DSC_2749.tif

where parts of the path occur twice.

If I open the menu File/Preferences and then Filenames, it shows that the default Project filename %firstimage - %lastimage expands to

Weiterverarbeitung/Brueckenpanorama/102ND800/DSC_2749 - DSC_2764

so this expansion seems to be the problem, which uses n-1 parts of the filename to build the project and other names. That's why it fails.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: hugin 2013.0.0~rc1+dfsg-1ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
Uname: Linux 3.11.0-13-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Mon Nov 25 13:51:36 2013
MarkForUpload: True
SourcePackage: hugin
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Revision history for this message
Hadmut Danisch (hadmut) wrote :

Yeah, the Makefile contains

# first input image
INPUT_IMAGE_1=Weiterverarbeitung/Brueckenpanorama/102ND800/DSC_2749.tif
INPUT_IMAGE_1_SHELL=Weiterverarbeitung/Brueckenpanorama/102ND800/DSC_2749.tif

# all input images
INPUT_IMAGES=Weiterverarbeitung/Brueckenpanorama/102ND800/DSC_2749.tif\
Weiterverarbeitung/Brueckenpanorama/102ND800/DSC_2750.tif\
Weiterverarbeitung/Brueckenpanorama/102ND800/DSC_2751.tif\
Weiterverarbeitung/Brueckenpanorama/102ND800/DSC_2752.tif\
...

so the bug is that it drops only the first element of the path (/tmp/) instead of all. The path should be either complete (starting with /tmp/...) or no path at all.

Revision history for this message
tmodes (tmodes) wrote :

Move the images to an other path than /tmp or update to newer version.
See https://bugs.launchpad.net/hugin/+bug/1227813

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.