[GPL GS WORKS] complain about damaged PDF but the PDF is opened fine by a PDF viewer

Bug #47432 reported by Nikolaus Rath
10
Affects Status Importance Assigned to Milestone
The Gimp
Unknown
Low
gs-esp (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

My current dapper gimp is unable to open PDFs. After asking for desired resolution etc., I get the error "Plugin could not open image".

Revision history for this message
Tim Butler (timbutler) wrote :

I am unable to repoduce this fault. I have left the settings at the defaults and used this PDF as an example: http://www.adobe.com/products/acrobat/pdfs/pdfaccess.pdf

I am running Gimp 2.2.11, can you confirm what version you have running?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Works fine on my box too. Do you have an example to point? Is that specific to one pdf or happening of any of them?

Changed in gimp:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Nikolaus Rath (nikratio) wrote :

Indeed, the above PDF works here as well. What does not work is e.g.
http://code.google.com/soc/SoC2006StudentForeignCertification.pdf.
My gimp version is 2.2.11.

Revision history for this message
Tim Butler (timbutler) wrote :

Does not work with the google SoC PDF linked, I get this error message if run from a shell:

 **** Warning: An error occurred while reading an XREF table.
   **** The file has been damaged. This may have been caused
   **** by a problem while converting or transfering the file.
   **** Ghostscript will attempt to recover the data.
ESP Ghostscript 815.02: Unrecoverable error, exit code 1

Changed in gimp:
status: Needs Info → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: complain about damaged PDF but the PDF is opened fine by a PDF viewer

I've forwarded the issue upstream: http://bugzilla.gnome.org/show_bug.cgi?id=343399

Revision history for this message
Sebastien Bacher (seb128) wrote :

ghostscript issue according to issue, reassigning to gs-esp

Revision history for this message
Ian Jackson (ijackson) wrote :

The fact that one program opens the file doesn't mean that the file isn't in fact broken. What else makes you think the file isn't damaged like gs-esp says it is ?

Revision history for this message
Sebastien Bacher (seb128) wrote :

I don't know, if the file is damaged feel free to close it as NOTABUG or make a feature request to have better handling of broken files, I've not knowledge of the gs-esp code, I'm just reassigning where somebody knowing it can decide if that's a bug or not. Let me know if that's the wrong thing to do

Revision history for this message
Sebastien Bacher (seb128) wrote :

comments from upstream;

"FWIW, the poppler plugin in GIMP 2.3 opens the PDF just fine."

"Also, gs 8.53 handles this file ok too. It's in the gs-afpl package in Debian
unstable; I don't know if Ubuntu packages it."

Revision history for this message
Alex Cherepanov (alex-cherepanov) wrote :

 pdfaccess.pdf works fine with GS 8.15 and up
SoC2006StudentForeignCertification.pdf is damaged but can be recovered by GS 8.54 and up

GS 8.56 is about to be released. Please upgrade.

Changed in gs-esp:
status: Confirmed → Fix Committed
Changed in gs-esp:
status: Fix Committed → Fix Released
Changed in gimp:
importance: Unknown → Low
status: Invalid → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.