At 20:33 20.01.02 -0000, Tariq Rashid wrote:
>
>dear all,
>
>i have been having some frustrating problems with dia going a bit unstable
>after a while... producing "junk" files...
>
It would be nice if you could provide information about the platform
your Dia is running on. First I concluded from your mailer that it is
probably win32, but than ...
>for example the file attched opens fine...
... none of my local Dia versions does open the attached file without
tweakink. (It enters an endless loop in app/grid.c:grid_draw()).
I've tracked it down to the paper.scaling value being "0" in your
file which leads to some division by zero misbehaviour done on the
paper.width and paper.height ...
see app/load_save.c:diagram_data_load around line 360.
Further calculations are done with bogus values for either scaling
or width and height or even both, so the results are almost
unpredictable ...
>but copying and pasting out of it
>into a new dia window fails.
>
>more to the point, export to eps "appears" to work... but using imagemagicks
>convert :
> convert a.eps b.png
>fails for the eps file created... something about no image delegate...
[...]
The workaround would be to manually correct the scaling value in
your file. But at least I have not yet found where it actually
got the invalid value in the first place so it will probably
break again ....
Hans
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it. -- Dilbert