Skip to content

Getting this erro ActivePdftk::CommandError: Error: No input files. Exiting #47

Description

@vkeziah

[8] pry(#)> bic = ActivePdftk::Form.new(save_path)

WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist

Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.

=> #<ActivePdftk::Form:0x007fe158d01a10
@pdftk=#<ActivePdftk::Wrapper:0x007fe158d019c0 @call=#<ActivePdftk::Call:0x007fe158d01998 @default_statements={:path=>"pdftk"}>>,
@template=#Pathname:/Users/ratnakar/Documents/Projects/COM/board/nov/board/pdfs/filename.pdf>
[9] pry(#)> bic.set('year', '2016')
ActivePdftk::CommandError: Error: No input files. Exiting.
Errors encountered. No output created.
Done. Input errors, so no output created.
#!# While executing #=> pdftk dump_data_fields_utf8 output -
from /Users/ratnakar/.rvm/gems/ruby-2.3.1@compliance/bundler/gems/active_pdftk-a1065e8f0d21/lib/active_pdftk/call.rb:196:in `block in pdftk'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions