Stitching fails with ':' characters in filenames

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

Bug Description

/var/folders/Uz/UzeBhceQE9CLgGUcV9Ld2E+++TI/-Tmp-/huginmk_BVvF1M:337: *** target pattern contains no `%'. Stop.

I think its broke....

Revision history for this message
harryvanderwolf (harryvanderwolf) wrote :

Logged In: YES
user_id=910283
Originator: NO

Please give us the following information: Mac ppc or Intel, OSX version, Hugin version, did you build hugin yourself or did you use a build from http://www.panorama.dyndns.org/index.php?lang=en&subject=Hugin&texttag=Hugin.

Can you give us more info on your project and what steps you did to get to the "stitch now" part.

Revision history for this message
nobody (nobody-users) wrote :

Logged In: NO

Same here
/var/folders/JM/JM9yYrsMEeuHDeWvQnVRok+++TU/-Tmp-/huginmk_4HaKti:283: *** target pattern contains no `%'. Stop.
Mac intel
os x 10.5.4
canned build
0.7.0-svn3176

Revision history for this message
Bruno Postle (brunopostle) wrote :

Logged In: YES
user_id=35360
Originator: NO

This is a make error from a 'malformed static pattern'.

This bug is triggered by a filename or path containing a ':' character, I can reproduce this on Linux like so:

  hugin_stitch_project -o jun:k project.pto

The fix should be to escape the ':' in filenames, the workaround is to not use them.

Revision history for this message
nobody (nobody-users) wrote :
Revision history for this message
Gerry Patterson (gpatters) wrote :

Logged In: YES
user_id=1876851
Originator: NO

I did some checking and it seems that one can not escape the ':' char in a makefile when used as a target. This is also refelcted by someone else in the hugin code at hugin_base/hugin_utils/platform.h

So perhaps it would be better to not allow the user to use a ':' in the project prefix?

- Gerry

Revision history for this message
tunebeach (tunebeach) wrote :

Looks like it also fails with two hyphens "--" in a containing folder. I removed one hyphen and then it worked (still had an error but the file was at least created).

Revision history for this message
nobody (nobody-users) wrote :

Confirming above error, but regardless of special characters in the filename.
Specified output prefixes were "Balkon", "Test", "bla" and others without ":" or hyphens. The path to the ouput dir does not contain any special characters.
Changing the language (LANG=C) does not help.
The error is raised both with the assistant and 'manual' processing.

Additionally, when trying to stich, following message appears on command line:

WARN: 12:50:36.291249 (/tmp/buildd/hugin-0.7.0~svn3191+beta5/src/hugin1/hugin/PanoPanel.cpp:308) StackCheck(): 4: HDR stacks detected

FYI:
uname -a gives:
Linux midgard 2.6.25-2008-08-18 #1 PREEMPT Mon Aug 18 22:56:55 CEST 2008 i686 GNU/Linux

distribution is Debian sid/experimental
hugin package is 0.7.0~svn3191+beta5-1

Cheers,
oeller

Revision history for this message
Lukas Jirkovsky (l-jirkovsky) wrote :

This should be fixed in svn r3596.

Revision history for this message
sf-robot (sf-robot-users) wrote :

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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.