GNOME Bugzilla – Bug 677637
PDF export plug-in does not work
Last modified: 2013-12-08 13:36:00 UTC
When I am going to export an image file as pdf, I do get two error messages in one message window: Portable-Document-Format-Meldung Ein Fehler trat beim Erstellen der PDF-Datei auf: error while writing to output stream Stellen Sie sicher, dass der Dateiname gültig ist und für den gewählten Ort Schreibrechte vorhanden sind! Translated: Portable-Document-Format-Message an error occurred during export of the pdf file: error while writing to output stream Make shure the file name is valid and the chosen location for export is not write-protected I´ve checked both, file name and write-protection of the destination folder, it´s ok Second error message: Gimp-Meldung »C:\Users\Klaus Gölker\Desktop\pdf-error.pdf« konnte nicht gespeichert werden: Das Plugin Portable-Document-Format konnte das Bild nicht speichern Translated: Gimp-Message <path/file> could not be saved. the plug-in Portable-Document-Format was not able to save the image I´ve tried several times, always with the same result. In one of the developer releases 2.7.X there was an entry in menu File > Create > Create multipage pdf. This entry is missing, whereas I did a full installation of Gimp 2.8 (custom - all checked) My system: Computer: OS Windows 7 Ultimate Media Center Edition OS Service Pack Service Pack 1 DirectX 4.09.00.0904 (DirectX 9.0c) Motherboard: CPU Typ AMD Athlon FX X2, 2x2700 MHz Motherboard Name Asus M2V RAM 3072 MB BIOS Typ AMI (09/07/06) Display: Grafics adapter GeForce 210 PCi e Regards Klaus Goelker
(In reply to comment #0) > When I am going to export an image file as pdf, I do get two error messages in > one message window: > Gimp-Meldung > »C:\Users\Klaus Gölker\Desktop\pdf-error.pdf« konnte nicht gespeichert werden: For the time being you could try to save in a folder whose name contains only ascii characters.
Probably a duplicate of Bug 659509. *** This bug has been marked as a duplicate of bug 659509 ***
(In reply to comment #2) > Probably a duplicate of Bug 659509. > > *** This bug has been marked as a duplicate of bug 659509 *** It is not the same problem as about the non-ascii characters. As I explained, I had this checked out, using only ascii-characters for filename and foldername. The problem/bug persists even then.
Please post the error message from exporting into a folder with ascii-only characters. From your report, this: »C:\Users\Klaus Gölker\Desktop\pdf-error.pdf ...suggests that your profile directory is hitting Bug 659509.
Now I see, the non-ascii-character is still in the path. I have tried to export to a destination without special characters - and this works. Thank you Chris and all. So the Bug is as you told according to Bug 659509. I have got one question left: The menu item to save multipage pdf (File>Create>Create multipage pdf) did not make it up to final Gimp 2.8 - it was available in the developer version 2.7.3 and 4 - is that correct? Thanks again! Klaus
Created attachment 215925 [details] [review] proposed patch This is not a duplicate of the other bug, it is a bug in file-pdf-save, that for the small testing I did on Windows and linux is fixed with the attached patch. Yes saving multi-page pdf was disabled before the final release. But I don't know the details
Hello, for me the problem was solved with the hint by Chris, but I am glad, my issue could help to improve the GIMP a bit, following Massimos explanation. Thanks to you all! Klaus
Massimo, your batch lies beyond my capabilities as a Windows user. Anyways - thank you. For me the problem/bug is resolved.
fixed in master and gimp-2-8: commit 03f0a1ab57b440f40c9bc685fed778d5b4eea376 Author: Massimo Valentini <mvalentini@src.gnome.org> Date: Sat Jun 9 15:36:35 2012 +0200 Bug 677637: PDF export plug-in does not work use g_fopen and cairo_pdf_surface_create_for_stream to avoid file name encoding issues on Windows.