Hi,
I have a shiny app that I run locally that reads and parses a pdf using the pdftools that I'm trying to deploy to shinyapps.io.
Whenever I try to deploy, I get a timeout error.
It looks like the issue is that lib-poppler is 0.41 on shinyapps, but pdftools uses 0.73. Is there a way to update shinyapps or can I configure my deploy to somehow use the older version? Or can someone suggest an alternative pdf reading package that works on shinyapps?
Thank you!
The exact error message is:
Execute script: packages/build/pdftools.sh
+ set -e
+ apt-get update -qq
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cran.rstudio.com/bin/linux/ubuntu xenial/ InRelease: The following signatures were invalid: KEYEXPIRED 1602869253 KEYEXPIRED 1602869253 KEYEXPIRED 1602869253
W: Failed to fetch http://cran.rstudio.com/bin/linux/ubuntu/xenial/InRelease The following signatures were invalid: KEYEXPIRED 1602869253 KEYEXPIRED 1602869253 KEYEXPIRED 1602869253
W: Some index files failed to download. They have been ignored, or old ones used instead.
+ apt-get install -y libpoppler-cpp-dev
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libpoppler-cpp0 libpoppler-dev
The following NEW packages will be installed:
libpoppler-cpp-dev libpoppler-cpp0 libpoppler-dev
0 upgraded, 3 newly installed, 0 to remove and 105 not upgraded.
Need to get 821 kB of archives.
After this operation, 4761 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpoppler-cpp0 amd64 0.41.0-0ubuntu1.14 [27.1 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpoppler-dev amd64 0.41.0-0ubuntu1.14 [762 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpoppler-cpp-dev amd64 0.41.0-0ubuntu1.14 [31.7 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 821 kB in 0s (20.6 MB/s)
Selecting previously unselected package libpoppler-cpp0:amd64.
(Reading database ... 121086 files and directories currently installed.)
Preparing to unpack .../libpoppler-cpp0_0.41.0-0ubuntu1.14_amd64.deb ...
Unpacking libpoppler-cpp0:amd64 (0.41.0-0ubuntu1.14) ...
Selecting previously unselected package libpoppler-dev:amd64.
Preparing to unpack .../libpoppler-dev_0.41.0-0ubuntu1.14_amd64.deb ...
Unpacking libpoppler-dev:amd64 (0.41.0-0ubuntu1.14) ...
Selecting previously unselected package libpoppler-cpp-dev:amd64.
Preparing to unpack .../libpoppler-cpp-dev_0.41.0-0ubuntu1.14_amd64.deb ...
Unpacking libpoppler-cpp-dev:amd64 (0.41.0-0ubuntu1.14) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Setting up libpoppler-cpp0:amd64 (0.41.0-0ubuntu1.14) ...
Setting up libpoppler-dev:amd64 (0.41.0-0ubuntu1.14) ...
Setting up libpoppler-cpp-dev:amd64 (0.41.0-0ubuntu1.14) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 829473013 error: Unhandled Exception: HTTP 599: Timeout during request
Execution halted