Stitching error message

313 views
Skip to first unread message

wharncliffe

unread,
Jan 5, 2010, 2:50:02 PM1/5/10
to hugin and other free panoramic software
I've been using Hugin for some time now mainly for panoramas, no
problems.
I am trying to create "islands" using a stereographic image, the
preview is ok but when I try to create I get the following error
message.

"C:\Program\ Files\Hugin\bin\nona -z PACKBITS -r ldr -m TIFF_m -o
stereo -i 0 C:\DOCUME~1\me\LOCALS~1\Temp\hug37.tmp
ContractViolation:
Precondition violation!
Unable to open file 'C:\Documents and Settings\me\Desktop\Botanic
Gardens\IMG_3450 1.JPG'.

caught exception:
Precondition violation!
Unable to open file 'C:\Documents and Settings\me\Desktop\Botanic
Gardens\IMG_3450 1.JPG'.

make: *** [stereo0000.tif] Error 1"

What am I doing wrong! ..... any help gratefully received ......
Thanks.

Bruno Postle

unread,
Jan 5, 2010, 4:31:05 PM1/5/10
to hugin and other free panoramic software
On Tue 05-Jan-2010 at 11:50 -0800, wharncliffe wrote:
>I am trying to create "islands" using a stereographic image, the
>preview is ok but when I try to create I get the following error
>message.
>
>"C:\Program\ Files\Hugin\bin\nona -z PACKBITS -r ldr -m TIFF_m -o stereo -i 0 C:\DOCUME~1\me\LOCALS~1\Temp\hug37.tmp
>ContractViolation:
>Precondition violation!
>Unable to open file 'C:\Documents and Settings\me\Desktop\Botanic Gardens\IMG_3450 1.JPG'.

This error seems to appear with Windows, I don't have a solution.

Though the best advice for stitching stereographic 'little planet'
type images is to always stitch to a standard spherical
equirectangular panorama first, then reload this into a new
single-photo Hugin project - Where it is easy to generate as many
different views, stereographic or otherwise, as you need.

--
Bruno

Lukáš Jirkovský

unread,
Jan 7, 2010, 5:05:48 AM1/7/10
to hugi...@googlegroups.com
Hi,

2010/1/5 wharncliffe <pdp...@googlemail.com>:

> --
> You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
> A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
> To post to this group, send email to hugi...@googlegroups.com
> To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/hugin-ptx
>

Looking at the error message I guess that the problem may be caused by
the spaces in name. Could you rename the file so it doesn't contain
any spaces and move it to some different directory (eg C:\foo) which
doesn't contain spaces? If it works it's certainly problem within
escaping of names. I wonder how is that possible…

Lukas

Wolfgang Lin

unread,
Jan 7, 2010, 9:10:28 AM1/7/10
to hugi...@googlegroups.com
I experienced the same. If I put files to the folders not too long in name or no space (think about using DOS format, just 8 characters folder name), then ok.
e.g. c:\temp\1\a.jpg

Wolfgang

2010/1/7 Lukáš Jirkovský <l.jir...@gmail.com>
Reply all
Reply to author
Forward
0 new messages