luxysiv / Cloudflare-Gateway-Pihole

Make ad blocking dns using Cloudflare Gateway Zero Trust
84 stars 142 forks source link

I am getting this since 5 days. Before everything was running fine. #40

Closed luxysiv closed 4 months ago

luxysiv commented 4 months ago
          I am getting this since 5 days. Before everything was running fine.

Run python -m src 2024-06-10 08:50:41.740 | INFO | src:info:50 - Downloaded file from https://raw.githubusercontent.com/hagezi/dns-blocklists/main/wildcard/light-onlydomains.txt File size: 1244590 2024-06-10 08:50:42.010 | INFO | src:info:50 - Downloaded file from https://gitlab.com/fusionjack/adhell3-hosts/-/raw/master/hosts File size: 218535 2024-06-10 08:50:43.655 | INFO | src:info:50 - Downloaded file from https://abpvn.com/android/abpvn.txt File size: 600492 2024-06-10 08:50:43.668 | INFO | src:info:50 - Downloaded file from https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Extension/GoodbyeAds-Xiaomi-Extension.txt File size: 9218 2024-06-10 08:50:43.751 | INFO | src:info:50 - Downloaded file from https://raw.githubusercontent.com/nextdns/native-tracking-domains/main/domains/xiaomi File size: 217 2024-06-10 08:50:43.785 | INFO | src:info:50 - Downloaded file from https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Extension/GoodbyeAds-Samsung-AdBlock.txt File size: 4437 2024-06-10 08:50:43.869 | INFO | src:info:50 - Downloaded file from https://raw.githubusercontent.com/nextdns/native-tracking-domains/main/domains/samsung File size: 92 2024-06-10 08:50:44.237 | INFO | src:info:50 - Downloaded file from https://malware-filter.gitlab.io/malware-filter/vn-badsite-filter-hosts.txt File size: 374452 2024-06-10 08:50:44.286 | INFO | src:info:50 - Downloaded file from https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt File size: 1417556 2024-06-10 08:50:45.092 | INFO | src:info:50 - Downloaded file from https://small.oisd.nl/domainswild2 File size: 840485 2024-06-10 08:50:45.093 | INFO | src:info:50 - Number of whitelisted domains: 1 2024-06-10 08:50:45.881 | INFO | src:info:50 - Number of blocked domains: 122503 2024-06-10 08:50:45.916 | INFO | src:info:50 - Number of final domains: 122502 Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/home/runner/work/Cloudflare-Gateway-Pihole/Cloudflare-Gateway-Pihole/src/main.py", line 86, in cloudflare_manager.run() File "/home/runner/work/Cloudflare-Gateway-Pihole/Cloudflare-Gateway-Pihole/src/main.py", line 41, in run current_lists["result"].sort(key=lambda x: int(re.search(r'\d+', x["name"]).group())) File "/home/runner/work/Cloudflare-Gateway-Pihole/Cloudflare-Gateway-Pihole/src/main.py", line 41, in current_lists["result"].sort(key=lambda x: int(re.search(r'\d+', x["name"]).group())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'group' Error: Process completed with exit code 1.

Originally posted by @axelweichert in https://github.com/luxysiv/Cloudflare-Gateway-Pihole/issues/37#issuecomment-2157862075

luxysiv commented 4 months ago

@axelweichert Can you sync? If it works, please let me know.

axelweichert commented 4 months ago

@axelweichert Can you sync? If it works, please let me know.

Still the same error message.

6s Run python -m src 2024-06-10 14:03:09.068 | INFO | src:info:50 - Downloaded file from https://raw.githubusercontent.com/hagezi/dns-blocklists/main/wildcard/light-onlydomains.txt File size: 1244590 2024-06-10 14:03:09.281 | INFO | src:info:50 - Downloaded file from https://gitlab.com/fusionjack/adhell3-hosts/-/raw/master/hosts File size: 218535 2024-06-10 14:03:11.372 | INFO | src:info:50 - Downloaded file from https://abpvn.com/android/abpvn.txt File size: 600492 2024-06-10 14:03:11.382 | INFO | src:info:50 - Downloaded file from https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Extension/GoodbyeAds-Xiaomi-Extension.txt File size: 9218 2024-06-10 14:03:11.392 | INFO | src:info:50 - Downloaded file from https://raw.githubusercontent.com/nextdns/native-tracking-domains/main/domains/xiaomi File size: 217 2024-06-10 14:03:11.401 | INFO | src:info:50 - Downloaded file from https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Extension/GoodbyeAds-Samsung-AdBlock.txt File size: 4437 2024-06-10 14:03:11.413 | INFO | src:info:50 - Downloaded file from https://raw.githubusercontent.com/nextdns/native-tracking-domains/main/domains/samsung File size: 92 2024-06-10 14:03:11.703 | INFO | src:info:50 - Downloaded file from https://malware-filter.gitlab.io/malware-filter/vn-badsite-filter-hosts.txt File size: 374452 2024-06-10 14:03:11.733 | INFO | src:info:50 - Downloaded file from https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt File size: 1417618 2024-06-10 14:03:12.389 | INFO | src:info:50 - Downloaded file from https://small.oisd.nl/domainswild2 File size: 843148 2024-06-10 14:03:12.390 | INFO | src:info:50 - Number of whitelisted domains: 1 2024-06-10 14:03:13.174 | INFO | src:info:50 - Number of blocked domains: 122607 2024-06-10 14:03:13.209 | INFO | src:info:50 - Number of final domains: 122606 Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/home/runner/work/Cloudflare-Gateway-Pihole/Cloudflare-Gateway-Pihole/src/main.py", line 86, in cloudflare_manager.run() File "/home/runner/work/Cloudflare-Gateway-Pihole/Cloudflare-Gateway-Pihole/src/main.py", line 41, in run current_lists["result"].sort(key=lambda x: int(re.search(r'\d+', x["name"]).group())) File "/home/runner/work/Cloudflare-Gateway-Pihole/Cloudflare-Gateway-Pihole/src/main.py", line 41, in current_lists["result"].sort(key=lambda x: int(re.search(r'\d+', x["name"]).group())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'group' Error: Process completed with exit code 1.

luxysiv commented 4 months ago

You're not update script

luxysiv commented 4 months ago

Please update your forked @axelweichert

axelweichert commented 4 months ago

It runs perfect. Many thanks for your help.

luxysiv commented 4 months ago

It runs perfect. Many thanks for your help.

Thanks for your issue notice