[Bug 859554] New: ghostscript .ps viewing broken - also breaks okular etc.
https://bugzilla.novell.com/show_bug.cgi?id=859554 https://bugzilla.novell.com/show_bug.cgi?id=859554#c0 Summary: ghostscript .ps viewing broken - also breaks okular etc. Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: jsmeix@suse.com ReportedBy: suse-beta@cboltz.de QAContact: qa-bugs@suse.de Found By: Beta-Customer Blocker: --- Okular (and probably other document viewers) in 13.1 can't display *.ps files when the locale is for example german. This is caused by the ghostscript bug http://bugs.ghostscript.com/show_bug.cgi?id=693843 "libgs/gsapi fails to render some files when on a locale that uses , instead of . as separator" Workaround: LANG=C okular foo.ps Please consider to release a fixed ghostscript as update. (Credits go to Karl Weber, who reported this on opensuse-de including the link to the ghostscript bugtracker.) On the positive side - we are not alone ;-) See also https://bugs.archlinux.org/task/35139 https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1159931 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859554 https://bugzilla.novell.com/show_bug.cgi?id=859554#c1 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Platform|Other |All InfoProvider| |suse-beta@cboltz.de Summary|ghostscript .ps viewing |ghostscript .ps viewing |broken - also breaks okular |broken in locale that uses |etc. |',' instead of '.' - also | |breaks okular etc. --- Comment #1 from Johannes Meixner <jsmeix@suse.com> 2014-01-21 11:47:34 CET --- When you have a look at the upstream Git commit that fixes it http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e64ac4c8 there have been 164 files changed to fix it plus many new files that provide the "trio" string library. The issue is fixed in the current ghostscript version 9.10 that is available from the OBS "Printing" project for various openSUSE and SLE versions. Note that the current ghostscript version 9.10 has in particular those backward incompatible change: * 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). For printing to non-PostScript printers one needs usually gstoraster which means since ghostscript version 9.10 one needs usually cups-filters. But cups-filters as a whole is incompatible with CUPS < 1.6 (in particular incompatible with CUPS 1.5.4 in openSUSE because cups-filters provides duplicate files of CUPS 1.5.4) which means for using ghostscript version 9.10 one needs only the sub-package cups-filters-ghostscript which is available from the OBS "Printing" project only for openSUSE >= 12.2. Christian Boltz, I assume you are a venturous openSUSE user who likes to try out if ghostscript version 9.10 plus cups-filters-ghostscript from the OBS "Printing" project work for your openSUSE 13.1 system. If yes, please report whether or not ghostscript version 9.10 fixes this issue here and whether or not printing on your printer (which printer model do you use?) still works after upgrading to ghostscript version 9.10 plus cups-filters-ghostscript. Many thanks in advance for your testing! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859554 https://bugzilla.novell.com/show_bug.cgi?id=859554#c2 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |u.michel@t-online.de --- Comment #2 from Johannes Meixner <jsmeix@suse.com> 2014-01-21 12:32:27 CET --- *** Bug 859356 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=859356 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859554 https://bugzilla.novell.com/show_bug.cgi?id=859554#c3 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wbauer@tmo.at --- Comment #3 from Wolfgang Bauer <wbauer@tmo.at> 2014-01-21 13:19:32 UTC --- I had the same issue on my german 13.1 system. I installed the following packages from the Printing repo: ghostscript-9.10-45.4.x86_64 ghostscript-x11-9.10-45.4.x86_64 cups-filters-ghostscript-1.0.40-5.1.x86_64 Now Okular displays ps files and the Print Preview works again. Printing to my non-Postscript printer (Brother HL-2030) still works as well, with the standard cups included in 13.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859554 https://bugzilla.novell.com/show_bug.cgi?id=859554#c4 --- Comment #4 from Johannes Meixner <jsmeix@suse.com> 2014-01-21 15:39:34 CET --- FYI: After installing the binary RPMs ghostscript, ghostscript-x11, and cups-filters-ghostscript from the OBS "Printing" project, it may be required to restart the cupsd (e.g. "systemctl restart cups.service" or whatever you use on your particular system - cf. cups.socket/cups.path). gstoraster is a filter to convert PostScript and PDF to CUPS raster data by using the Ghostscript driver "cups". gstoraster is usually needed by the following printer drivers: - HPCUPS: the native CUPS driver from HPLIP for HP printers - gutenprint: the driver in the gutenprint RPM for various models gstoraster is usually not needed by printer drivers like - HPIJS: an external Ghostscript driver from HPLIP for HP printers - Ghostscript built-in drivers except "cups": e.g. ljet4 (see "gs -h") When you set "LogLevel debug" in /etc/cups/cupsd.conf and restart the cupsd afterwards, you can use something like "grep PID /var/log/cups/error_log" to see what filters are called by the cupsd to process your particular print jobs with your particular printer driver for your particular printer model. For example for my HP LaserJet 1220 PostScript/PCL5e printer I get: For the HPCUPS driver: Started filter /usr/lib/cups/filter/pstops (PID 29777) Started filter /usr/lib/cups/filter/gstoraster (PID 29778) Started filter /usr/lib/cups/filter/hpcups (PID 29779) For the gutenprint driver: Started filter /usr/lib/cups/filter/pstops (PID 29754) Started filter /usr/lib/cups/filter/gstoraster (PID 29755) Started filter /usr/lib/cups/filter/rastertogutenprint.5.2 (PID 29756) For the external Ghostscript driver HPIJS (/usr/bin/hpijs is run by Ghostscript that is run by foomatic-rip): Started filter /usr/lib/cups/filter/pstops (PID 8640) Started filter /usr/lib/cups/filter/foomatic-rip (PID 8641) For the Ghostscript driver ljet4 (Ghostscript is run by foomatic-rip): Started filter /usr/lib/cups/filter/pstops (PID 13988) Started filter /usr/lib/cups/filter/foomatic-rip (PID 13989) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859554 https://bugzilla.novell.com/show_bug.cgi?id=859554#c5 --- Comment #5 from Wolfgang Bauer <wbauer@tmo.at> 2014-01-21 16:16:42 UTC --- (In reply to comment #4)
FYI:
After installing the binary RPMs ghostscript, ghostscript-x11, and cups-filters-ghostscript from the OBS "Printing" project, it may be required to restart the cupsd (e.g. "systemctl restart cups.service" or whatever you use on your particular system - cf. cups.socket/cups.path).
I rebooted my system after installing the packages to be sure. But I used the "Brother HL-2030 Foomatic/hl1250" driver. According to the cups log this uses foomatic-rip. Sorry about that. I tried again with the gutenprint driver ("Brother HL-2030 - CUPS+Gutenprint v5.2.9"), and printing DOES NOT work (the log confirms that gstoraster is run now). It finishes and I don't see any errors in the log, but the printer just does not print anything. But it's the same with ghostscript 9.0.7 from openSUSE 13.1 (and cups-filters-ghostscript uninstalled). So I cannot really say anything about cups-filters-ghostscript, sorry. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859554 https://bugzilla.novell.com/show_bug.cgi?id=859554#c6 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|suse-beta@cboltz.de | --- Comment #6 from Christian Boltz <suse-beta@cboltz.de> 2014-01-21 21:52:32 CET --- My printer speaks postscript (Oki C530dn), which means I don't need any of the gsto* filters. Additionally, my system is in a not-too-supported state (Factory last updated one or two months ago, so installing a package compiled for "fresh" factory isn't the best idea ;-) Anyway, you already got some testing from Wolfgang ;-) The more interesting question is how many regressions you'll introduce by upgrading. IMHO backporting the upstream patch would be the better solution for 13.1. I know it's a quite big patch, but compared to the version update it's still small ;-) (Needless to say: For factory, upgrading to ghostscript 9.10 is the way to go.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com