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

Download error in shareable files for all #222

Closed
rmcpantoja opened this issue Nov 24, 2022 · 8 comments
Closed

Download error in shareable files for all #222

rmcpantoja opened this issue Nov 24, 2022 · 8 comments
Labels
bug for issue

Comments

@rmcpantoja
Copy link

rmcpantoja commented Nov 24, 2022

Provide environment information

gdown


!pip install --upgrade gdown
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Requirement already satisfied: gdown in /usr/local/lib/python3.7/dist-packages (4.4.0)
Collecting gdown
Downloading gdown-4.5.3.tar.gz (14 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: requests[socks] in /usr/local/lib/python3.7/dist-packages (from gdown) (2.23.0)
Requirement already satisfied: filelock in /usr/local/lib/python3.7/dist-packages (from gdown) (3.8.0)
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.7/dist-packages (from gdown) (4.6.3)
Requirement already satisfied: tqdm in /usr/local/lib/python3.7/dist-packages (from gdown) (4.64.1)
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from gdown) (1.15.0)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests[socks]->gdown) (2.10)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests[socks]->gdown) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests[socks]->gdown) (2022.9.24)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests[socks]->gdown) (1.24.3)
Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /usr/local/lib/python3.7/dist-packages (from requests[socks]->gdown) (1.7.1)
Building wheels for collected packages: gdown
Building wheel for gdown (PEP 517) ... done
Created wheel for gdown: filename=gdown-4.5.3-py3-none-any.whl size=14840 sha256=fdaea97d99cdc8974543d3ebb8a8a68152e8d1f7d9f1309bc7f42375ba891c8a
Stored in directory: /root/.cache/pip/wheels/94/8d/0b/bdcd83555c3555f91a33f6c2384428d9f163c7d75ab0d272b4
Successfully built gdown
Installing collected packages: gdown
Attempting uninstall: gdown
Found existing installation: gdown 4.4.0
Uninstalling gdown-4.4.0:
Successfully uninstalled gdown-4.4.0
Successfully installed gdown-4.5.3

Error:

!gdown 1l1m7_TJT_lNODrB7Ex7IL1Sl86Hiqwtq
Access denied with the following error:

Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses. 

You may still be able to access the file from the browser:

 https://drive.google.com/uc?id=1l1m7_TJT_lNODrB7Ex7IL1Sl86Hiqwtq 

What OS are you using?

Ubuntu (Google colab version)

Describe the Bug

Cheers,
In the last few hours Gdown is not able to download any files from drive, even though access to the file is set to share with anyone who has the link.
This problem is confirmed as other users have it too when downloading. Specifically, by running gdown.download or the gdown command at a command prompt.

Expected Behavior

File download expected

To Reproduce

This is a screenshot I've taken, trying to download a file from Google Drive with gdown.

@mexico76
Copy link

Have the same problem. File size less then 1Gb.

@NPap0
Copy link

NPap0 commented Nov 24, 2022

Encountered the same issue when I accidentally deleted a file then re-uploaded right after(Had it in my storage for a month before). Got a new ID but this time I get the error. File is around 500MB.
^If you download the file manually via link you get the prompt that the file is too big for the anti-virus to scan.
(#224 I've used this solution to fix the issue)

@shinzopro
Copy link

i'm in trouble too
#224
I've been using gdown on colab as part of my naive artistic enjoyment.
If I wait for the approval of this #224 revision, will gdown start working again with the same code as before?🥺
I have already moved some files to the hugging face and wget

@upright2003
Copy link

What spaces are available to use wget ?

@wkentaro
Copy link
Owner

Closed via #222

@wkentaro
Copy link
Owner

Released v4.5.4!

pip install gdown==4.5.4 --no-cache-dir

image

@rmcpantoja
Copy link
Author

And now the same thing is repeated. With the current version of gdown cannot download these files either.

@lehuyduc
Copy link

Can also confirm that it just happened again.

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

Successfully merging a pull request may close this issue.

7 participants