Failed to deploy shiny app using rsconnect: Error: Unhandled Exception

I got an error message when I was deploying my shiny app to shinyapps.io using rsconnect. The error message is listed as below:

Error: Unhandled Exception: Child Task 727122197 failed: Error building image: Error building prismatic (0.2.0). Build exited with non-zero status: 1

Below is the full log in case any of you needed.

################################ Begin Task Log ################################ 
[2020-05-06T18:39:48.729244452+0000] Execute script: packages/build/sys.sh
+ set -e
+ apt-get update -qq
+ apt-get install -y libapparmor-dev
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  libapparmor-dev
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 67.8 kB of archives.
After this operation, 229 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapparmor-dev amd64 2.10.95-0ubuntu2.11 [67.8 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 67.8 kB in 0s (4298 kB/s)
Selecting previously unselected package libapparmor-dev:amd64.
(Reading database ... 120977 files and directories currently installed.)
Preparing to unpack .../libapparmor-dev_2.10.95-0ubuntu2.11_amd64.deb ...
Unpacking libapparmor-dev:amd64 (2.10.95-0ubuntu2.11) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libapparmor-dev:amd64 (2.10.95-0ubuntu2.11) ...
[2020-05-06T18:39:53.089093562+0000] Execute script: packages/build/units.sh
+ set -e
+ apt-get update -qq
+ apt-get install -y libudunits2-dev
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libudunits2-0
The following NEW packages will be installed:
  libudunits2-0 libudunits2-dev
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 430 kB of archives.
After this operation, 992 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libudunits2-0 amd64 2.2.20-1 [69.5 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libudunits2-dev amd64 2.2.20-1 [360 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 430 kB in 0s (27.9 MB/s)
Selecting previously unselected package libudunits2-0:amd64.
(Reading database ... 120999 files and directories currently installed.)
Preparing to unpack .../libudunits2-0_2.2.20-1_amd64.deb ...
Unpacking libudunits2-0:amd64 (2.2.20-1) ...
Selecting previously unselected package libudunits2-dev.
Preparing to unpack .../libudunits2-dev_2.2.20-1_amd64.deb ...
Unpacking libudunits2-dev (2.2.20-1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Setting up libudunits2-0:amd64 (2.2.20-1) ...
Setting up libudunits2-dev (2.2.20-1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
[2020-05-06T18:39:55.429362553+0000] Execute script: packages/build/sf.sh
+ set -e
+ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0x089EBE08314DF160
Executing: /tmp/tmp.GEeZH4wuYw/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
0x089EBE08314DF160
gpg: requesting key 314DF160 from hkp server keyserver.ubuntu.com
gpg: key 314DF160: public key "Launchpad ubuntugis-stable" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
++ lsb_release -cs
+ echo 'deb http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial main'
+ apt-get update -qq
+ apt-get install -y libudunits2-dev libgdal-dev libgeos-dev libproj-dev
Reading package lists...
Building dependency tree...
Reading state information...
libproj-dev is already the newest version (4.9.2-2).
libudunits2-dev is already the newest version (2.2.20-1).
The following packages were automatically installed and are no longer required:
  libgdal1i libgeos-3.5.0 libjasper-dev libjasper1
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  gdal-data libarmadillo-dev libarpack2-dev libepsilon-dev libfreexl-dev
  libfyba-dev libfyba0 libgdal20 libgeos-3.5.1 libgeos-c1v5 libgeotiff-dev
  libgeotiff2 libjbig-dev libjson-c-dev libjson-c2 libkml-dev
  libkmlconvenience1 libkmlregionator1 libkmlxsd1 libminizip-dev
  libogdi3.2-dev libopenjp2-7-dev libpoppler-dev libpoppler-private-dev
  libqhull-dev libqhull7 libsuperlu-dev libtiff5-dev libtiffxx5
  liburiparser-dev
Suggested packages:
  libitpp-dev libgdal-doc libgeotiff-epsg geotiff-bin gdal-bin libsuperlu-doc
The following NEW packages will be installed:
  gdal-data libarmadillo-dev libarpack2-dev libepsilon-dev libfreexl-dev
  libfyba-dev libfyba0 libgdal20 libgeos-3.5.1 libgeotiff-dev libgeotiff2
  libjbig-dev libjson-c-dev libjson-c2 libkml-dev libkmlconvenience1
  libkmlregionator1 libkmlxsd1 libminizip-dev libogdi3.2-dev libopenjp2-7-dev
  libpoppler-dev libpoppler-private-dev libqhull-dev libqhull7 libsuperlu-dev
  libtiff5-dev libtiffxx5 liburiparser-dev
The following packages will be upgraded:
  libgdal-dev libgeos-c1v5 libgeos-dev
3 upgraded, 29 newly installed, 0 to remove and 1 not upgraded.
Need to get 17.0 MB of archives.
After this operation, 54.1 MB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libjson-c2 amd64 0.11-4ubuntu2 [22.3 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libarpack2-dev amd64 3.3.0-1build2 [94.7 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libsuperlu-dev amd64 4.3+dfsg-3 [174 kB]
Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libarmadillo-dev amd64 1:6.500.5+dfsg-1 [297 kB]
Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libfyba0 amd64 4.1.1-2 [111 kB]
Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libfyba-dev amd64 4.1.1-2 [392 kB]
Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libgeotiff2 amd64 1.4.1-2 [55.9 kB]
Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libqhull7 amd64 2015.2-1 [152 kB]
Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libepsilon-dev amd64 0.9.2-3ubuntu1 [48.9 kB]
Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libfreexl-dev amd64 1.0.2-1ubuntu0.1 [30.5 kB]
Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libjbig-dev amd64 2.1-3.1 [24.8 kB]
Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiffxx5 amd64 4.0.6-1ubuntu0.7 [5598 B]
Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiff5-dev amd64 4.0.6-1ubuntu0.7 [269 kB]
Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libgeotiff-dev amd64 1.4.1-2 [77.3 kB]
Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libjson-c-dev amd64 0.11-4ubuntu2 [30.6 kB]
Get:16 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libkmlconvenience1 amd64 1.3.0-1 [44.2 kB]
Get:17 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libkmlregionator1 amd64 1.3.0-1 [19.8 kB]
Get:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libkmlxsd1 amd64 1.3.0-1 [28.0 kB]
Get:19 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libminizip-dev amd64 1.1-8 [26.7 kB]
Get:20 http://us-east-1.ec2.archive.ubuntu.################################# End Task Log ################################# 
Error: Unhandled Exception: Child Task 727122197 failed: Error building image: Error building prismatic (0.2.0). Build exited with non-zero status: 1

Anyone has any clue about this? Thanks.

I reinstalled the package prismati, but still not got any luck.

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.