Closed spirillen closed 3 months ago
Frustration... I've swiched to CSV to avoif the dict issue, only to get this...
Process pyfunceble_producer_worker_1:
Traceback (most recent call last):
File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/home/$USER/.local/lib/python3.11/site-packages/PyFunceble/cli/processes/workers/base.py", line 395, in run
raise exception
File "/home/$USER/.local/lib/python3.11/site-packages/PyFunceble/cli/processes/workers/base.py", line 373, in run
result = self.target(consumed)
^^^^^^^^^^^^^^^^^^^^^
File "/home/$USER/.local/lib/python3.11/site-packages/PyFunceble/cli/processes/workers/producer.py", line 406, in target
self.collection_query_tool.push(test_result)
File "/home/$USER/.local/lib/python3.11/site-packages/PyFunceble/query/collection.py", line 393, in wrapper
return func(self, *args, **kwargs) # pylint: disable=not-callable
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/$USER/.local/lib/python3.11/site-packages/PyFunceble/query/collection.py", line 511, in push
self.__push_whois(checker_status)
File "/home/$USER/.local/lib/python3.11/site-packages/PyFunceble/query/collection.py", line 626, in __push_whois
raise TypeError(f"<data> should be {dict}, {type(data)} given.")
TypeError: <data> should be <class 'dict'>, <class 'PyFunceble.checker.availability.status.AvailabilityCheckerStatus'> given.
Wondering who wrote these lines years ago... don't you blame me.... :smile: :smirk:
https://github.com/funilrys/PyFunceble/blob/dev/docs/facts/known_issues.rst?plain=1#L71-L104
There is a thing or two, that is confusing...
SELECT COUNT(*) FROM pyfunceble_whois_record
WHERE id IS NOT NULL;
returns 58595
records (from a clean "installed" db) So which domain is causing this issue, that is missing from the log. Meaning already building the WHOIS db from scratch?
--logging-level debug
Unlike what I was believing, this issue is not related to WRITE data, but to READ data...
This is still a issue in 4.2.7
```python
pyfunceble --output-location ./ -f ad_servers.txt emd.txt exp.txt fsa.txt grm.txt hjk.txt mmt.txt pha.txt psh.txt pup.txt
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Subject Status Source Expiration Date Registrar HTTP Code Checker
---------------------------------------------------------------------------------------------------- ----------- ---------- ----------------- ------------------------------ ---------- -------------
005.free-counter.co.uk ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
006.free-counter.co.uk ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
007.free-counter.co.uk ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
04fd-74b3-b2f6-c645.reporo.net ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
008.free-counter.co.uk ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
06c5-dbbd-eb79-4cd4.reporo.net ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
060810131024.c.mystat-in.net ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
02gzx.voluumtrk.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
007.go2cloud.org ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
011i5.voluumtrk.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
0602v.voluumtrk.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
05ni7.voluumtrk.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
06rph.voluumtrk.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
0075-7112-e7eb-f9b9.reporo.net ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
08.185.87.08.liveadvert.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
08.185.87.05.liveadvert.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
08.185.87.100.liveadvert.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
08.185.87.09.liveadvert.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
08.185.87.03.liveadvert.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
08.185.87.1.liveadvert.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
08.185.87.04.liveadvert.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
050003.voodoo.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
08.185.87.06.liveadvert.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
08.185.87.10.liveadvert.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
08.185.87.101.liveadvert.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
08.185.87.07.liveadvert.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
08.185.87.103.liveadvert.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
08.185.87.104.liveadvert.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
0124498474f7c13ac9a2-6b191446002b31342189d56cabcf5227.r11.cf2.rackcdn.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
050005.voodoo.com ACTIVE DNSLOOKUP Unknown Unknown Unknown AVAILABILITY
Process pyfunceble_producer_worker_1:
Traceback (most recent call last):
File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/home/spirillen/.local/lib/python3.11/site-packages/PyFunceble/cli/processes/workers/base.py", line 395, in run
raise exception
File "/home/spirillen/.local/lib/python3.11/site-packages/PyFunceble/cli/processes/workers/base.py", line 373, in run
result = self.target(consumed)
^^^^^^^^^^^^^^^^^^^^^
File "/home/spirillen/.local/lib/python3.11/site-packages/PyFunceble/cli/processes/workers/producer.py", line 406, in target
self.collection_query_tool.push(test_result)
File "/home/spirillen/.local/lib/python3.11/site-packages/PyFunceble/query/collection.py", line 393, in wrapper
return func(self, *args, **kwargs) # pylint: disable=not-callable
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/spirillen/.local/lib/python3.11/site-packages/PyFunceble/query/collection.py", line 511, in push
self.__push_whois(checker_status)
File "/home/spirillen/.local/lib/python3.11/site-packages/PyFunceble/query/collection.py", line 626, in __push_whois
raise TypeError(f" should be {dict}, {type(data)} given.")
TypeError: should be
When can We expect it to be fixed or see the rust release?
Description
Configuration
Reproduction
pyfunceble -f https://gist.githubusercontent.com/okutbay/5b4974b70673dfdcc21c517632c1f984/raw/5bbdaba2927a5a5e751243daa251a9d242f3de0b/free_email_provider_domains.txt --local --dns-protocol HTTPS --dns "https://dns10.quad9.net/dns-query","https://anycast.censurfridns.dk/dns-query","https://unicast.censurfridns.dk/dns-query"
Expected behavior
Screenshots
Versions
OS: ubu 22.04
Python Version: 3.11
PyFunceble Version:
Additional context