Public bug reported: evince does successfully display a ps document, but when attempting to print or preview (whether to a file or printer) fails, with either a blank page (for print) or blank window (for preview) produced, and some error output at the terminal. Any ps document (text or graphical) has this failure. A PDF document succeeds in the print preview, but with the same warning (see below examples) so the warning may not be important. qpdfviewer does successfully print the ps file, so not a hardware issue.
User logged in using xorg. $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy $ evince --version GNOME Document Viewer 42.3 $ ghostscript --version 9.55.0 Screen display works for ps files, but a warning and error are produced when attempting to print or preview a postscript file (see below). The same warning is produced for print/preview of a pdf file, but the preview succeeds. A comment was added to launchpad bug 1978838 which had this same warning when launching evince. evince does not crash, the display of the file is not affected when the print/preview fails. ===ps preview/print fails when preview button is pushed === $ evince ./parallel/mpi/mpich-1.2.0/doc/install.ps GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1 (libspectre) ghostscript reports: fatal internal error -100 (evince-previewer:3039): dbind-WARNING **: 14:04:36.390: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus_1: Permission denied === PDF preview succeeded even with the warning === $ evince ./patches/bdp1600/Upgrade_Guide_USB.pdf (evince-previewer:5688): dbind-WARNING **: 14:46:13.409: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus_1: Permission denied ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: evince 42.3-0ubuntu2 ProcVersionSignature: Ubuntu 5.15.0-56.62-generic 5.15.64 Uname: Linux 5.15.0-56-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu82.3 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Wed Dec 21 15:12:58 2022 InstallationDate: Installed on 2022-06-10 (194 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419) SourcePackage: evince UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: evince (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug jammy -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/2000275 Title: evince neither prints nor previews postscript documents To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/2000275/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs