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

Cannot use gdown command when building Dockerfile #162

Open
anhquan075 opened this issue Feb 27, 2022 · 3 comments
Open

Cannot use gdown command when building Dockerfile #162

anhquan075 opened this issue Feb 27, 2022 · 3 comments
Labels
bug for issue

Comments

@anhquan075
Copy link

Hello,
I got an issue when I build a docker image and use gdown command to download my component into the image. But I always got the errors like the image below. Using the latest version with a direct link and still got this error. So I try to downgrade to 4.3.0 version but got the same one.

Notes: I turned on the 'Anyone with the link' for the file already.
image

@htluandc2
Copy link

I can download all public google drive on my computer (mac-os) by gdown, but it isn't run on server (ubuntu-18-04).
It also "Cannot retrieve the public link of the file...."
Hope it useful.

@htluandc2
Copy link

@wkentaro This is my response text when I used gdown on server (aws). I type print(res.text) on download.py.
I still can download full link on my local computer :
Screenshot 2022-12-08 at 12 09 09

@htluandc2
Copy link

htluandc2 commented Dec 8, 2022

I fixed by change speed of dowloader to less 2MB/s

try:
  link_file = gdown.download(link, 'gg/', quiet=False, speed=2000*1024)
except  Exception as e:
  link_file = None
  print(e)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug for issue
Projects
None yet
Development

No branches or pull requests

3 participants