Bug#1054129: Hugin fails to pass error messages from enblend to user

Michael Deegan bugs at deegan.id.au
Tue Oct 17 15:55:42 BST 2023


Package: hugin
Version: 2023.0~beta1+dfsg-1
Severity: normal

Hello, like in #799730, I encountered a case where stitching would abort,
and the user would be left wondering why, with no useful hints in the log
(example attached).

I strongly suggest ensuring that both stdout and stderr from enblend are
sent to the log/console. And yeah, reporting the commandline(s) invoked
would also save a bit of time when debugging (I ran ps repeatedly until
enblend showed up), as in my case it would have been immediately apparent
that enblend was complaining about too much overlap between images:

    michael at joyola:/mnt/photos/2023/20231007$ /usr/bin/enblend -f4108x9286+77+1545 --compression=LZW -o pa073123-pa073129-Panini\ General.tif -- pa073123-pa073129-Panini\ General000*tif 2>stderr
    michael at joyola:/mnt/photos/2023/20231007$ echo $?
    1
    michael at joyola:/mnt/photos/2023/20231007$ cat stderr
    enblend: info: loading next image: pa073123-pa073129-Panini General0000.tif 1/1
    enblend: info: loading next image: pa073123-pa073129-Panini General0001.tif 1/1

    enblend: excessive image overlap detected; too high risk of defective seam line
    enblend: note: remove at least one of the images
    enblend: info: remove invalid output image "pa073123-pa073129-Panini General.tif"

Okay, so I just need to remove one or more images (like I had already
intended to but had forgotten to. :P)

Note that enblend sends nothing to stdout and all messages to stderr.

Thanks,

-- System Information:
Debian Release: 12.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'stable'), (500, 'oldstable'), (490, 'testing'), (400, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-12-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hugin depends on:
ii  enblend                 4.2-10+b1
ii  enfuse                  4.2-10+b1
ii  hugin-tools             2023.0~beta1+dfsg-1
ii  libc6                   2.36-9+deb12u3
ii  libepoxy0               1.5.10-1
ii  libexiv2-27             0.27.6-1
ii  libfftw3-double3        3.3.10-1
ii  libgcc-s1               12.2.0-14
ii  libglu1-mesa [libglu1]  9.0.2-1.1
ii  libglx0                 1.6.0-1
ii  libgomp1                12.2.0-14
ii  libimage-exiftool-perl  12.57+dfsg-1
ii  liblcms2-2              2.14-2
ii  libopengl0              1.6.0-1
ii  libpano13-3             2.9.21+dfsg-3
ii  libsqlite3-0            3.40.1-2
ii  libstdc++6              13.2.0-4
ii  libtiff6                4.5.0-6
ii  libvigraimpex11         1.11.1+dfsg-11
ii  libwxbase3.2-1          3.2.2+dfsg-2
ii  libwxgtk-gl3.2-1        3.2.2+dfsg-2
ii  libwxgtk3.2-1           3.2.2+dfsg-2
ii  make                    4.3-4.1

hugin recommends no packages.

Versions of packages hugin suggests:
ii  darktable    4.2.1-4
ii  dcraw        9.28-3+b1
ii  rawtherapee  5.9-1+b1

-- no debconf information

-MD

-- 
-----------------------------------------------------------------------------
Michael Deegan               Hugaholic              https://www.deegan.id.au/
------------------------  Jung, zr jbeel?  ----------------------------------
-------------- next part --------------
============================================
Stitching panorama...
============================================

Platform: Linux 6.1.0-12-amd64 x86_64
Version: 2023.0.0.de090f232982
Working directory: /mnt/photos/2023/20231007
Output prefix: pa073123-pa073129-Panini General

Blender: enblend 4.2
ExifTool version: 12.57

Number of active images: 7
Output exposure value: 8.3
Canvas size: 4270x10836
ROI: (77, 1545) - (4185, 10831) 
FOV: 70x116
Projection: Panini General(19)
Using GPU for remapping: true

Panorama Outputs:
* Exposure corrected, low dynamic range

Remapped Images:
* Exposure corrected, low dynamic range

First input image
Number: 0
Filename: /mnt/photos/2023/20231007/pa073123.jpg
Size: 4608x3456
Projection: Normal (rectilinear)
Response type: custom (EMoR)
HFOV: 68
Exposure value: 8.3


Remapping LDR images...
Blending images...

Process took 1: 8 min


More information about the Pkg-phototools-devel mailing list