Bug 657290 - xfig is unable to open (encapsulated) postscript files
Summary: xfig is unable to open (encapsulated) postscript files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xfig
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-25 11:40 UTC by David Jansen
Modified: 2010-12-03 20:42 UTC (History)
3 users (show)

Fixed In Version: xfig-3.2.5-24.b.fc14
Clone Of:
Environment:
Last Closed: 2010-12-03 20:42:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Jansen 2010-11-25 11:40:57 UTC
Description of problem:
When you include an EPS file in an xfig figure, ghostscript gets called but produces an error, and no figure is included. The same is true if you open a .fig file that has an EPS embedded.

Version-Release number of selected component (if applicable):
xfig-3.2.5-23.b.fc13.x86_64
ghostscript-8.71-16.fc14.x86_64

How reproducible:

Steps to Reproduce:
1. Start xfig
2. click on the picture icon
3. browse to an EPS file
  
Actual results:
ERROR from ghostscript: Error: /invalidfileaccess in --run-- Operand stack: 3 --nostringval-- (p1814a.ps) (r) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- . . . . GPL Ghostscript 8.71: Unrecoverable error, exit code 1 EPS object read OK, but no preview bitmap found/generated

Xfig continures, but the EPS is not showing up.

Expected results:
Figure displaying with the EPS file in it.

Additional info:
The same happens in Fedora 12, xfig-3.2.5-22.a.fc12.x86_64, ghostscript-8.71-16.fc12.x86_64.
The same figure opens correctly on RHEL 5.5, with xfig-3.2.4-21.3.el5.x86_64, ghostscript-8.15.2-9.12.el5_5.x86_64

Comment 1 Hans de Goede 2010-11-25 16:02:08 UTC
Thanks for the bug report, I can reproduce and have created a patch fixing this, you can expect an updated package fixing this soon.

Comment 2 Fedora Update System 2010-11-25 16:24:23 UTC
xfig-3.2.5-24.b.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/xfig-3.2.5-24.b.fc14

Comment 3 Fedora Update System 2010-11-26 01:05:10 UTC
xfig-3.2.5-24.b.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update xfig'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/xfig-3.2.5-24.b.fc14

Comment 4 Fedora Update System 2010-12-03 20:42:32 UTC
xfig-3.2.5-24.b.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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