Null count for "Tag 50341" (type 7, writecount -3, passcount 1) (in module "_TIFFVsetField")

Bug #1635992 reported by Yuv
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Won't Fix
Undecided
Unassigned

Bug Description

Hugin 2016.2.0.be8da0221960 from PPA on Xubuntu 16.04
Trying to stitch a couple of TIFFs created with Darktable
The following error keeps popping up:
  Null count for "Tag 50341" (type 7, writecount -3, passcount 1) (in module "_TIFFVsetField")
Hugin does its work, but clicking away the multiple error message (for each image, and it seems to come up every time the image is displayed) is a painful papercut

Revision history for this message
tmodes (tmodes) wrote :

All TIFF warning are disabled in Hugin: in huginapp.cpp:

    // suppress tiff warnings
    TIFFSetWarningHandler(0);

Can you provide a small test image which shows the message?

Changed in hugin:
status: New → Incomplete
Revision history for this message
Yuv (yuv) wrote :

Test Case attached as requested

Changed in hugin:
status: Incomplete → New
Revision history for this message
tmodes (tmodes) wrote :

I can't reproduce the issue (Windows, Fedora and Ubuntu tested).
When loading the files in Hugin no warning pop up. The cli tools issue the warning on cout/cerr, but no popup.
So without more information why the popup comes only on your side I can't debug it further.

PS: The cause of the warning should be fixed in darktable (libtiff and exiftool bring the same warning about the wrong metadata).

Revision history for this message
Stefan Peter (s-peter-deactivatedaccount) wrote :

Hi Yuv

I can not reproduce this on Ubuntu Xenial and Hugin 2016.2.0.be8da0221960 either. However, the images in your testcase are awfully small, maybe the tiff format problem has been stripped away by reducing their size?

With kind regards

Stefan Peter

Revision history for this message
Yuv (yuv) wrote :

@Thomas: I agree the cause of the warning should be fixed upstream. I am not sure if the bug is in their tracker at https://redmine.darktable.org/projects/darktable/issues?page=2&query_id=1 and I am also not yet registered there.

@Stefan: I downsized the images on request by Thomas in comment #1. Before posting them, I tested/reproduced the bug. It is possible that my memory betrayed me and that the warnings I have seen on the two resized images set are not the same as the warnings that I have seen on the six full size images. If you want two full size images, I can try to find a place where to upload a 60MB zip file. However, I do not think it will make a difference: both sets of images were created by Darktable directly and the relevant metadata are identical. Thomas has identified the issue. Why the warning appears on my *X*ubntu 16.04 (which is the result of an upgrade from 14.04 that goes back to an upgrade from 12.04, is a mystery. When I have time I will try on a fresh install of *X*ubuntu 16.04 and report back, although at this point I think this bug can be left as a FYI if somebody finds the same behaviour. A best use of feedback-time is to feed this bug back upstream to Darktable. Maybe next weekend, no time now and the workload for the week is heavy.

Revision history for this message
tmodes (tmodes) wrote :

Closing here because it can't be reproduced (and all TIFF warnings are deactivated).
Reopening it when you have more information.

Changed in hugin:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.