Coder Social home page Coder Social logo

region error in s3$download_file about paws HOT 6 CLOSED

y-fischer avatar y-fischer commented on August 16, 2024
region error in s3$download_file

from paws.

Comments (6)

DyfanJones avatar DyfanJones commented on August 16, 2024 1

Hi all, sorry about the wait. We have now setup paws on r-universe so you should be able to access to all development versions before they are released to the cran.

To pick up the latest download_file please install paws.storage from r-universe:

# Enable repository from paws-r
options(repos = c(
  pawsr = 'https://paws-r.r-universe.dev',
  CRAN = 'https://cloud.r-project.org')
)

# Download and install paws in R
install.packages('paws.storage')

from paws.

DyfanJones avatar DyfanJones commented on August 16, 2024 1

Closing this ticket due to paws.storage 0.2.0 has been released to the cran.

from paws.

DyfanJones avatar DyfanJones commented on August 16, 2024

Hi @y-fischer sorry about that, it is fairly interesting. I believe it is upset due to the custom function. I will have a look into this. In the meantime you can set your .aws/config file to hold you aws region i.e:

[default]
region=us-east-1
output=json

from paws.

DyfanJones avatar DyfanJones commented on August 16, 2024

@y-fischer found the issue, it is down to how the current custom method download_file has been created. In short it calls the get_config function which checks it's parent frame for the config. However, as it has been wrapped, the parent frame doesn't contain a config so it creates a new one and causes this bug.

There is already a fix for this in paws v-0.2.0 which is currently be worked on. For the time being you can use the work around by setting the config file for aws with the region set.

from paws.

kevinrue avatar kevinrue commented on August 16, 2024

+1
I have the same issue, and only post here to be notified on updated in this thread
Thanks for the great package!

from paws.

y-fischer avatar y-fischer commented on August 16, 2024

@DyfanJones somehow the solution with the config is not working for me. I guess I have to wait for paws v-0.2.0.
Is there a timeline when paws v-0.2.0 will be released?

from paws.

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.