Bug 682165

Summary: ghostscript not opening postscript files with long names
Product: Red Hat Enterprise Linux 5 Reporter: samrat <samluvsyou>
Component: ghostscriptAssignee: Tim Waugh <twaugh>
Status: CLOSED WORKSFORME QA Contact: i18n Engineering List <eng-i18n-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.5   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-02 08:24:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description samrat 2011-03-04 10:48:15 UTC
Hi,

I am using CentOS 5.5 64 bit.

My work requires me to have a lot of postscript files. Hence i have elaborate file and directory names for easy identification. For example --- AP-1_Jul-Ctrl-noEqSA_bg25C_precip,U250-150_xy.ps. I am unable to open them using ghostscript/evince. I get a blank evince screen with loading written on it. The same file named as 1.ps opens in a jiffy. As of now evince quickly opens pdf files with long names. But i would not like to convert ps to pdf.

]$ rpm -q evince kdegraphics
evince-0.6.0-13.el5
kdegraphics-3.5.4-17.el5_5.1

Additional info: I had reported this issue in the CentOS forum from where i was directed here. This is the thread: https://www.centos.org/modules/newbb/viewtopic.php?topic_id=30339&forum=38

Comment 1 Tim Waugh 2011-05-26 15:10:38 UTC
If you run gs from the command line, does that take a long time?  Or is it just when using evince?

Comment 2 Tim Waugh 2011-05-26 15:15:46 UTC
Also please provide the output of 'rpm -q ghostscript'.

Comment 3 samrat 2011-06-02 05:58:20 UTC
(In reply to comment #1)
> If you run gs from the command line, does that take a long time?  Or is it just
> when using evince?

Hi Tim,

I have since updated to the latest CentOS 5.6 version. The problem seems to have disappeared and i can open these long filenames from the commandline using gs and evince.

But at times evince does not open ps files (but can open pdf files) when some other pdf/ps files are open. I have to close all open files and then evince manages to open the file. kpdf has no such problem. This problem was there before as well and is quite random.

(In reply to comment #2)
> Also please provide the output of 'rpm -q ghostscript'.

]$ rpm -qa ghostscript*

ghostscript-fonts-5.50-13.1.1
ghostscript-8.70-6.el5

Comment 4 Tim Waugh 2011-06-02 08:24:52 UTC
OK, closing then if it works now.