Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue using pdf_text #79

Open
OliverHamann1027 opened this issue Jun 21, 2020 · 0 comments
Open

Issue using pdf_text #79

OliverHamann1027 opened this issue Jun 21, 2020 · 0 comments

Comments

@OliverHamann1027
Copy link

OliverHamann1027 commented Jun 21, 2020

Hello.

First thanks for such a greatful tool.

I have a strange issue using pdftools::pdf_text. The following error is displayed:
"PDF error (3490): Illegal character '{'
PDF error: xref num 367 not found but needed, try to reconstruct<0a>
"

This problem only seems to appear on Windows, not on MacOS.

afd_btw2017 <- "https://cdn.afd.tools/wp-content/uploads/sites/111/2017/08/AfD_Wahlprogramm_2017_A5-hoch.pdf"
afd_btw2017_local <- tempfile ()
download.file(url = afd_btw2017, destfile = afd_btw2017_local)

setwd(tempdir())
install.packages("pdftools")
library(pdftools)
pdftools::pdf_info(afd_btw2017_local)
sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)

pdftools version 0.73.0

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant