[Hugin-devs] [Bug 1750398] Re: align_image_stack fails to open EXR files

2018-02-19 Thread trougnouf
Sorry I had the wrong command on my laptop (outputting a debug file).
After doing a system upgrade and entering the right command, I get (a)
valid output file(s)!

The
"/build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp
346 Error opening file" persists but it doesn't seem to have an effect
(?)

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1750398

Title:
  align_image_stack fails to open EXR files

Status in Hugin:
  New

Bug description:
  align_image_stack fails to open EXR files generated with darktable,
  the output is as follow:

  $ align_image_stack DSCF4117.exr DSCF4118.exr -p OUT.exr
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  Written project file OUT.exr

  (an output file is generated, but it is only 12.9KB)

  I have tried every compression method (off, RLE, ZIP, ZIPS, PIZ,
  PXR24, B44, B44A) and the result is consistent. I'm using Arch Linux
  with hugin 2018 and openexr 2.2.0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1750398/+subscriptions

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1750398] Re: align_image_stack fails to open EXR files

2018-02-19 Thread trougnouf
I was able to replicate the bug I had originally with another set of
files (though I'm not sure I should upload another 400MB here?), in this
case no file is written (no debug file either).

$ align_image_stack -m -a OUTexr -p errorfile DSCF3716.exr DSCF3717.exr
/build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
/build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
terminate called after throwing an instance of 'vigra::PreconditionViolation'
  what():  
Precondition violation!
correlateImageFFT(): kernel larger than image.
(/build/hugin/src/hugin-2018.0.0/src/hugin_base/vigra_ext/Correlation.h:105)

Aborted (core dumped)

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1750398

Title:
  align_image_stack fails to open EXR files

Status in Hugin:
  New

Bug description:
  align_image_stack fails to open EXR files generated with darktable,
  the output is as follow:

  $ align_image_stack DSCF4117.exr DSCF4118.exr -p OUT.exr
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  Written project file OUT.exr

  (an output file is generated, but it is only 12.9KB)

  I have tried every compression method (off, RLE, ZIP, ZIPS, PIZ,
  PXR24, B44, B44A) and the result is consistent. I'm using Arch Linux
  with hugin 2018 and openexr 2.2.0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1750398/+subscriptions

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1750398] Re: align_image_stack fails to open EXR files

2018-02-19 Thread tmodes
Can you load the exr file in Hugin? Or is there also an error or crash?

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1750398

Title:
  align_image_stack fails to open EXR files

Status in Hugin:
  New

Bug description:
  align_image_stack fails to open EXR files generated with darktable,
  the output is as follow:

  $ align_image_stack DSCF4117.exr DSCF4118.exr -p OUT.exr
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  Written project file OUT.exr

  (an output file is generated, but it is only 12.9KB)

  I have tried every compression method (off, RLE, ZIP, ZIPS, PIZ,
  PXR24, B44, B44A) and the result is consistent. I'm using Arch Linux
  with hugin 2018 and openexr 2.2.0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1750398/+subscriptions

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1750398] Re: align_image_stack fails to open EXR files

2018-02-20 Thread trougnouf
I can! If I go in Advanced mode and select Feature Matching > Align
image stack, then it fails with the same error, but Hugin's CPFind is
able to create control points, and the default "align image" in simple
view shows the images and it can do it as well (with some "error opening
file" errors that don't seem to have any effect) although the text goes
by too fast to read.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1750398

Title:
  align_image_stack fails to open EXR files

Status in Hugin:
  New

Bug description:
  align_image_stack fails to open EXR files generated with darktable,
  the output is as follow:

  $ align_image_stack DSCF4117.exr DSCF4118.exr -p OUT.exr
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  Written project file OUT.exr

  (an output file is generated, but it is only 12.9KB)

  I have tried every compression method (off, RLE, ZIP, ZIPS, PIZ,
  PXR24, B44, B44A) and the result is consistent. I'm using Arch Linux
  with hugin 2018 and openexr 2.2.0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1750398/+subscriptions

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1750398] Re: align_image_stack fails to open EXR files

2018-02-22 Thread tmodes
I fixed the error message in default branch. You now get a more verbose
warning instead.

align_image_stack was written for alignment of images directly from
camera. So no testing for exr was done. I've not found the bug until
now.

PS: In Hugins preferences there is an option to copy log messages to
clipboard > then all messages (even when the text if fast) are copied to
the clipboard and can be inspected afterwards.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1750398

Title:
  align_image_stack fails to open EXR files

Status in Hugin:
  New

Bug description:
  align_image_stack fails to open EXR files generated with darktable,
  the output is as follow:

  $ align_image_stack DSCF4117.exr DSCF4118.exr -p OUT.exr
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  Written project file OUT.exr

  (an output file is generated, but it is only 12.9KB)

  I have tried every compression method (off, RLE, ZIP, ZIPS, PIZ,
  PXR24, B44, B44A) and the result is consistent. I'm using Arch Linux
  with hugin 2018 and openexr 2.2.0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1750398/+subscriptions

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1750398] Re: align_image_stack fails to open EXR files

2018-02-23 Thread tmodes
I added some more error checking to fine tune code. Maybe this fixes the
issues with exr files. Please report back.

** Changed in: hugin
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1750398

Title:
  align_image_stack fails to open EXR files

Status in Hugin:
  Fix Committed

Bug description:
  align_image_stack fails to open EXR files generated with darktable,
  the output is as follow:

  $ align_image_stack DSCF4117.exr DSCF4118.exr -p OUT.exr
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  Written project file OUT.exr

  (an output file is generated, but it is only 12.9KB)

  I have tried every compression method (off, RLE, ZIP, ZIPS, PIZ,
  PXR24, B44, B44A) and the result is consistent. I'm using Arch Linux
  with hugin 2018 and openexr 2.2.0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1750398/+subscriptions

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1750398] Re: align_image_stack fails to open EXR files

2018-02-23 Thread trougnouf
Yes, it works now (I tried a bunch of files including the last
problematic ones). I get the following and a series of .tif output which
darktable understands.

$ align_image_stack -m -a OUT DSCF3716.exr DSCF3717.exr DSCF3718.exr
Exiv2: Error reading metadata (DSCF3716.exr: The file contains data of an 
unknown image type)
Exiv2: Error reading metadata (DSCF3717.exr: The file contains data of an 
unknown image type)
Exiv2: Error reading metadata (DSCF3718.exr: The file contains data of an 
unknown image type)
Written aligned images to files with prefix "OUT"

Thank you!

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1750398

Title:
  align_image_stack fails to open EXR files

Status in Hugin:
  Fix Committed

Bug description:
  align_image_stack fails to open EXR files generated with darktable,
  the output is as follow:

  $ align_image_stack DSCF4117.exr DSCF4118.exr -p OUT.exr
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  Written project file OUT.exr

  (an output file is generated, but it is only 12.9KB)

  I have tried every compression method (off, RLE, ZIP, ZIPS, PIZ,
  PXR24, B44, B44A) and the result is consistent. I'm using Arch Linux
  with hugin 2018 and openexr 2.2.0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1750398/+subscriptions

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1750398] Re: align_image_stack fails to open EXR files

2018-02-24 Thread tmodes
That are good news. Thanks for feedback.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1750398

Title:
  align_image_stack fails to open EXR files

Status in Hugin:
  Fix Committed

Bug description:
  align_image_stack fails to open EXR files generated with darktable,
  the output is as follow:

  $ align_image_stack DSCF4117.exr DSCF4118.exr -p OUT.exr
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  Written project file OUT.exr

  (an output file is generated, but it is only 12.9KB)

  I have tried every compression method (off, RLE, ZIP, ZIPS, PIZ,
  PXR24, B44, B44A) and the result is consistent. I'm using Arch Linux
  with hugin 2018 and openexr 2.2.0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1750398/+subscriptions

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1750398] Re: align_image_stack fails to open EXR files

2018-02-24 Thread tmodes
** Changed in: hugin
Milestone: None => 2018.2beta1

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1750398

Title:
  align_image_stack fails to open EXR files

Status in Hugin:
  Fix Committed

Bug description:
  align_image_stack fails to open EXR files generated with darktable,
  the output is as follow:

  $ align_image_stack DSCF4117.exr DSCF4118.exr -p OUT.exr
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  Written project file OUT.exr

  (an output file is generated, but it is only 12.9KB)

  I have tried every compression method (off, RLE, ZIP, ZIPS, PIZ,
  PXR24, B44, B44A) and the result is consistent. I'm using Arch Linux
  with hugin 2018 and openexr 2.2.0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1750398/+subscriptions

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1750398] Re: align_image_stack fails to open EXR files

2019-01-26 Thread tmodes
** Changed in: hugin
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1750398

Title:
  align_image_stack fails to open EXR files

Status in Hugin:
  Fix Released

Bug description:
  align_image_stack fails to open EXR files generated with darktable,
  the output is as follow:

  $ align_image_stack DSCF4117.exr DSCF4118.exr -p OUT.exr
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  /build/hugin/src/hugin-2018.0.0/src/hugin_base/panodata/SrcPanoImage.cpp 346 
Error opening file
  Written project file OUT.exr

  (an output file is generated, but it is only 12.9KB)

  I have tried every compression method (off, RLE, ZIP, ZIPS, PIZ,
  PXR24, B44, B44A) and the result is consistent. I'm using Arch Linux
  with hugin 2018 and openexr 2.2.0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1750398/+subscriptions

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp