Skip to content

AttributeError: The daily list for this date is currently unavailable - date 2025-03-05 #12

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

Open
nandishaivalli opened this issue Mar 7, 2025 · 2 comments

Comments

@nandishaivalli
Copy link

>>>tranco.list(date="2025-03-05")
<tranco.tranco.TrancoList object at 0x76515ff57d90>
>>> tranco.list(date="2025-03-06")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.11/site-packages/tranco/tranco.py", line 125, in list
    list_id = self._get_list_id_for_date(date, subdomains=subdomains)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/tranco/tranco.py", line 143, in _get_list_id_for_date
    raise AttributeError("The daily list for this date is currently unavailable.")
AttributeError: The daily list for this date is currently unavailable.
pip show tranco
Name: tranco
Version: 0.8.1
Summary: Tranco: A Research-Oriented Top Sites Ranking Hardened Against Manipulation
Home-page: https://github.com/DistriNet/tranco-python-package
Author: Victor Le Pochat
Author-email: [email protected]
License: 
Location: /usr/local/lib/python3.11/site-packages
Requires: requests
Required-by: 

help me resolve

@nandishaivalli
Copy link
Author

#2
Same as here
any error handling techinique

@adamtss
Copy link

adamtss commented Apr 14, 2025

When that happens your best bet is to request the list for an earlier date. The only other option I know of is to wait until they fix the issue on the Tranco backend.

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