After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 764740 - Most warnings are useless without a file name
Most warnings are useless without a file name
Status: RESOLVED NOTGNOME
Product: tracker
Classification: Core
Component: Extractor
1.8.x
Other All
: Normal normal
: ---
Assigned To: tracker-extractor
tracker-extractor
Depends on:
Blocks:
 
 
Reported: 2016-04-07 16:02 UTC by Christian Stadelmann
Modified: 2016-05-06 10:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Stadelmann 2016-04-07 16:02:32 UTC
When tracker-extract is running, it prints hundreds of warnings to syslog. Some of these warnings include:

Duplicate property or field node

XML parsing failure

libpng error: Not a PNG file

Not a JPEG file: starts with 0x3c 0x21

libpng warning: iCCP: known incorrect sRGB profile

libpng error: IDAT: CRC error

libpng warning: cHRM: inconsistent chromaticities

GIF-LIB error: Image EOF detected, before image complete.


These warnings are pretty useless without printing a filename (path). It would be useful to either not log these warnings at all or to add a path to the syslog output.
Comment 1 Carlos Garnacho 2016-05-06 10:14:45 UTC
Those specific errors are all from underlying libraries (libxml, libpng, libjpeg, ...), not much we can do about these...

What we do though is warning if no module was able to get information for a given file:
https://git.gnome.org/browse/tracker/tree/src/tracker-extract/tracker-extract.c#n623

Which of course won't help if those warnings don't turn out fatal in those libraries.