[Bug 907833] New: Evince/Okular (anything using Ghostscript) cannot show eps, ps files
http://bugzilla.opensuse.org/show_bug.cgi?id=907833 Bug ID: 907833 Summary: Evince/Okular (anything using Ghostscript) cannot show eps, ps files Classification: openSUSE Product: openSUSE 13.1 Version: Final Hardware: x86-64 OS: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Printing Assignee: jsmeix@suse.com Reporter: robin.roth@kit.edu QA Contact: jsmeix@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 Build Identifier: With ghostscript 9.07 I cann't open .ps and .eps files in evince. The error in the terminal is "undefined -21". Also okular ang geeqie don't work. Reproducible: Always Steps to Reproduce: 1. Install openSUSE 13.1 with all current updates 2. try to open a .ps/.eps file. A broken example is: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1159931/+attachment/35... Actual Results: Viewer fails. Symptom depends on the viewer: Evince: undefined -21 Okular: okular(14829)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [736x952] QImage::scaled: Image is a null image undefined -21 Expected Results: Viewer shows .ps/.eps This bug appears to be related to what is reported and fixed at: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1159931 and http://bugs.ghostscript.com/show_bug.cgi?id=693843 The workaround using LANG does not fix the bug here. At least for me, upgrading to ghostscript 9.15 helps. Because viewing .ps files is one of the main features of evince/... I'd suggest an upgrade of ghostscript in openSUSE 13.1. As far as their changelog shows, there are no backwardincompatibilities reported between 9.07 and 9.15 and regarding dependencies only the core ghostscript packages are affected: cups-filters-ghostscript, ghostscript, ghostscript-x11 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=907833 Robin Roth <robin.roth@kit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robin.roth@kit.edu -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=907833 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Johannes Meixner <jsmeix@suse.com> --- There are backward incompatible changes between 9.07 and 9.15, see the openSUSE ghostscript RPM package changelog: -------------------------------------------------------------------------- $ osc cat Printing ghostscript ghostscript.changes ... - Version upgrade to 9.10. ... * The CUPS filters gstoraster and gstopxl have been removed from Ghostscript. Those filters are now provided by cups-filters (a free software package hosted by OpenPrinting) that contains all CUPS filters needed by CUPS under Linux (see also the openSUSE issue bnc#735404 comment#44 at https://bugzilla.novell.com/show_bug.cgi?id=735404#c44). -------------------------------------------------------------------------- See also https://bugzilla.opensuse.org/show_bug.cgi?id=859554#c1 For me Ghostscript 9.07 works to show try.ps regardless of the locale: ------------------------------------------------------------------------- $ export LC_ALL=C ; export LANG=C $ gs -r75 /tmp/try.ps GPL Ghostscript 9.07 (2013-02-14) ...
showpage, press <return> to continue<< GS>quit
$ export LC_ALL=de_DE ; export LANG=de_DE $ gs -r75 /tmp/try.ps GPL Ghostscript 9.07 (2013-02-14) ...
showpage, press <return> to continue<< GS>quit
$ export LC_ALL=en_US ; export LANG=en_US $ gs -r75 /tmp/try.ps GPL Ghostscript 9.07 (2013-02-14) ...
showpage, press <return> to continue<< GS>quit
In all three cases it shows the content of try.ps in a separated window. But evince fails to show try.ps when a locale is used where the decimal mark is a comma ',': -------------------------------------------------------------------------- $ export LC_ALL=C ; export LANG=C $ evince /tmp/try.ps [works o.k.] $ export LC_ALL=de_DE ; export LANG=de_DE $ evince /tmp/try.ps undefined -21 ... EvinceDocument-CRITICAL ... failed $ export LC_ALL=en_US ; export LANG=en_US $ evince /tmp/try.ps [works o.k] -------------------------------------------------------------------------- This shows that evince somehow uses Ghostscript in a special way (perhaps indirectly via lipspectre) that triggers the issue because Ghostscript itself can show try.ps in any casae. I cannot reproduce that evince fails to show try.ps when a locale is used where the decimal mark is '.' I.e. for me the workaround using a locale where the decimal mark is '.' works. As far as I can reproduce it it is exactly http://bugs.ghostscript.com/show_bug.cgi?id=693843 *** This bug has been marked as a duplicate of bug 859554 *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=907833 --- Comment #2 from Johannes Meixner <jsmeix@suse.com> --- Correction of some typos in comment#1: This shows that evince somehow uses Ghostscript in a special way (perhaps indirectly via libspectre) that triggers the issue because Ghostscript itself can show try.ps in any case. I cannot reproduce that evince fails to show try.ps when a locale is used where the decimal mark is a comma ',' -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=907833 --- Comment #3 from Robin Roth <robin.roth@kit.edu> --- OK, also setting LC_ALL now fixes the workaround for me. Before I only used LANG which is not sufficient. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com