nanos / FediFetcher

FediFetcher is a tool for Mastodon that automatically fetches missing replies and posts from other fediverse instances, and adds them to your own Mastodon instance.
https://blog.thms.uk/fedifetcher?utm_source=github
MIT License
309 stars 230 forks source link

Job Fails with UnboundLocalError: local variable 'nodeLoc' referenced before assignment #82

Closed nanos closed 1 year ago

nanos commented 1 year ago
Traceback (most recent call last):
  File "find_posts.py", line 1398, in <module>
    add_user_posts(arguments.server, token, filter_known_users(mentioned_users, all_known_users), recently_checked_users, all_known_users, seen_urls, seen_hosts)
  File "find_posts.py", line 73, in add_user_posts
    posts = get_user_posts(user, known_followings, server, seen_hosts)
  File "find_posts.py", line 119, in get_user_posts
    post_server = get_server_info(parsed_url[0], seen_hosts)
  File "find_posts.py", line 1191, in get_server_info
    nodeinfo = get_nodeinfo(server, seen_hosts)
  File "find_posts.py", line 1141, in get_nodeinfo
    if nodeLoc is None:
UnboundLocalError: local variable 'nodeLoc' referenced before assignment