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

Unable to Deploy app to shinyapps.io server with Capture library line #16

Open
robweberfirstline opened this issue Nov 28, 2024 · 2 comments

Comments

@robweberfirstline
Copy link

I'm using Capture in a shiny app that I'm attempting to deploy to my shinyapps.io server and I'm getting the huge error that I've pasted below. Any help would be hugely appreciated because the save-to-pdf functionality would be a huge addition to this dashboard.

building: Parsing manifest
  building: Building image: 11578105
  building: Installing system dependencies
  building: Fetching packages
  building: Building package: capture
## Begin Task Log ########################################################################################
Quarto not found.
[2024-11-28T03:44:37.712146360+0000] Execute script: packages/build/textshaping.sh
+ set -e
+ apt-get update -qq
W: http://cran.rstudio.com/bin/linux/ubuntu/jammy-cran40/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
+ apt-get install -y libharfbuzz-dev libfribidi-dev
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  gir1.2-harfbuzz-0.0 libgraphite2-dev libharfbuzz-gobject0 libharfbuzz-icu0
Suggested packages:
  libgraphite2-utils
The following NEW packages will be installed:
  gir1.2-harfbuzz-0.0 libfribidi-dev libgraphite2-dev libharfbuzz-dev
  libharfbuzz-gobject0 libharfbuzz-icu0
