Bug 144864 - can't print, ghostscript can't open scratch file
Summary: can't print, ghostscript can't open scratch file
Alias: None
Product: Fedora
Classification: Fedora
Component: foomatic   
(Show other bugs)
Version: 3
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-01-12 02:04 UTC by Christopher J. Bottaro
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-01-12 15:55:40 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
cups error log (20.13 KB, text/plain)
2005-01-12 02:05 UTC, Christopher J. Bottaro
no flags Details

Description Christopher J. Bottaro 2005-01-12 02:04:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko)

Description of problem:
Well, from the error log, it seems ghostscript is messing up, but I was told to file this report under foomatic.

Trying to print anything results in the following errors:

D [11/Jan/2005:19:37:10 -0600] [Job 1] GNU Ghostscript 7.07: Could not open 
the scratch file /var/spool/cups/tmp/gs_YHvM9h.
D [11/Jan/2005:19:37:10 -0600] [Job 1] **** Unable to open the initial device, 
D [11/Jan/2005:19:37:10 -0600] [Job 1] renderer return value: 1
D [11/Jan/2005:19:37:10 -0600] [Job 1] renderer received signal: 1
D [11/Jan/2005:19:37:10 -0600] [Job 1] Process dying with "Possible error on 
renderer command line or PostScript error. Check options.", exit stat: 3

After the print command fails, "ls /var/spool/cups/tmp/" shows nothing.  I don't know if cups cleans up the scratch file dir or if the reason why ghostscript failed is because there was no scratch file there.

The complete log is attached in the comment that follows.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Setup Epson Stylus Photo R200 and try to print a test page.

Additional info:

Comment 1 Christopher J. Bottaro 2005-01-12 02:05:33 UTC
Created attachment 109654 [details]
cups error log

Comment 2 Tim Waugh 2005-01-12 09:13:32 UTC
What do these commands say?:

rpm -q cups
rpm -V cups

Comment 3 Christopher J. Bottaro 2005-01-12 15:54:35 UTC
[root@tapu ~]# rpm -q cups 
[root@tapu ~]# rpm -V cups 
.M...... /etc/cups 
S.5....T c /etc/cups/cupsd.conf 
S.5....T c /etc/cups/printers.conf 
.M5....T c /etc/xinetd.d/cups-lpd 
missing /var/spool/cups/tmp 
Thanks for the help. 

Comment 4 Christopher J. Bottaro 2005-01-12 16:40:53 UTC
I created /var/spool/cups/tmp, but still got an error:  
D [12/Jan/2005:10:17:06 -0600] [Job 3] sh: ijsgimpprint: command not found  
D [12/Jan/2005:10:17:06 -0600] [Job 3] GNU Ghostscript 7.07: Can't start ijs   
server "ijsgimpprint"  
D [12/Jan/2005:10:17:06 -0600] [Job 3] **** Unable to open the initial device,   
I installed gimp-print and that fixed the problem.  Shouldn't there be some  
kind of dependency on gimp-print for cups in the yum repos?  Also, why didn't 
the cups rpm create /var/spool/cups/tmp?  Oh well, its working now. 

Note You need to log in before you can comment on or make changes to this bug.