You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:/Users/E5450/PycharmProjects/ItemSubjector/main.py", line 8, in <module>
from helpers.menus import select_task
File "C:\Users\E5450\PycharmProjects\ItemSubjector\helpers\menus.py", line 19, in <module>
from tasks import tasks
File "C:\Users\E5450\PycharmProjects\ItemSubjector\tasks.py", line 46, in <module>
scholarly_items.fetch_scientific_articles_without_main_subject()
File "C:\Users\E5450\PycharmProjects\ItemSubjector\tasks.py", line 12, in fetch_scientific_articles_without_main_subject
results = (execute_sparql_query(f'''
File "C:\Users\E5450\PycharmProjects\ItemSubjector\venv\lib\site-packages\backoff\_sync.py", line 94, in retry
ret = target(*args, **kwargs)
File "C:\Users\E5450\PycharmProjects\ItemSubjector\venv\lib\site-packages\wikibaseintegrator\wbi_helpers.py", line 159, in execute_sparql_query
if urlparse(endpoint).hostname.endswith(('wikidata.org', 'wikipedia.org', 'wikimedia.org')) and user_agent is None:
AttributeError: 'NoneType' object has no attribute 'endswith'
the code is here
The text was updated successfully, but these errors were encountered: