Giter VIP home page Giter VIP logo

Comments (12)

richelbilderbeek avatar richelbilderbeek commented on June 16, 2024

It appears you are forbidden to download files?

from beastier.

richelbilderbeek avatar richelbilderbeek commented on June 16, 2024

Try utils::download.file on some other file 👍.

from beastier.

thijsjanzen avatar thijsjanzen commented on June 16, 2024

Try utils::download.file on some other file 👍.

This works perfectly:

utils::download.file("http://www.thijsjanzen.nl/The%20Neutralizer%201.31.exe", destfile = "test.exe")```

from beastier.

richelbilderbeek avatar richelbilderbeek commented on June 16, 2024

Hmmm, will restart a Travis build to see if indeed something is wrong.

For me, locally, everything works fine:

richel@sonic:~$ Rscript -e "beastier::uninstall_beast2()"
[1] TRUE
richel@sonic:~$ Rscript -e "beastier::install_beast2()"
trying URL 'https://github.com/CompEvol/beast2/releases/download/v2.5.2/BEAST.v2.5.2.Linux.tgz'
Content type 'application/octet-stream' length 8390602 bytes (8.0 MB)
==================================================
downloaded 8.0 MB

from beastier.

richelbilderbeek avatar richelbilderbeek commented on June 16, 2024

Travis build passed again, ergo I cannot reproduce the error.

Have you tried running beastier::install_beast2 again?

from beastier.

thijsjanzen avatar thijsjanzen commented on June 16, 2024

Travis build passed again, ergo I cannot reproduce the error.

Have you tried running beastier::install_beast2 again?

still same same.

from beastier.

richelbilderbeek avatar richelbilderbeek commented on June 16, 2024

Hmmm, I wonder what the results of these are:

beastier::install_beast2(verbose = TRUE)

and

rappdirs::app_dir()$os

both run on the target platform. Could you share the name of this magic target platform?

from beastier.

thijsjanzen avatar thijsjanzen commented on June 16, 2024

Hmmm, I wonder what the results of these are:

beastier::install_beast2(verbose = TRUE)
> beastier::install_beast2(verbose = TRUE)
[1] "Operating system: unix"
[1] "Download from URL: https://github.com/CompEvol/beast2/releases/download/v2.5.2/BEAST.v2.5.2.Linux.tgz"
downloaded 0 bytes

Error in utils::download.file(url = url, destfile = local_path) : 
  cannot download all files
In addition: Warning message:
In utils::download.file(url = url, destfile = local_path) :
  URL 'https://github-production-release-asset-2e65be.s3.amazonaws.com/15949777/195f6580-2aaa-11e9-9ba5-3f6739d075c1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190604%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190604T080330Z&X-Amz-Expires=300&X-Amz-Signature=da077bbc90362b15db1c2f6b1475664bacbc0ccc0be1c7b368df6a32607353e9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DBEAST.v2.5.2.Linux.tgz&response-content-type=application%2Foctet-stream': status was '403 Forbidden'

and

rappdirs::app_dir()$os
 rappdirs::app_dir()$os
[1] "unix"

both run on the target platform. Could you share the name of this magic target platform?

This is on the CARL cluster of the University of Oldenburg.

from beastier.

richelbilderbeek avatar richelbilderbeek commented on June 16, 2024

Then I predict this won't work either:

utils::download.file(url = "https://github.com/CompEvol/beast2/releases/download/v2.5.2
/BEAST.v2.5.2.Linux.tgz", destfile = "irrelevant")

On my computer:

trying URL 'https://github.com/CompEvol/beast2/releases/download/v2.5.2/BEAST.v2.5.2.Linux.tgz'
Content type 'application/octet-stream' length 8390602 bytes (8.0 MB)
==================================================
downloaded 8.0 MB
> 

What will this give on yours?

from beastier.

thijsjanzen avatar thijsjanzen commented on June 16, 2024
/BEAST.v2.5.2.Linux.tgz", destfile = "irrelevant")

You predicted right

> utils::download.file(url = "https://github.com/CompEvol/beast2/releases/download/v2.5.2/BEAST.v2.5.2.Linux.tgz", destfile = "irrelevant")
downloaded 0 bytes

Error in utils::download.file(url = "https://github.com/CompEvol/beast2/releases/download/v2.5.2/BEAST.v2.5.2.Linux.tgz",  : 
  cannot download all files
In addition: Warning message:
In utils::download.file(url = "https://github.com/CompEvol/beast2/releases/download/v2.5.2/BEAST.v2.5.2.Linux.tgz",  :
  URL 'https://github-production-release-asset-2e65be.s3.amazonaws.com/15949777/195f6580-2aaa-11e9-9ba5-3f6739d075c1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190604%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190604T083004Z&X-Amz-Expires=300&X-Amz-Signature=bd9206831b9b9d9f9700c5bfeae35d8590ff5d1e9133a56e40f8dc53a3293d43&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DBEAST.v2.5.2.Linux.tgz&response-content-type=application%2Foctet-stream': status was '403 Forbidden'
> 

from beastier.

richelbilderbeek avatar richelbilderbeek commented on June 16, 2024

Sounds like you have no rights to download from that URL on CARL. No idea why the sysadmin blocks that URL or prevents you from doing so...

What is clear, however, is that this Issue has nothing to do with beastier.

I'll close this Issue after some days, in case you want to add some notes to yourself below.

Thanks for the report 👍

from beastier.

richelbilderbeek avatar richelbilderbeek commented on June 16, 2024

Time to close 🌈

from beastier.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.