We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi
Tried this script with the setup below: Pi-hole v5.1.2 Web Interface v5.1.1 FTL v5.2
I just get these errors when running it and I have configured the ip and passwords for each of the pi-holes.
root@pihole1:~/pihole-sync# python3 sync.py Traceback (most recent call last): File "sync.py", line 53, in get_list return self._list_cache[list_type] KeyError: <ListType.WHITELIST: 1>
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "sync.py", line 185, in sync_lists(hosts) File "sync.py", line 176, in sync_lists sync_count = _sync_list(hosts, list_type) File "sync.py", line 144, in _sync_list lst = host.get_list(list_type) File "sync.py", line 65, in get_list self._list_cache[ListType.WHITELIST] = results[0] KeyError: 0
Any idea on how to fix this?
Regards. Daniel
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi
Tried this script with the setup below:
Pi-hole v5.1.2 Web Interface v5.1.1 FTL v5.2
I just get these errors when running it and I have configured the ip and passwords for each of the pi-holes.
root@pihole1:~/pihole-sync# python3 sync.py
Traceback (most recent call last):
File "sync.py", line 53, in get_list
return self._list_cache[list_type]
KeyError: <ListType.WHITELIST: 1>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "sync.py", line 185, in
sync_lists(hosts)
File "sync.py", line 176, in sync_lists
sync_count = _sync_list(hosts, list_type)
File "sync.py", line 144, in _sync_list
lst = host.get_list(list_type)
File "sync.py", line 65, in get_list
self._list_cache[ListType.WHITELIST] = results[0]
KeyError: 0
Any idea on how to fix this?
Regards.
Daniel
The text was updated successfully, but these errors were encountered: