align_image_stack errors

204 views
Skip to first unread message

lee reinhardt

unread,
Jul 23, 2013, 12:08:30 AM7/23/13
to hugi...@googlegroups.com
im probably doing something stupid but
whenever i run my shell script to use the hugin command line tools i get:

ContractViolation: 
Precondition violation!
Unable to open file 'IMG_1670.JPG'.
(/Users/Shared/development/hugin_related/hugin/mac/../src/foreign/vigra/vigra_impex/codecmanager.cxx:206)

ERROR: caught exception: 
Precondition violation!
Unable to open file 'IMG_1670.JPG'.
(/Users/Shared/development/hugin_related/hugin/mac/../src/foreign/vigra/vigra_impex/codecmanager.cxx:206)

enfuse: failed to open "HDR_AIS_1670*": No such file or directory
rm: HDR_AIS_1670*: No such file or directory
logout

osx 10.8.4

trying to make the shell script for enfusing bracketed images that comes with magic lantern work.

Bruno Postle

unread,
Jul 23, 2013, 4:20:44 AM7/23/13
to hugin and other free panoramic software

On Jul 23, 2013 7:24 AM, "lee reinhardt" <leeb...@gmail.com> wrote:
>
> enfuse: failed to open "HDR_AIS_1670*": No such file or directory

You are using the * 'glob' to match multiple files, but enfuse is getting the * instead of the list of files.

Either you are not in the same folder as the files, they have slightly different names, or you are quoting this bit of the command and preventing the glob expansion.

> trying to make the shell script for enfusing bracketed images that comes with magic lantern work.

--
Bruno

Greg 'groggy' Lehey

unread,
Jul 28, 2013, 7:03:52 PM7/28/13
to hugi...@googlegroups.com
On Monday, 22 July 2013 at 21:08:30 -0700, lee reinhardt wrote:
> im probably doing something stupid but
> whenever i run my shell script to use the hugin command line tools i get:
>
> ContractViolation:
> Precondition violation!
> Unable to open file 'IMG_1670.JPG'.
> (/Users/Shared/development/hugin_related/hugin/mac/../src/foreign/vigra/vigra_impex/codecmanager.cxx:206)
>
> ERROR: caught exception:
> Precondition violation!
> Unable to open file 'IMG_1670.JPG'.
> (/Users/Shared/development/hugin_related/hugin/mac/../src/foreign/vigra/vigra_impex/codecmanager.cxx:206)
>
> enfuse: failed to open "HDR_AIS_1670*": No such file or directory
> rm: HDR_AIS_1670*: No such file or directory
>
> osx 10.8.4
>
> trying to make the shell script for enfusing bracketed images that comes
> with magic lantern work.

On Tuesday, 23 July 2013 at 9:20:44 +0100, Bruno Postle wrote:
> On Jul 23, 2013 7:24 AM, "lee reinhardt" <leeb...@gmail.com> wrote:
>>
>> enfuse: failed to open "HDR_AIS_1670*": No such file or directory
>
> You are using the * 'glob' to match multiple files, but enfuse is getting
> the * instead of the list of files.

This doesn't appear to be the cause of the problem, though I'd be
interested to know how the globbing pattern got passed unexpanded.
You didn't comment on the two vigra "Precondition violations" (see
previous message), which come from vigra's failure to recognize the
magic number in the file.

I've seen a similar bug in FreeBSD (same file, different location),
which proves to be a compiler compatibility problem. In FreeBSD it
occurs when vigra is compiled with gcc 4.2, but not with newer
versions of gcc. See
http://www.lemis.com/grog/diary-jul2013.php#D-20130727-012524 for more
details.

Greg
--
Sent from my desktop computer.
Finger gr...@FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed. If your Microsoft MUA reports
problems, please read http://tinyurl.com/broken-mua
Reply all
Reply to author
Forward
0 new messages