Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] viewer for "ps" postscript files
Date: Fri, 24 Dec 2021 02:58:27
Message-Id: 86f9b544-0832-17cc-568f-3f865c8cd70e@sys-concept.com
In Reply to: Re: [gentoo-user] viewer for "ps" postscript files by thelma@sys-concept.com
1 On 12/23/21 19:36, thelma@×××××××××××.com wrote:
2 [snip]
3 >
4 > I deleted the that file: /run/user/1000/dconf/user (owned as root) it was empty anyhow.
5 > Logout / Login and system recreated that file with my home user name.
6 >
7 > But I still can not open "ps" file with evince. I'm getting an error message:
8 >
9 > evince W-9\ Form.ps
10 >
11 > (evince:19345): GLib-GObject-WARNING **: 19:26:40.904: invalid cast from 'GtkFileChooserNative' to 'GtkWidget'
12 >
13 > Worth to note that I just upgraded my system.
14 >
15
16 Solved:
17 The new 'evince' package was installed without "postscript" support, enable it solved the problem with evince but hylafax viewer "YajHFC" still has a problem viewing PS files.
18 Before upgrade I was able to view PS files with evince.
19
20 Now I'm getting strange output:
21
22 yajhfc.file.FileConverter$ConversionException: Non-zero exit code of GhostScript (1):
23 Error: /undefined in .setpdfwrite
24 Operand stack:
25
26 Execution stack:
27 %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
28 Dictionary stack:
29 --dict:776/1123(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)--
30 Current allocation mode is local
31 GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
32
33 at yajhfc.file.GhostScriptMultiFileConverter.convertMultiplePSorPDFFiles(GhostScriptMultiFileConverter.java:101)
34 at yajhfc.file.MultiFileConverter.convertMultipleFiles(MultiFileConverter.java:144)
35 at yajhfc.file.MultiFileConverter.convertMultipleFilesToSingleFile(MultiFileConverter.java:206)
36 at yajhfc.file.MultiFileConverter.viewMultipleFiles(MultiFileConverter.java:181)
37 at yajhfc.MainWin$ShowWorker.doWork(MainWin.java:498)
38 at yajhfc.util.ProgressWorker.run(ProgressWorker.java:189)
39
40
41 YajHFC 0.6.1
42 Java 1.8.0_312 (Temurin)
43 OpenJDK Runtime Environment 1.8.0_312-b07
44 OpenJDK 64-Bit Server VM
45 Linux 5.10.61-gentoo (amd64)