ghostscript 9.05 fails with preview-latex and auctex
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
auctex (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This is not the same as this bug: https:/
The error in this bug is reported as:
Error: /invalidfileaccess in --file--
It is the same as the bug mentioned here: http://
and here: http://
I was able to fix this by downgrading to ghostscript 8.70. Note that 8.71 has a different bug in it that produces an error that says
Error /undefined in copy_trailer_attrs
(as reported here: https:/
To answer the required questions:
1) Description: Ubuntu 12.04 LTS
Release: 12.04
2) ghostscript:
Installed: 9.05~dfsg-0ubuntu4
Candidate: 9.05~dfsg-0ubuntu4
Version table:
*** 9.05~dfsg-0ubuntu4 0
auctex/ preview-latex:
Installed: 11.86-2ubuntu1
Candidate: 11.86-2ubuntu1
Version table:
*** 11.86-2ubuntu1 0
500 http://
100 /var/lib/
3) In emacs pressing 'C-c C-c C-p' inside of an equation environment should produce a preview of the equation. I
4) Instead a red circle/ error symbol is shown. Button-2 clicking the error yields the following error message
gs -dOutputFile\
GS>{DELAYSAFER{
Error: /invalidfileaccess in --file--
Operand stack:
--nostringval-- (_region_
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- %loop_continue --nostringval-- --nostringval-- false 1 %stopped_push .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:
Current allocation mode is local
Last OS error: 2
Current file position is 533
GS<3>
"Error: /invalidfileaccess in --file--" means that Ghostscript is not able to read one of the input files or to write its output file. The file in question is probably _region_ .prv/tmp30703Qa 0/preview. ps as this file name is on the top of the Ghostscript stack. Moving to auctex ...
If you tghink it is really a Ghostscript bug, please try to reproduce it by a Ghostscript call from the command line and attch the needed files to this bug report. Then I will be able to forward it to the Ghostscript developers.