After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 646262 - Unable to import a simple Xfig file
Unable to import a simple Xfig file
Status: RESOLVED DUPLICATE of bug 436148
Product: dia
Classification: Other
Component: import
0.97
Other Windows
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-30 19:16 UTC by davidl
Modified: 2011-03-30 20:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of errors (32.72 KB, image/png)
2011-03-30 19:16 UTC, davidl
Details
File that Dia can't import (326 bytes, application/octet-stream)
2011-03-30 19:17 UTC, davidl
Details

Description davidl 2011-03-30 19:16:22 UTC
Created attachment 184727 [details]
Screenshot of errors

Dia is completely unable to open files produced by Xfig 3.2 patchlevel 5b (current version from Cygwin).  Running on Windows XP SP3.  Screenshot of error-messages and sample file attached.  Without looking at the code yet, what seems to be tripping it up is that Xfig thinks it can put whatever it wants on the first line, while Dia is just looking at whatever text appears after the literal string "#FIG 3.2".  The first line is actually:

#FIG 3.2  Produced by xfig version 3.2.5b
Comment 1 davidl 2011-03-30 19:17:16 UTC
Created attachment 184728 [details]
File that Dia can't import
Comment 2 Hans Breuer 2011-03-30 20:42:40 UTC
Fixed as second part of bug #436148 - just checked your file against current master.

*** This bug has been marked as a duplicate of bug 436148 ***