0 upgraded, 6 newly installed, 0 to remove and 146 not upgraded.
Need to get 696 kB of archives.
After this operation, 3821 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gir1.2-harfbuzz-0.0 amd64 2.7.4-1ubuntu3.1 [31.6 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libfribidi-dev amd64 1.0.8-2ubuntu3.1 [64.8 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy/main amd64 libgraphite2-dev amd64 1.3.14-1build2 [14.7 kB]
Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libharfbuzz-icu0 amd64 2.7.4-1ubuntu3.1 [5886 B]
Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libharfbuzz-gobject0 amd64 2.7.4-1ubuntu3.1 [26.0 kB]
Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libharfbuzz-dev amd64 2.7.4-1ubuntu3.1 [553 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 696 kB in 0s (16.3 MB/s)
Selecting previously unselected package gir1.2-harfbuzz-0.0:amd64.	
(Reading database ... 	(Reading database ... 5%	(Reading database ... 10%	(Reading database ... 15%	(Reading database ... 20%	(Reading database ... 25%	(Reading database ... 30%	(Reading database ... 35%	(Reading database ... 40%	(Reading database ... 45%	(Reading database ... 50%	(Reading database ... 55%	(Reading database ... 60%	(Reading database ... 65%	(Reading database ... 70%	(Reading database ... 75%	(Reading database ... 80%	(Reading database ... 85%	(Reading database ... 90%	(Reading database ... 95%	(Reading database ... 100%	(Reading database ... 293173 files and directories currently installed.)	
Preparing to unpack .../0-gir1.2-harfbuzz-0.0_2.7.4-1ubuntu3.1_amd64.deb ...	
Unpacking gir1.2-harfbuzz-0.0:amd64 (2.7.4-1ubuntu3.1) ...	
Selecting previously unselected package libfribidi-dev:amd64.	
Preparing to unpack .../1-libfribidi-dev_1.0.8-2ubuntu3.1_amd64.deb ...	
Unpacking libfribidi-dev:amd64 (1.0.8-2ubuntu3.1) ...	
Selecting previously unselected package libgraphite2-dev:amd64.	
Preparing to unpack .../2-libgraphite2-dev_1.3.14-1build2_amd64.deb ...	
Unpacking libgraphite2-dev:amd64 (1.3.14-1build2) ...	
Selecting previously unselected package libharfbuzz-icu0:amd64.	
Preparing to unpack .../3-libharfbuzz-icu0_2.7.4-1ubuntu3.1_amd64.deb ...	
Unpacking libharfbuzz-icu0:amd64 (2.7.4-1ubuntu3.1) ...	
Selecting previously unselected package libharfbuzz-gobject0:amd64.	
Preparing to unpack .../4-libharfbuzz-gobject0_2.7.4-1ubuntu3.1_amd64.deb ...	
Unpacking libharfbuzz-gobject0:amd64 (2.7.4-1ubuntu3.1) ...	
Selecting previously unselected package libharfbuzz-dev:amd64.	
Preparing to unpack .../5-libharfbuzz-dev_2.7.4-1ubuntu3.1_amd64.deb ...	
Unpacking libharfbuzz-dev:amd64 (2.7.4-1ubuntu3.1) ...	
Setting up libharfbuzz-icu0:amd64 (2.7.4-1ubuntu3.1) ...	
Setting up libfribidi-dev:amd64 (1.0.8-2ubuntu3.1) ...	
Setting up libharfbuzz-gobject0:amd64 (2.7.4-1ubuntu3.1) ...	
Setting up gir1.2-harfbuzz-0.0:amd64 (2.7.4-1ubuntu3.1) ...	
Setting up libgraphite2-dev:amd64 (1.3.14-1build2) ...	
Setting up libharfbuzz-dev:amd64 (2.7.4-1ubuntu3.1) ...	
Processing triggers for libc-bin (2.35-0ubuntu3.7) ...	
[2024-11-28T03:44:41.507475642+0000] Execute script: packages/build/ragg.sh
+ set -e
+ apt-get update -qq
W: http://cran.rstudio.com/bin/linux/ubuntu/jammy-cran40/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
+ apt-get install -y fonts-noto-color-emoji libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev libharfbuzz-dev libfribidi-dev
Reading package lists...
Building dependency tree...
Reading state information...
libjpeg-dev is already the newest version (8c-2ubuntu10).
libjpeg-dev set to manually installed.
libpng-dev is already the newest version (1.6.37-3build5).
libpng-dev set to manually installed.
fonts-noto-color-emoji is already the newest version (2.042-0ubuntu0.22.04.1).
fonts-noto-color-emoji set to manually installed.
libfreetype6-dev is already the newest version (2.11.1+dfsg-1ubuntu0.2).
libfreetype6-dev set to manually installed.
libfribidi-dev is already the newest version (1.0.8-2ubuntu3.1).
libharfbuzz-dev is already the newest version (2.7.4-1ubuntu3.1).
The following NEW packages will be installed:
  libtiff5-dev
0 upgraded, 1 newly installed, 0 to remove and 146 not upgraded.
Need to get 2096 B of archives.
After this operation, 26.6 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtiff5-dev amd64 4.3.0-6ubuntu0.10 [2096 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 2096 B in 0s (122 kB/s)
Selecting previously unselected package libtiff5-dev:amd64.	
(Reading database ... 	(Reading database ... 5%	(Reading database ... 10%	(Reading database ... 15%	(Reading database ... 20%	(Reading database ... 25%	(Reading database ... 30%	(Reading database ... 35%	(Reading database ... 40%	(Reading database ... 45%	(Reading database ... 50%	(Reading database ... 55%	(Reading database ... 60%	(Reading database ... 65%	(Reading database ... 70%	(Reading database ... 75%	(Reading database ... 80%	(Reading database ... 85%	(Reading database ... 90%	(Reading database ... 95%	(Reading database ... 100%	(Reading database ... 293308 files and directories currently installed.)	
Preparing to unpack .../libtiff5-dev_4.3.0-6ubuntu0.10_amd64.deb ...	
Unpacking libtiff5-dev:amd64 (4.3.0-6ubuntu0.10) ...	
Setting up libtiff5-dev:amd64 (4.3.0-6ubuntu0.10) ...	## End Task Log ##########################################################################################
Error: Unhandled Exception: child_task=1483320312 child_task_status=failed: Error building image: Error fetching capture (0.1.5) source. <GitHubPackage user='dreamRs' repo='capture' private=False> unable to satisfy package: capture (0.1.5)
@pvictor
Copy link
Member

pvictor commented Dec 2, 2024

Hi,
Maybe because there was no release for v0.1.5 ? I added one, if you can retry see if it make a difference.
Victor

@robweberfirstline
Copy link
Author

Hey there,

Appreciate the response! So, I re-installed the package using the code in your README, then tried to deploy the app with the line library(capture) and I am still getting the same error. Is there something else I need to do?

Thanks,
Rob

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

2 participants