← Back to team overview

desktop-packages team mailing list archive

[Bug 1398251] [NEW] Options "-q" and "-Qm" not making quiet

 

Public bug reported:

The option "-q" and "-Qm" should both suppress error messages.

Both do not prevent the message "No Exif data found in the file", which 
is shown on stderr when there are no such data:

$ exiv2 -Qm pr test.jpg
File name       : test.jpg
File size       : 241565 Bytes
MIME type       : image/jpeg
Image size      : 2338 x 1654
test.jpg: No Exif data found in the file

(Same result for "exiv2 -q pr test.jpg")

Option "-q" is described as "Silence  warnings  and  error messages from the Exiv2 library...". 
Even though it's not obvious whether the message above is strictly from the library or from 
the "exiv2" tool using the library, the description makes me expect the message would be suppressed.
Option "-Qm" is setting the log level (of the tool, I suppose) to "mute" - which should clearly 
suppress the message. 
Also, the description notes "-Qm is equivalent to -q" - implying that "-q" should also mute.

** Affects: exiv2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to exiv2 in Ubuntu.
https://bugs.launchpad.net/bugs/1398251

Title:
  Options "-q" and "-Qm" not making quiet

Status in exiv2 package in Ubuntu:
  New

Bug description:
  The option "-q" and "-Qm" should both suppress error messages.

  Both do not prevent the message "No Exif data found in the file", which 
  is shown on stderr when there are no such data:

  $ exiv2 -Qm pr test.jpg
  File name       : test.jpg
  File size       : 241565 Bytes
  MIME type       : image/jpeg
  Image size      : 2338 x 1654
  test.jpg: No Exif data found in the file

  (Same result for "exiv2 -q pr test.jpg")

  Option "-q" is described as "Silence  warnings  and  error messages from the Exiv2 library...". 
  Even though it's not obvious whether the message above is strictly from the library or from 
  the "exiv2" tool using the library, the description makes me expect the message would be suppressed.
  Option "-Qm" is setting the log level (of the tool, I suppose) to "mute" - which should clearly 
  suppress the message. 
  Also, the description notes "-Qm is equivalent to -q" - implying that "-q" should also mute.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/exiv2/+bug/1398251/+subscriptions


Follow ups

References