Support for Ubuntu 7.10 "Gutsy Gibbon" has ended.  If this problem is
still ocurring on Ubuntu 12.10 "Quantal Quetzal" please file a new bug.

** Tags added: gutsy

** Changed in: dia (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to dia in Ubuntu.
https://bugs.launchpad.net/bugs/155091

Title:
  dia eps export broken in gutsy

Status in Dia - Diagram Tool:
  Confirmed
Status in “dia” package in Ubuntu:
  Invalid

Bug description:
  I routinely exported dia diagrams to eps for several months under
  feisty with no problems; however, upon upgrading to gutsy, dia now
  produces flawed eps files on my system when exporting to eps.

  The version of dia has been the same in both cases (0.96.1-3).

  I am not certain this is a bug in dia, but I have not been able to
  localize the problem elsewhere.

  The following behavior is identical with eps export using Pango or PS
  Latin-1 fonts:

  The export from dia appears to proceed normally, and an .eps file is
  produced. However, the .eps file when viewed with evince shows only a
  small, seemingly random subset of the graphics primitives present in
  the original file (i.e., out of many virtually identical primitives
  only a few may appear). The bounding box is sized as though all
  graphics primitives were present, and the size of the .eps file is
  proportionate to the number of primitives in the original .dia file,
  however, most graphics primitives are invisible in the output. The
  .eps files also appear to have errors: for instance, while ps2pdf can
  produce a .pdf file with the same appearance as each .eps file, it
  produces errors in the conversion (shown below); also, LyX is unable
  to load the .eps files into documents ("error converting to loadable
  format").

  New .dia files created from scratch appear to work correctly. However,
  when pasting graphics primitives from other .dia files into a new
  file, only those that appeared in the .eps export of the old file will
  appear in the .eps export of the new file. Even this is not the whole
  story, as in some cases I have gotten primitives that did not export
  from an old file to export from a new file after copy-pasting, and
  vice versa. However, I have not been able to discern a definite
  pattern here. The success of export may have something to do with the
  order in which primitives are added to the diagram (could all
  primitives after a certain point in the .eps file be ignored?). The
  upshot is that copying all the primitives from an old file to a new
  file essentially does not change anything.

  I have tried completely removing all dia packages and reinstalling,
  with no effect.

  This is a terrible problem for me, as I have created all the block
  diagrams for my thesis in dia, and have no other way to import them
  into LaTeX: dia's XFig export produces a very poor quality .fig file
  for my diagrams, and the SVG export produces files with numerous
  errors and omissions. I will be more than happy to further help debug
  this if anyone has an idea where to start.

  Many thanks!

  - Thomas Coffee

  
  Sample error output from ps2pdf:

  Error: /undefined in nan
  Operand stack:

  Execution stack:
     %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1889   1   3   %oparray_pop   
1888   1   3   %oparray_pop   --nostringval--   1872   1   3   %oparray_pop   
1755   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push   
--nostringval--
  Dictionary stack:
     --dict:1152/1684(ro)(G)--   --dict:0/20(G)--   --dict:133/200(L)--
  Current allocation mode is local
  Last OS error: 2
  Current file position is 7533
  GPL Ghostscript SVN PRE-RELEASE 8.61: Unrecoverable error, exit code 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/dia/+bug/155091/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to