using local pdftk with 7.x-1.8 i receive the following error when uploading a new pdf:

"PDF does not contain fillable fields."

i revert to 7.x-1.7 and i do not receive this error and can continue as before.

no other changes in env other than the update of this module.

Comments

wizonesolutions’s picture

Version: 7.x-1.8 » 7.x-1.x-dev
Component: User interface » Code

Hi - bugs have to be filed against the latest development version. Right now, they contain the same code, but I just mention it because other module maintainers will say the same thing.

Does PDF parsing with any PDFs, or is it totally broken?

I'll test it generally now and see.

wizonesolutions’s picture

Priority: Normal » Major

It's probably this fix: #1430044: Allow specifying pdftk path manually

Go into the settings and put in the path to your pdftk. That should work around it.

That said, I inadvertently introduced a behavioral change because I don't assume pdftk as the fallback value when the path isn't set. I only do so if the settings page has never been saved (not intentionally, of course).

I'll commit a fix for this and release a new version today.

Note to self: I also have to fix this in PDF Forms API, which Fill PDF 7.x-2.x uses.

wizonesolutions’s picture

Title: issue with 1.8 and pdftk ? » Path to pdftk blank if saved blank on settings page (should fall back to pdftk)
wizonesolutions’s picture

Status: Active » Needs review

Fixed. Needs testing, so if you can update to the -dev release once you see the date change, blank out your pdftk setting workaround, and let me know, that'd be great. You can also test right away if you clone the 7.x-1.x branch with Git (if you're familiar with that or by using the instructions at http://drupal.org/node/326549/git-instructions/7.x-1.x/nonmaintainer).

wizonesolutions’s picture

StatusFileSize
new1.97 KB

This is the patch that one can apply to 7.x-1.18 or the current 7.x-1.x-dev. http://drupal.org/patch/apply

tslifset’s picture

#4 worked for me. Thanks for a very helpful module!

wizonesolutions’s picture

Status: Needs review » Reviewed & tested by the community

Will commit this soon then!

wizonesolutions’s picture

Status: Reviewed & tested by the community » Fixed

Confirmed that this works.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 52572aa on 7.x-1.x, 7.x-1.x-ubercartbackporttest by wizonesolutions:
    Issue #1876832: Fix pdftk path check.