Description of problem: As summary It works fine in Mga7 and was working until recently in Cauldron. [baz@jackodesktop ~]$ okular a_image.ps **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [1175x1591] QImage::scaled: Image is a null image **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [1158x1568] QImage::scaled: Image is a null image **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [48x65] QImage::scaled: Image is a null image **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [1158x1568] QImage::scaled: Image is a null image **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [1158x1568] QImage::scaled: Image is a null image **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [1158x1568] QImage::scaled: Image is a null image **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [1158x1568] QImage::scaled: Image is a null image **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [1158x1568] QImage::scaled: Image is a null image **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [1158x1568] QImage::scaled: Image is a null image **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [1158x1568] QImage::scaled: Image is a null image **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [1158x1568] QImage::scaled: Image is a null image **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [1158x1568] QImage::scaled: Image is a null image **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100org.kde.okular.generators.spectre: Generated image does not match wanted size: [0x0] vs requested [1158x1568] QImage::scaled: Image is a null image Version-Release number of selected component (if applicable): okular-20.08.1-1 Oddly evince is also supposed to open .ps but it is not working in Mga7 or Cauldron either. I am assured that it works fine in Debian. Looking at the evince spec we do have the configure for ps enabled. Maybe we need another report for evince although it seems the two are linked by ghostscript: [baz@jackodesktop ~]$ evince a_image.ps **** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100**** Unable to open the initial device, quitting. (libspectre) ghostscript reports: fatal internal error -100 How reproducible: Steps to Reproduce: 1. wget https://www-eng-x.llnl.gov/documents/a_image.ps 2. try to open "a_image.ps" with okular. 3.
$ gs a_image.ps File opens and displays fine. Am seeing the same results as you, Barry, when trying Okular and Evince. At the moment, I believe it isn't really a problem with Ghostscript. Can't be sure, but it's my gut feeling. Something else is missing and/or happening here. There is no mention on the Ghostscript bugzilla page on either of the error messages I saw. https://bugs.ghostscript.com/describecomponents.cgi?product=Ghostscript On the other hand, both Okular and Evince can't be doing the same mistake. Am at a loss here and would love some input/advice/help.
CC: (none) => smelror
The culprit is libspectre. I've pushed a new build against the new version of Ghostscript after I had verified that it worked locally. Please confirm once the new build has hit the mirrors. Cheers, Stig
Assignee: bugsquad => smelror
Thanks Stig, Yes I can confirm that this has fixed both okular and evince in Cauldron. Nice work. :) Evince was not working in Mga7, however okular was so I will double check that. Could be a different issue.
Yes evince is broken in Mga7 but from the terminal output it is not related to this, so it requires a new bug report. So closing this as resolved, thanks!
Status: NEW => RESOLVEDResolution: (none) => FIXED