bugGNU gv - Bugs: bug #23199, No error message for errors in...


You are not allowed to post comments on this tracker with your current authentication level.

bug #23199: No error message for errors in opened file

Submitted by:  Sebastian Leske <sleske>
Submitted on:  Wed 07 May 2008 10:29:53 PM UTC  
Category: Graphical User interfaceSeverity: 2 - Minor
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Markus Steinborn <msteinbo>
Open/Closed: ClosedRelease: 3.6.3

Thu 22 May 2008 07:23:27 AM UTC, comment #2:

Thank you fot the bug report, Sebastian.

I have reverted the patch for #19632, so this shoueld work again. The fix will be included in the next GNU gv release.

Markus Steinborn <msteinbo>
Project AdministratorIn charge of this item.
Wed 21 May 2008 07:38:43 PM UTC, comment #1:

Hi Sebastian,

you're right, it is not fine that error messages are supressed.
The problem is: How to differentiate betwenn warnings and errors?
Any suggestions?

Markus Steinborn <msteinbo>
Project AdministratorIn charge of this item.
Wed 07 May 2008 10:29:53 PM UTC, original submission:

If I open a file with gv (as a command line argument, or opened via File menu), there is no error message if gs cannot render the file. Instead, gv simply shows an empty page.

To test:

gv /bin/ls


Some sort of error message that /bin/ls is not a valid Postscript file.

Actual behavior:

gv shows an empty page.

This can be rather confusing, as an invalid PS file is not the same as an empty one.


Old versions of gv used to display an error message in this case.
This was apparently changed by the patch for #19632, "quiet and .gv watch settings are not respected".

This patch seems to suppress all popup messages if option -quiet is set, even error messages from gs. This seems incorrect to me, as the manpage only says that -quiet causes gs to be called with -dQUIET. It says nothing about suppressing all error messages.

If gv is called with -noquiet, opening an invalid file causes an error popup, as expected. However, -quiet seems to be the default for gv, hence the observed behaviour.

Sebastian Leske <sleske>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by msteinbo (Posted a comment)
  • -unavailable- added by sleske (Submitted the item)
  • -unavailable- added by sleske

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 31 May 2008 05:26:41 PM UTCmsteinboStatusReady For Test=>Fixed
    Thu 22 May 2008 07:23:27 AM UTCmsteinboStatusNone=>Ready For Test
    Wed 21 May 2008 07:41:46 PM UTCmsteinboSeverity3 - Normal=>2 - Minor
    Wed 21 May 2008 07:38:43 PM UTCmsteinboAssigned toNone=>msteinbo
    Wed 07 May 2008 10:29:53 PM UTCsleskeCarbon-Copy-=>Added sleske

    Back to the top

    Powered by Savane 3.1-cleanup1