Import of pdf no longer working

Bug #1163739 reported by Walttheboss
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gscan2pdf (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Cannot open pdf files. Up to a month ago I could import pdf files, manipulate them and resave them. Now this only works with pdf files that were originally made in gscan2pdf.

Sometimes it reads the number of pages and asks which pages to extract. Sometimes it does not.

Running Kubuntu 12.04 and 12.10. gscan2pdf versions 1.0.3 up to 1.1.3

Tags: patch
Revision history for this message
Jeffrey Ratcliffe (jeffreyratcliffe) wrote :

Please attach a PDF which reproduced the problem.

Revision history for this message
Walttheboss (walttheboss) wrote : Re: [Bug 1163739] Re: Import of pdf no longer working

Jeffrey,

Will do so on Monday. Wife got sick and had to leave the office.

Thanks for your reply to my bug report. gscan2pdf remains the best scanning and more program I have ever used.

Sincerely,
Walt

Jeffrey Ratcliffe <email address hidden> wrote:

>Please attach a PDF which reproduced the problem.
>
>--
>You received this bug notification because you are subscribed to the bug
>report.
>https://bugs.launchpad.net/bugs/1163739
>
>Title:
> Import of pdf no longer working
>
>Status in “gscan2pdf” package in Ubuntu:
> New
>
>Bug description:
> Cannot open pdf files. Up to a month ago I could import pdf files,
> manipulate them and resave them. Now this only works with pdf files
> that were originally made in gscan2pdf.
>
> Sometimes it reads the number of pages and asks which pages to
> extract. Sometimes it does not.
>
> Running Kubuntu 12.04 and 12.10. gscan2pdf versions 1.0.3 up to 1.1.3
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/1163739/+subscriptions

Revision history for this message
Walttheboss (walttheboss) wrote :

Attached is a file which will not open/import into gscan2pdf

Bug reproducible on Kubuntu 12.04 server box running .9.32
Bug reproducible on Kubuntu 12.10 desktop running 1.1.3

Problem just appeared in the last month. My guess is a dependency was updated and no longer works together. Attempting to import non gscan2pdf created pdfs will crash the program and require terminating.

All pdf files created originally by gscan2pdf open just fine from both local files and network files. Single and multiple page pdfs work fine.

Revision history for this message
Jeffrey Ratcliffe (jeffreyratcliffe) wrote :

Whilst you are right that gscan2pdf crashes if you try to import this PDF, gscan2pdf has never been able to roundtrip files like this - only the images were extracted and imported. The text was always ignored.

I'll fix the crash - caused because gscan2pdf expects one image per page, and the test PDF has one image on the first page and none on the second.

Revision history for this message
Jeffrey Ratcliffe (jeffreyratcliffe) wrote :

This fixes things for me.

Changed in gscan2pdf (Ubuntu):
status: New → Fix Committed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001-Allow-thread-to-import-different-number-of-pages-tha.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in gscan2pdf (Ubuntu):
status: Fix Committed → Fix Released
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.