PDF importer doesn't import PDFs generated by ps2pdf

Bug #654562 reported by Stu Black
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
Invalid
Undecided
Unassigned
openoffice.org (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: openoffice.org-pdfimport

After installing openoffice.org-pdfimport, not one of oodraw, ooimpress, or oowriter can open PDFs output by ps2pdf. Attempting to open a PDF leads to a modal dialog box with the message, "General Error. General input/output error," and an "OK" button.

After the dialog is dismissed:

If the program was launched with a PDF file as an argument, the program then closes.

If the file was opened from a running instance, the program continues as though nothing happened.

The PDFs generated by ps2pdf are PDF version 1.4. If PDFs are generated by ps2pdf13 or ps2pdf12, they can be imported into oodraw as expected.

It is expected that:

1. A more detailed error message be printed (like, "This plugin supports PDF versions x, y, and z. The documented you tried to open does not appear to be one of these versions.").

2. The plugin properly handle version 1.4 PDFs generated by ps2pdf.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: openoffice.org-pdfimport 1.0+OOo3.2.0-7ubuntu4.1
ProcVersionSignature: Ubuntu 2.6.32-24.43-server 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-server x86_64
Architecture: amd64
Date: Mon Oct 4 10:05:09 2010
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: openoffice.org

Revision history for this message
Stu Black (dsblack) wrote :
Revision history for this message
penalvch (penalvch) wrote :

Stu Black, thank you for reporting this bug and helping to make Ubuntu better. Could you please attach to this bug an example PDF file that demonstrates this problem?

Changed in openoffice.org (Ubuntu):
status: New → Incomplete
Revision history for this message
Stu Black (dsblack) wrote :

Unfortunately, I can't send the PostScript and PDF files that reliably trigger this behavior, as they contain private information.

I am trying to create new files which trigger this behavior. While I have not yet been able to trigger the behavior I described in the initial bug report, I have been able to make a PDF file that causes OpenOffice to die on a corrupted double-linked list. The PDF file is produced by ps2pdf from a 2-up printing of an Emacs buffer of simple Java code. This occurs with PDF files generated by both ps2pdf and ps2pdf13.

This might be a separate issue, but I will attach a text file with the backtrace, the PostScript file generated by Emacs, and the PDF file generated by ps2pdf.

The backtrace was generated by invoking the following from a terminal:

oowriter beta.pdf

Revision history for this message
Stu Black (dsblack) wrote :

This is the PostScript file.

Revision history for this message
Stu Black (dsblack) wrote :

This is the PDF file.

Revision history for this message
Jack Leigh (leighman) wrote :

I can open the attached pdf with LibO 3.3 although it took a good few minutes

penalvch (penalvch)
Changed in openoffice.org (Ubuntu):
status: Incomplete → New
Revision history for this message
penalvch (penalvch) wrote :

Stu Black, this issue is unreproducible via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/654562/+attachment/1856926/+files/beta.ps && ps2pdf beta.ps beta.pdf && lodraw -nologo beta.pdf

lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

apt-cache policy ghostscript
ghostscript:
  Installed: 9.01~dfsg-1ubuntu5
  Candidate: 9.01~dfsg-1ubuntu5
  Version table:
 *** 9.01~dfsg-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

 apt-cache policy libreoffice-pdfimport
libreoffice-pdfimport:
  Installed: 1.0.3+LibO3.3.2-1ubuntu5
  Candidate: 1.0.3+LibO3.3.2-1ubuntu5
  Version table:
 *** 1.0.3+LibO3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-proposed/universe i386 Packages
        100 /var/lib/dpkg/status
     1.0.3+LibO3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/universe i386 Packages

apt-cache policy libreoffice-draw
libreoffice-draw:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

Changed in libreoffice (Ubuntu):
status: New → Invalid
Changed in openoffice.org (Ubuntu):
status: New → Won't Fix
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote : migrating packaging from OpenOffice.org to Libreoffice

[This is an automated message.]
There are no new official OpenOffice.org releases in Ubuntu packaging anymore => Won't Fix

If the problem persists, please mark this bug as "also affects project Libreoffice" or "also affects distribution Libreoffice (Ubuntu)" if that has not happened already.

Please leave references to upstream OpenOffice.org bugs in place to allow cross pollination.

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.