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

Problem downloading npz files #11

Open
blackmit opened this issue Dec 18, 2024 · 1 comment
Open

Problem downloading npz files #11

blackmit opened this issue Dec 18, 2024 · 1 comment

Comments

@blackmit
Copy link

Hello! I am having problems downloading the npz files using the scripts get-syn-cora-npz.sh and get-syn-products-npz.sh. When I run either of these scripts, I get the following error message.

/usr/local/lib/python3.9/site-packages/gdown/download.py:33: MarkupResemblesLocatorWarning: The input looks more like a filename than markup. You may want to open this file and pass the filehandle into Beautiful Soup.
  soup = bs4.BeautifulSoup(line, features="html.parser")
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=1gbAE4GwjWQz60e_kBeXe0ID_ODC6dzkE

but Gdown can't. Please check connections and permissions.
./get-syn-products-npz.sh: line 24: sha256sum: command not found
Failed to verify SHA256 checksum. Press any key to continue anyway.

After pressing any key, I get the second message

tar: Error opening archive: Failed to open 'archives/syn-products-npz.tar.gz'

When I click on the link from the above error message, I get this error message from Google.
Screenshot 2024-12-18 at 12 54 19 PM
When I try to download the files from the Google drive links in the comments at the top of the scripts, I get the following error from Google Drive.
Screenshot 2024-12-18 at 12 50 59 PM
Based on these two error messages, I suspect the problem is how the are set permissions in the Google Drive, but I would appreciate any help in fixing this problem.

Thanks again!

@Wangel515
Copy link

I also encountered this error when run ./get-syn-cora.sh.
image

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

No branches or pull requests

2 participants