* [gentoo-user] viewer for "ps" postscript files
@ 2021-12-23 20:57 thelma
2021-12-23 22:51 ` Spackman, Chris
0 siblings, 1 reply; 10+ messages in thread
From: thelma @ 2021-12-23 20:57 UTC (permalink / raw
To: Gentoo mailing list
I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
When I try to view a postsript file from command line: gs W-9_Form.ps
It works OK, but when I try to open same file in Xfce desktop it opens and closes instantly.
I use hylafax + YajHFC
and when I try to open some files I get an error:
yajhfc.file.FileConverter$ConversionException: Non-zero exit code of GhostScript (1):
Error: /undefined in .setpdfwrite
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:776/1123(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)--
Current allocation mode is local
GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
at yajhfc.file.GhostScriptMultiFileConverter.convertMultiplePSorPDFFiles(GhostScriptMultiFileConverter.java:101)
at yajhfc.file.MultiFileConverter.convertMultipleFiles(MultiFileConverter.java:144)
at yajhfc.file.MultiFileConverter.convertMultipleFilesToSingleFile(MultiFileConverter.java:206)
at yajhfc.file.MultiFileConverter.viewMultipleFiles(MultiFileConverter.java:181)
at yajhfc.MainWin$ShowWorker.doWork(MainWin.java:498)
at yajhfc.util.ProgressWorker.run(ProgressWorker.java:189)
YajHFC 0.6.1
Java 1.8.0_312 (Temurin)
OpenJDK Runtime Environment 1.8.0_312-b07
OpenJDK 64-Bit Server VM
Linux 5.10.61-gentoo (amd64)
--
Thelma
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] viewer for "ps" postscript files
2021-12-23 20:57 [gentoo-user] viewer for "ps" postscript files thelma
@ 2021-12-23 22:51 ` Spackman, Chris
2021-12-23 23:52 ` thelma
0 siblings, 1 reply; 10+ messages in thread
From: Spackman, Chris @ 2021-12-23 22:51 UTC (permalink / raw
To: gentoo-user
On 2021/12/23 at 01:57pm, thelma@sys-concept.com wrote:
> I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
>
> When I try to view a postsript file from command line: gs W-9_Form.ps
> It works OK, but when I try to open same file in Xfce desktop it opens
> and closes instantly.
My guess would be that in XFCE, gs is successfully doing whatever
(showing, interpreting, ??) in a terminal window and then immediately
closing when done.
Have you tried a GUI such as Okular or Evince? They both support viewing
.ps files.
In Thunar, just right click on the file and choose "Open with >" and
either Okular or Evince if they are listed, or "Open with Other
Application ..." if they aren't. (But if they aren't listed, you might
have to install them, or a similar GUI viewer.)
> I use hylafax + YajHFC and when I try to open some files I get an error:
I honestly have no idea about hylafax and YajHFC. Unless there is more
here than just trying to view a .ps file (or you are working in a very
restricted environment), they are probably not the best tool.
--
Chris Spackman (he / him) chris@osugisakae.com
ESL Coordinator The Graham Family of Schools
ESL Educator Columbus State Community College
Japan Exchange and Teaching Program Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] viewer for "ps" postscript files
2021-12-23 22:51 ` Spackman, Chris
@ 2021-12-23 23:52 ` thelma
2021-12-24 0:19 ` Mark Knecht
0 siblings, 1 reply; 10+ messages in thread
From: thelma @ 2021-12-23 23:52 UTC (permalink / raw
To: gentoo-user
On 12/23/21 15:51, Spackman, Chris wrote:
> On 2021/12/23 at 01:57pm, thelma@sys-concept.com wrote:
>> I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
>>
>> When I try to view a postsript file from command line: gs W-9_Form.ps
>> It works OK, but when I try to open same file in Xfce desktop it opens
>> and closes instantly.
>
> My guess would be that in XFCE, gs is successfully doing whatever
> (showing, interpreting, ??) in a terminal window and then immediately
> closing when done.
>
> Have you tried a GUI such as Okular or Evince? They both support viewing
> .ps files.
>
> In Thunar, just right click on the file and choose "Open with >" and
> either Okular or Evince if they are listed, or "Open with Other
> Application ..." if they aren't. (But if they aren't listed, you might
> have to install them, or a similar GUI viewer.)
>
When I try to open "ps" file with evince I'm getting an error:
evince W-9\ Form.ps
(evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] viewer for "ps" postscript files
2021-12-23 23:52 ` thelma
@ 2021-12-24 0:19 ` Mark Knecht
2021-12-24 0:31 ` thelma
2021-12-24 0:40 ` thelma
0 siblings, 2 replies; 10+ messages in thread
From: Mark Knecht @ 2021-12-24 0:19 UTC (permalink / raw
To: Gentoo User
On Thu, Dec 23, 2021 at 4:53 PM <thelma@sys-concept.com> wrote:
>
> On 12/23/21 15:51, Spackman, Chris wrote:
> > On 2021/12/23 at 01:57pm, thelma@sys-concept.com wrote:
> >> I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
> >>
> >> When I try to view a postsript file from command line: gs W-9_Form.ps
> >> It works OK, but when I try to open same file in Xfce desktop it opens
> >> and closes instantly.
> >
> > My guess would be that in XFCE, gs is successfully doing whatever
> > (showing, interpreting, ??) in a terminal window and then immediately
> > closing when done.
> >
> > Have you tried a GUI such as Okular or Evince? They both support viewing
> > .ps files.
> >
> > In Thunar, just right click on the file and choose "Open with >" and
> > either Okular or Evince if they are listed, or "Open with Other
> > Application ..." if they aren't. (But if they aren't listed, you might
> > have to install them, or a similar GUI viewer.)
> >
>
> When I try to open "ps" file with evince I'm getting an error:
>
> evince W-9\ Form.ps
>
> (evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.
>
Have you Googled it? I think this error has been all over the place recently.
- Mark
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] viewer for "ps" postscript files
2021-12-24 0:19 ` Mark Knecht
@ 2021-12-24 0:31 ` thelma
2021-12-24 0:40 ` thelma
1 sibling, 0 replies; 10+ messages in thread
From: thelma @ 2021-12-24 0:31 UTC (permalink / raw
To: gentoo-user
Thelma
On 12/23/21 17:19, Mark Knecht wrote:
> On Thu, Dec 23, 2021 at 4:53 PM <thelma@sys-concept.com> wrote:
>>
>> On 12/23/21 15:51, Spackman, Chris wrote:
>>> On 2021/12/23 at 01:57pm, thelma@sys-concept.com wrote:
>>>> I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
>>>>
>>>> When I try to view a postsript file from command line: gs W-9_Form.ps
>>>> It works OK, but when I try to open same file in Xfce desktop it opens
>>>> and closes instantly.
>>>
>>> My guess would be that in XFCE, gs is successfully doing whatever
>>> (showing, interpreting, ??) in a terminal window and then immediately
>>> closing when done.
>>>
>>> Have you tried a GUI such as Okular or Evince? They both support viewing
>>> .ps files.
>>>
>>> In Thunar, just right click on the file and choose "Open with >" and
>>> either Okular or Evince if they are listed, or "Open with Other
>>> Application ..." if they aren't. (But if they aren't listed, you might
>>> have to install them, or a similar GUI viewer.)
>>>
>>
>> When I try to open "ps" file with evince I'm getting an error:
>>
>> evince W-9\ Form.ps
>>
>> (evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.
>>
>
> Have you Googled it? I think this error has been all over the place recently.
>
> - Mark
>
Yes, I did; but couldn't find a solution yet.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] viewer for "ps" postscript files
2021-12-24 0:19 ` Mark Knecht
2021-12-24 0:31 ` thelma
@ 2021-12-24 0:40 ` thelma
2021-12-24 0:54 ` eric
2021-12-24 0:57 ` Miles Malone
1 sibling, 2 replies; 10+ messages in thread
From: thelma @ 2021-12-24 0:40 UTC (permalink / raw
To: gentoo-user
On 12/23/21 17:19, Mark Knecht wrote:
> On Thu, Dec 23, 2021 at 4:53 PM <thelma@sys-concept.com> wrote:
>>
>> On 12/23/21 15:51, Spackman, Chris wrote:
>>> On 2021/12/23 at 01:57pm, thelma@sys-concept.com wrote:
>>>> I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
>>>>
>>>> When I try to view a postsript file from command line: gs W-9_Form.ps
>>>> It works OK, but when I try to open same file in Xfce desktop it opens
>>>> and closes instantly.
>>>
>>> My guess would be that in XFCE, gs is successfully doing whatever
>>> (showing, interpreting, ??) in a terminal window and then immediately
>>> closing when done.
>>>
>>> Have you tried a GUI such as Okular or Evince? They both support viewing
>>> .ps files.
>>>
>>> In Thunar, just right click on the file and choose "Open with >" and
>>> either Okular or Evince if they are listed, or "Open with Other
>>> Application ..." if they aren't. (But if they aren't listed, you might
>>> have to install them, or a similar GUI viewer.)
>>>
>>
>> When I try to open "ps" file with evince I'm getting an error:
>>
>> evince W-9\ Form.ps
>>
>> (evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.
>>
>
> Have you Googled it? I think this error has been all over the place recently.
>
> - Mark
>
Who suppose to be the owner of the file: /run/user/1000/dconf/user
-rw------- 1 root root 2 Dec 23 16:48 /run/user/1000/dconf/user
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] viewer for "ps" postscript files
2021-12-24 0:40 ` thelma
@ 2021-12-24 0:54 ` eric
2021-12-24 2:36 ` thelma
2021-12-24 0:57 ` Miles Malone
1 sibling, 1 reply; 10+ messages in thread
From: eric @ 2021-12-24 0:54 UTC (permalink / raw
To: gentoo-user
On 12/23/21 5:40 PM, thelma@sys-concept.com wrote:
> On 12/23/21 17:19, Mark Knecht wrote:
>> On Thu, Dec 23, 2021 at 4:53 PM <thelma@sys-concept.com> wrote:
>>>
>>> On 12/23/21 15:51, Spackman, Chris wrote:
>>>> On 2021/12/23 at 01:57pm, thelma@sys-concept.com wrote:
>>>>> I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
>>>>>
>>>>> When I try to view a postsript file from command line: gs W-9_Form.ps
>>>>> It works OK, but when I try to open same file in Xfce desktop it opens
>>>>> and closes instantly.
>>>>
>>>> My guess would be that in XFCE, gs is successfully doing whatever
>>>> (showing, interpreting, ??) in a terminal window and then immediately
>>>> closing when done.
>>>>
>>>> Have you tried a GUI such as Okular or Evince? They both support
>>>> viewing
>>>> .ps files.
>>>>
>>>> In Thunar, just right click on the file and choose "Open with >" and
>>>> either Okular or Evince if they are listed, or "Open with Other
>>>> Application ..." if they aren't. (But if they aren't listed, you might
>>>> have to install them, or a similar GUI viewer.)
>>>>
>>>
>>> When I try to open "ps" file with evince I'm getting an error:
>>>
>>> evince W-9\ Form.ps
>>>
>>> (evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file
>>> '/run/user/1000/dconf/user': Permission denied. dconf will not work
>>> properly.
>>>
>>
>> Have you Googled it? I think this error has been all over the place
>> recently.
>>
>> - Mark
>>
> Who suppose to be the owner of the file: /run/user/1000/dconf/user
>
> -rw------- 1 root root 2 Dec 23 16:48 /run/user/1000/dconf/user
>
>
Shouldn't the owner be who ever has the uid of 1000? That is how it is
on my system.
Regards,
Eric
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] viewer for "ps" postscript files
2021-12-24 0:40 ` thelma
2021-12-24 0:54 ` eric
@ 2021-12-24 0:57 ` Miles Malone
1 sibling, 0 replies; 10+ messages in thread
From: Miles Malone @ 2021-12-24 0:57 UTC (permalink / raw
To: gentoo-user
It shouldnt be root, should be your current user. Looks like you've
run a GUI program as root in your current session maybe, which has
created a root-owned dconf/user.
On Fri, 24 Dec 2021 at 10:40, <thelma@sys-concept.com> wrote:
>
> On 12/23/21 17:19, Mark Knecht wrote:
> > On Thu, Dec 23, 2021 at 4:53 PM <thelma@sys-concept.com> wrote:
> >>
> >> On 12/23/21 15:51, Spackman, Chris wrote:
> >>> On 2021/12/23 at 01:57pm, thelma@sys-concept.com wrote:
> >>>> I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
> >>>>
> >>>> When I try to view a postsript file from command line: gs W-9_Form.ps
> >>>> It works OK, but when I try to open same file in Xfce desktop it opens
> >>>> and closes instantly.
> >>>
> >>> My guess would be that in XFCE, gs is successfully doing whatever
> >>> (showing, interpreting, ??) in a terminal window and then immediately
> >>> closing when done.
> >>>
> >>> Have you tried a GUI such as Okular or Evince? They both support viewing
> >>> .ps files.
> >>>
> >>> In Thunar, just right click on the file and choose "Open with >" and
> >>> either Okular or Evince if they are listed, or "Open with Other
> >>> Application ..." if they aren't. (But if they aren't listed, you might
> >>> have to install them, or a similar GUI viewer.)
> >>>
> >>
> >> When I try to open "ps" file with evince I'm getting an error:
> >>
> >> evince W-9\ Form.ps
> >>
> >> (evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.
> >>
> >
> > Have you Googled it? I think this error has been all over the place recently.
> >
> > - Mark
> >
> Who suppose to be the owner of the file: /run/user/1000/dconf/user
>
> -rw------- 1 root root 2 Dec 23 16:48 /run/user/1000/dconf/user
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] viewer for "ps" postscript files
2021-12-24 0:54 ` eric
@ 2021-12-24 2:36 ` thelma
2021-12-24 2:58 ` thelma
0 siblings, 1 reply; 10+ messages in thread
From: thelma @ 2021-12-24 2:36 UTC (permalink / raw
To: gentoo-user
On 12/23/21 17:54, eric wrote:
> On 12/23/21 5:40 PM, thelma@sys-concept.com wrote:
>> On 12/23/21 17:19, Mark Knecht wrote:
>>> On Thu, Dec 23, 2021 at 4:53 PM <thelma@sys-concept.com> wrote:
>>>>
>>>> On 12/23/21 15:51, Spackman, Chris wrote:
>>>>> On 2021/12/23 at 01:57pm, thelma@sys-concept.com wrote:
>>>>>> I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
>>>>>>
>>>>>> When I try to view a postsript file from command line: gs W-9_Form.ps
>>>>>> It works OK, but when I try to open same file in Xfce desktop it opens
>>>>>> and closes instantly.
>>>>>
>>>>> My guess would be that in XFCE, gs is successfully doing whatever
>>>>> (showing, interpreting, ??) in a terminal window and then immediately
>>>>> closing when done.
>>>>>
>>>>> Have you tried a GUI such as Okular or Evince? They both support viewing
>>>>> .ps files.
>>>>>
>>>>> In Thunar, just right click on the file and choose "Open with >" and
>>>>> either Okular or Evince if they are listed, or "Open with Other
>>>>> Application ..." if they aren't. (But if they aren't listed, you might
>>>>> have to install them, or a similar GUI viewer.)
>>>>>
>>>>
>>>> When I try to open "ps" file with evince I'm getting an error:
>>>>
>>>> evince W-9\ Form.ps
>>>>
>>>> (evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.
>>>>
>>>
>>> Have you Googled it? I think this error has been all over the place recently.
>>>
>>> - Mark
>>>
>> Who suppose to be the owner of the file: /run/user/1000/dconf/user
>>
>> -rw------- 1 root root 2 Dec 23 16:48 /run/user/1000/dconf/user
>>
>>
>
> Shouldn't the owner be who ever has the uid of 1000? That is how it is on my system.
>
> Regards,
>
> Eric
I deleted the that file: /run/user/1000/dconf/user (owned as root) it was empty anyhow.
Logout / Login and system recreated that file with my home user name.
But I still can not open "ps" file with evince. I'm getting an error message:
evince W-9\ Form.ps
(evince:19345): GLib-GObject-WARNING **: 19:26:40.904: invalid cast from 'GtkFileChooserNative' to 'GtkWidget'
Worth to note that I just upgraded my system.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] viewer for "ps" postscript files
2021-12-24 2:36 ` thelma
@ 2021-12-24 2:58 ` thelma
0 siblings, 0 replies; 10+ messages in thread
From: thelma @ 2021-12-24 2:58 UTC (permalink / raw
To: gentoo-user
On 12/23/21 19:36, thelma@sys-concept.com wrote:
[snip]
>
> I deleted the that file: /run/user/1000/dconf/user (owned as root) it was empty anyhow.
> Logout / Login and system recreated that file with my home user name.
>
> But I still can not open "ps" file with evince. I'm getting an error message:
>
> evince W-9\ Form.ps
>
> (evince:19345): GLib-GObject-WARNING **: 19:26:40.904: invalid cast from 'GtkFileChooserNative' to 'GtkWidget'
>
> Worth to note that I just upgraded my system.
>
Solved:
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.
Before upgrade I was able to view PS files with evince.
Now I'm getting strange output:
yajhfc.file.FileConverter$ConversionException: Non-zero exit code of GhostScript (1):
Error: /undefined in .setpdfwrite
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:776/1123(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)--
Current allocation mode is local
GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
at yajhfc.file.GhostScriptMultiFileConverter.convertMultiplePSorPDFFiles(GhostScriptMultiFileConverter.java:101)
at yajhfc.file.MultiFileConverter.convertMultipleFiles(MultiFileConverter.java:144)
at yajhfc.file.MultiFileConverter.convertMultipleFilesToSingleFile(MultiFileConverter.java:206)
at yajhfc.file.MultiFileConverter.viewMultipleFiles(MultiFileConverter.java:181)
at yajhfc.MainWin$ShowWorker.doWork(MainWin.java:498)
at yajhfc.util.ProgressWorker.run(ProgressWorker.java:189)
YajHFC 0.6.1
Java 1.8.0_312 (Temurin)
OpenJDK Runtime Environment 1.8.0_312-b07
OpenJDK 64-Bit Server VM
Linux 5.10.61-gentoo (amd64)
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2021-12-24 2:58 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-23 20:57 [gentoo-user] viewer for "ps" postscript files thelma
2021-12-23 22:51 ` Spackman, Chris
2021-12-23 23:52 ` thelma
2021-12-24 0:19 ` Mark Knecht
2021-12-24 0:31 ` thelma
2021-12-24 0:40 ` thelma
2021-12-24 0:54 ` eric
2021-12-24 2:36 ` thelma
2021-12-24 2:58 ` thelma
2021-12-24 0:57 ` Miles Malone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox