lebedov / python-pdfbox

Python interface to Apache PDFBox command-line tools.
Other
75 stars 24 forks source link

-force argument is causing malformed command #3

Closed seanlaw closed 5 years ago

seanlaw commented 5 years ago

I haven't dug into this from the code but it looks like

p.extract('file.pdf', force=True)

Causes:

Exception in thread "main" java.io.FileNotFoundException: -force (No such file or directory)

Running the above command without force=True produces the expected output

lebedov commented 5 years ago

The -force option doesn't appear to be supported anymore; I just removed it (and reported the incorrect online docs to the pdfbox folks).