View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004522 | Scribus | public | 2006-11-13 16:48 | 2010-12-16 18:24 | |
Reporter | pma | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | EMT64 | OS | Linux | OS Version | FC6 |
Product Version | 1.3.3.4 | ||||
Summary | 0004522: crashing when exporting to PDF | ||||
Description | When exporting to pdf (any option, any version) my file poster2.sla, scribus crashes. When exporting to pdf the a pre-version of my file (poster.sla), scribus export a "corrupted" pdf (when it achieve exportation). The PDF can be opened but do not contains all information (especially some gradients lake). | ||||
Steps To Reproduce | * open either poster.sla or poster2.sla * select File->export->save as pdf * change or not the export options * click save | ||||
Additional Information | I think that this bug is somehow memory related and at least quite document related since it doesn't happen for smaller works. It is possible that exportation require too much memory. Yet there is still a bug there since the PDF output of the pre-version is never correct. You might ask: "why such a big file with png everywhere ?" In fact, this is related to the very (VERY) difficult handling of vector format within scribus (EPS, SVG) I guess this is not fully fonctional already, is it ? I put a .tar.bz2 file containing everything at: http://transvol.sgsi.ucl.ac.be/download.php?id=c9ee334bbca7b131 This will be accessible for 15 days starting 2006/13/11. Also available here (as long as needed): http://linux.hanski.info/tmp/bug.tar.bz2 Best regards to everyone and many thanks for this great tool. PMA | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
I've tried to open poster2.sla with 1.3.3.5 -- my system has frozen and I've had to reboot |
|
I got the whole tarball and experiemented a bit. Some notes: In 1336 I can exported all of the plot files from grace and import them as vector EPS perfectly via File > Import. Using this method hugely reduces the amount of memory used in the file. Opening that page background.png in GIMP consumed almost 1GB by itself. As I see it looks like pagebackground.png is from latex generated formulas, you should export EPS from latex and then import that file File > Import > EPS. These vectors can be duplicated, grouped and manipulated as you wish for the same effect. I do not have latex installed, so I could not test that, but I am sure you can export PS or EPS from Latex. One of the issues I can see importing .odg files is the way gradients are created in SVG is quite ugly and they are not true gradients, but hundreds of concentric ciricles grouped. Inkscape shows the same problem when importing the SVG exported from Draw. The work around is to use plain polygons from Draw and then apply griadent effects in Scribus or Inkscape. Note also, those SVG files have text, which for the moment is to be avoided and noted in the docs on importing. I'll upload resaved versions of the original artwork in more usable form with a resaved Scribus file. If you have issues importing EPS, then we will need to know why. The workaround of exporting extermely large bitmaps is not recommeded - only for under say B5 size objects. |
2006-11-14 12:30
|
|
2006-11-14 12:30
|
|
|
I noticed looking at one of the PDF files an older Ghostscript created the PDF. Versions older than 8.15 are to be avoided. If you are trying to import with GS 7.0.7 that also might cause significant EPS import problems. |
2006-11-14 16:04
|
|
|
Hi all, Thanks for your usefull comments Plinnell. Following are a few comment and questions about this: 1)For the background figure I was needing the pavement and randomisation features of Inkscapes. It decides me in not doing direct import from Latex. For the reasons about using PNG instead of EPS/SVG see below, point 3. 2)The odg files have never been directly incorporated. I keep transiting throught PNG. I would have done the figures with scribus If they were not already at hand under Ooffice. But I keep your advice for next works. 3) ABOUT EPS: In fact, before starting the work I had a try on the capabilites of scribus. So I've use the attached file test.eps. And tryed various ways of including it. It clearly shows that there is a problem regarding eps import. It puts my little P4 on knees just for viewing. At the same time even my most bulky png are very graciously handled. This decide me for the all PNG approach. Do you think I shall make an other report about this EPS problem ? 4) I'm a bit surprised about the GS versions. When running gs I get:""" [anglade@descartes poster-inauguration]$ gs ESP Ghostscript 815.02 (2006-04-19) ... """ How do you know about gs in the pdf ? Endly, I must say that I have been able to get a print throught the PNG export feature. Because of the memory limitation of my machine I was not able to get something finer than 450DPI but it was quite enough for a simple poster (20000x14000 px, almost 1GB out of scribus put no more than 20MB after compression by gimp(BY the way is this "bug" to be reported also)). Best regards to you all. PMA |
|
I've used 1336cvs, but would expect 1335 would be the same for importing. Some more investigation: I can import that test.eps flawlessly via File > Open with no docs open or File > Import into a blank page. I'll attach it soon. The other .odg file wavelet basis was exported from OO 2.0.4 as EPS with the settings recommened from here: http://docs.scribus.net/index.php?lang=en&page=importhints3 The ODG importer works well, except some gradients and some line types. I will file a bug for fixing these. These EPS files import flawlessly complete with transparent background. I took all the math forumla png files and retraced them back to vector via Inkscape and its potrace plugin, then exported EPS from Inkscape. Then did file Import > EPS into a new layer I created. Before exporting from Inkscape I deleted the imported bitmaps, leaving only vectors before saving, excepting the white background as you will see they import perfectly. This strongly suggests, you need to do file open > import instead of using image frames for EPS import. I took the PDF files and then did File > Print to File in Acrobat Reader > Level 3, Preserve Memory checked and printed a PS file. Then I imported this via File > import > EPS. Just works. TM The only file I could not sucessfuly convert were the pure bitmap files and the logos which with the gradients do not trace well. I've resaved this SLA and exported a PDF from Scribus. Max memory usage: 250MB and that was after having Scribus open all afternoon working on this file. Lessons: PNG's compress well, but when opened can consume many times its size in memory. So, a 2MB PNG can consume hundreds of MB of real memory. Never convert vector to bitmap - just find the right format from the creating application. In the case of OO Draw EPS export seems more reliable. |
2006-11-14 18:48
|
|
2006-11-14 18:49
|
|
2006-11-14 18:50
|
|
|
Resaved PDF: http://docs.scribus.net/temp/poster2-resave.pdf Note this will only be there a few days. To conclude: Importing EPS files to remaining in vector requires File > Import EPS. If your system is having issues then, please make a visit to IRC so we can debug this interactively. Not a single EPS failed here on Suse 10.1 with GS 8.15.2 Exporting PNG or TIFF to be printed is not really recommended. We created this exporter more for screen shots than for high grade printing. Disable the view > grid except when necessary. It slows down redraws quite a bit. I'll resolve this soon, but will leave this open for comments and until you are all set on your end. |
|
Hi, Thanks so much for your kind work and advices. I'm already pretty much convinced about the virtues of vector manipulation of vector type object. I must have been unclear about the eps import: It works perfect for test.eps (I indeed do file>import>eps). Yet AFTERWARDS my scribus is starting having difficulties: the memory consumption raises reasonably (500MB) but the CPU usage became very very HIGH when manipulating the eps. So I'm going to test the combination of 1) the cvs version (if I'm able to access the cvs) 2) removed grid And came back later with comments or bug report (but I may not be able to this tonight since I'm on a W$ box presently). Best, PMA |
|
Peter, you rock:) Just a question, before you resolve this bug: we still have the issue with scribus (and possibly not only scribus) crashing while opening or exporting this file, don't we? We also have some similar, almost duplicate issues (e.g. 0004318), the question is, which one to keep until the crashes are really gone. I would vote for letting this one open, since it's a perfectly documented test case. |
|
Hi, Having tested with the most recent CVS I got the following results: I import test.eps. This is short. No more than 3s. When I put the focus again on scribus window it takes no less than 22-23s of full cpu usage during which scribus can't be used. Resizing the eps with the mouse use between 13 and 17s of 100% cpu usage. Quiting without saving after the previous operations takes between 6 and 8s. Doing the same operation with a big png takes only fractions of seconds. Note: my machine is a FC6, EMT64, 3.2GHz, 2GB RAM, and scribus was compiled with gcc 3.3.3. Is this behavior of scribus normal ? Shouldn't we expect a smoother behavior with EPS and other vector format than with 1GB PNG ? Shall I submit a separate bug riport for this ? regards PMA PS: Don't know exactly what IRC is and how to connect there. |
|
PPS: I had removed the grid and guides. PPPS: The test4-beware.eps should triggered my problem with eps import even on powerfull computers. |
2006-11-15 08:36
|
|
2006-11-15 11:07
|
|
2006-11-15 11:28
|
|
|
confirming the crash in accordance with plinnell (plinnell experienced X freeze too). Copied test files to: http://linux.hanski.info/tmp/bug.tar.bz2 They'll stay there as long as needed |
|
ESP Ghostscript 815.02 (2006-04-19) is not suitable for use with Scribus. It's from ESP, you need the GPL or AFPL version from Artifex. |
|
Depending on how many objects are created during PS import, it is expected that Scribus reacts sluggish. A png is just one object, a group of imported PS objects may contain thousands or tens of thousands small objects (Each text char will be a single object!) |
|
Yes This is natural and expected somhow :-(. However sometimes, one import EPS or PS object with no other goal than just putting them here and applying global operations to them (rotations, scaling, shear...). Just like what can be done with a PNG. For instance this case may happen if one is not willing to edit points in a plots or axis legends, or latex equations within scribus. For my case this examples are almost a good description of the way I use and import vector figures in scribus. I just want them to be where I place them. That's all. And the very large ressource consumption associated with the (nice) possibility to edit them within scribus is not overly welcome. Couldn't they be kept "still" until the author tries to edit them ?? That was my question. Best regards. |
|
old bug closing |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-11-13 16:48 | pma | New Issue | |
2006-11-13 22:46 | mhanski | Relationship added | related to 0002438 |
2006-11-13 23:15 | mhanski | Status | new => confirmed |
2006-11-13 23:19 | mhanski | Note Added: 0013398 | |
2006-11-14 12:24 |
|
Note Added: 0013402 | |
2006-11-14 12:26 |
|
Note Edited: 0013402 | |
2006-11-14 12:30 |
|
File Added: wavelet-H2b.eps | |
2006-11-14 12:30 |
|
File Added: RSPRC-13AlHalfVacuum.eps | |
2006-11-14 12:41 |
|
Note Added: 0013403 | |
2006-11-14 16:04 | pma | File Added: test.eps | |
2006-11-14 16:19 | pma | Note Added: 0013405 | |
2006-11-14 18:47 |
|
Note Added: 0013406 | |
2006-11-14 18:48 |
|
File Added: wavelet-basis.sla.gz | |
2006-11-14 18:49 |
|
File Added: poster2-resave.sla.gz | |
2006-11-14 18:50 |
|
File Added: scaling.eps | |
2006-11-14 19:06 |
|
Note Added: 0013407 | |
2006-11-14 19:09 |
|
Status | confirmed => new |
2006-11-14 19:09 |
|
Resolution | open => no change required |
2006-11-14 20:17 | pma | Note Added: 0013408 | |
2006-11-14 22:12 | mhanski | Note Added: 0013409 | |
2006-11-15 08:07 | pma | Note Added: 0013414 | |
2006-11-15 08:13 | pma | Note Added: 0013415 | |
2006-11-15 08:36 | pma | File Added: test4-beware.eps.bz2 | |
2006-11-15 08:46 | pma | Note Edited: 0013415 | |
2006-11-15 11:07 |
|
File Added: test4-beware.sla.gz | |
2006-11-15 11:28 | pma | File Added: test4.agr.bz2 | |
2006-11-15 23:02 | mhanski | Note Added: 0013418 | |
2006-11-15 23:02 | mhanski | Status | new => confirmed |
2006-11-16 00:02 | mhanski | Additional Information Updated | |
2006-11-16 10:02 | mhanski | Note Edited: 0013418 | |
2006-11-16 10:03 | mhanski | Note Edited: 0013418 | |
2006-11-16 10:04 | mhanski | Relationship added | related to 0004318 |
2006-11-16 10:12 | mhanski | Note Edited: 0013409 | |
2006-11-16 10:50 | mhanski | Note Edited: 0013418 | |
2008-01-10 07:19 | jghali | Relationship added | has duplicate 0006646 |
2008-02-08 17:31 | avox | Note Added: 0018926 | |
2008-02-08 17:33 | avox | Note Added: 0018927 | |
2008-02-11 09:13 | pma | Note Added: 0018952 | |
2010-12-16 18:24 |
|
Note Added: 0025146 | |
2010-12-16 18:24 |
|
Status | confirmed => closed |
2010-12-16 18:24 |
|
Assigned To | => plinnell |