Skip to content

Error while retrieving public link of file while installing dependencies in Colab #9

@Lefrunila

Description

@Lefrunila
---------------------------------------------------------------------------

FileURLRetrievalError                     Traceback (most recent call last)

[/usr/local/lib/python3.12/dist-packages/gdown/download.py](https://localhost:8080/#) in download(url, output, quiet, proxy, speed, use_cookies, verify, id, fuzzy, resume, format, user_agent, log_messages)
    266         try:
--> 267             url = get_url_from_gdrive_confirmation(res.text)
    268         except FileURLRetrievalError as e:

3 frames

FileURLRetrievalError: 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. Check FAQ in https://github.com/wkentaro/gdown?tab=readme-ov-file#faq.


During handling of the above exception, another exception occurred:

FileURLRetrievalError                     Traceback (most recent call last)

[/usr/local/lib/python3.12/dist-packages/gdown/download.py](https://localhost:8080/#) in download(url, output, quiet, proxy, speed, use_cookies, verify, id, fuzzy, resume, format, user_agent, log_messages)
    276                 url_origin,
    277             )
--> 278             raise FileURLRetrievalError(message)
    279 
    280     filename_from_url = None

FileURLRetrievalError: Failed to retrieve file url:

	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.
	Check FAQ in https://github.com/wkentaro/gdown?tab=readme-ov-file#faq.

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

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

but Gdown can't. Please check connections and permissions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions