from last update of ghostscript, ghostscript-x11 and ghostscript-devel with automatic online-update no .ps-file is displayed when clicked in the dolphin file manager, which is using okular for the display of images. Only a small symbol is shown in the upper left corner. Printing of the files is possible and thumbnails are shown correctly. With other software as kghostview, ghostview etc. the .ps-files are displayed.
So will you tell us which versions of ghostscript, ghostscript-x11 and ghostscript-devel are you using or do we have to guess what "the last update" means?
Thank you very much for answering so fast!! sorry not to tell the version number, it is 9.15-6.1 'last update': In SUSE 13.2 an icon pops up whenever something needs updating and a list of necessary items is listet. In each case I have pressed the 'install'-button. So I did Saturday Okt. 29. In all former cases all was good, but not now with ghostscript, ghostscript-x11, ghostscript-devel update. sincerely Franz Agerer Am 31.10.2016 um 12:19 schrieb Albert Astals Cid: > https://bugs.kde.org/show_bug.cgi?id=371887 > > Albert Astals Cid <aacid@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Resolution|--- |WAITINGFORINFO > CC| |aacid@kde.org > Status|UNCONFIRMED |NEEDSINFO > > --- Comment #1 from Albert Astals Cid <aacid@kde.org> --- > So will you tell us which versions of ghostscript, ghostscript-x11 and > ghostscript-devel are you using or do we have to guess what "the last update" > means? >
And what was the version that worked?
Sorry, I have no idea where to find the version number of the former ghostscript. The old version is overwritten by the updated one. I have never downloaded any version. It was installed by yast as part of the installed software of openSUSE 13.2. May be, the original version of the DVD was one or several times updated by the automatic online updater. I can only say, all former version worked. sincerely Franz Agerer Am 31.10.2016 um 16:47 schrieb Albert Astals Cid: > https://bugs.kde.org/show_bug.cgi?id=371887 > > --- Comment #3 from Albert Astals Cid <aacid@kde.org> --- > And what was the version that worked? >
Albert asked me to have a look at this since it seems to be an openSUSE issue. I had a look and it seems to be a problem with a security patch introduced in that update. I created an issue in openSUSE's bugzilla at https://bugzilla.opensuse.org/show_bug.cgi?id=1007816 . Franz, if this is an urgent problem for you, I mentioned a temporary workaround in that bugzilla entry.
Antonio, no, it is not very urgent for me, for I use intermediately KGhostView, but I would really like to return to okular for viewing my files. sincerely Franz Agerer Am 31.10.2016 um 19:04 schrieb Antonio Larrosa: > https://bugs.kde.org/show_bug.cgi?id=371887 > > Antonio Larrosa <larrosa@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |larrosa@kde.org > > --- Comment #5 from Antonio Larrosa <larrosa@kde.org> --- > Albert asked me to have a look at this since it seems to be an openSUSE issue. > I had a look and it seems to be a problem with a security patch introduced in > that update. I created an issue in openSUSE's bugzilla at > https://bugzilla.opensuse.org/show_bug.cgi?id=1007816 . Franz, if this is an > urgent problem for you, I mentioned a temporary workaround in that bugzilla > entry. >
You can easily fix it yourself though until an update is released: Open the file /usr/share/ghostscript/9.15/Resource/Init/gs_init.ps in a text editor (as root), and change line#2024 to: systemdict /getenv {pop //false} .forceput (i.e. replace "put" with ".forceput") That's the upstream fix for this problem btw: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=99e331527d541a8f01ad5455c4eb2aabd67281a6;hp=0d4644c003067fc14ca1db9c600dce420c06e6b1
Thank you very much// Vielen herzlichen Dank it works // es funktioniert! Franz Agerer Am 31.10.2016 um 19:41 schrieb Wolfgang Bauer: > https://bugs.kde.org/show_bug.cgi?id=371887 > > Wolfgang Bauer <wbauer@tmo.at> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |wbauer@tmo.at > > --- Comment #7 from Wolfgang Bauer <wbauer@tmo.at> --- > You can easily fix it yourself though until an update is released: > Open the file /usr/share/ghostscript/9.15/Resource/Init/gs_init.ps in a text > editor (as root), and change line#2024 to: > systemdict /getenv {pop //false} .forceput > (i.e. replace "put" with ".forceput") > > That's the upstream fix for this problem btw: > http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=99e331527d541a8f01ad5455c4eb2aabd67281a6;hp=0d4644c003067fc14ca1db9c600dce420c06e6b1 >
Ok, let's close this as downstream then, as it was introduced by a security update in openSUSE. Though it actually was an upstream problem in ghostscript too... ;-)
*** Bug 377120 has been marked as a duplicate of this bug. ***