Skip to content
New issue

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

error while using DNS argument #1

Open
cigeration opened this issue Mar 19, 2024 · 0 comments
Open

error while using DNS argument #1

cigeration opened this issue Mar 19, 2024 · 0 comments

Comments

@cigeration
Copy link

First of all, thanks for ridding us of check-host UI :)
This project seems to be inactive, But if you have the time:

python check-host.py --dns -t google.com

{ info } DNS started at: 19/03/2024 15:36:48
Traceback (most recent call last):data ⣟
File "/data/data/com.termux/files/home/check-host/check-host.py", line 125, in
methods_part()
File "/data/data/com.termux/files/home/check-host/check-host.py", line 102, in methods_part
dns_part(args)
File "/data/data/com.termux/files/home/check-host/src/scripts/methods/dns.py", line 54, in dns_part
print(dns_data_part(data_frame, id_key, index_count))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/check-host/src/scripts/methods/dns.py", line 40, in dns_data_part
return dns_data_part(data_frame, id_key, index_count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/check-host/src/scripts/methods/dns.py", line 40, in dns_data_part
return dns_data_part(data_frame, id_key, index_count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/check-host/src/scripts/methods/dns.py", line 40, in dns_data_part
return dns_data_part(data_frame, id_key, index_count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Previous line repeated 19 more times]
File "/data/data/com.termux/files/home/check-host/src/scripts/methods/dns.py", line 42, in dns_data_part
return dns_data_parser(result_data, data_frame, id_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/check-host/src/scripts/methods/dns.py", line 18, in dns_data_parser
data_frame_temp.loc[count] = [f"{country}, {city}", "no data", "no data", "no data", "no data"]
~~~~~~~~~~~~~~~~~~~^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pandas/core/indexing.py", line 911, in setitem
iloc._setitem_with_indexer(indexer, value, self.name)
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pandas/core/indexing.py", line 1932, in _setitem_with_indexer
self._setitem_with_indexer_missing(indexer, value)
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pandas/core/indexing.py", line 2306, in _setitem_with_indexer_missing
raise ValueError("cannot set a row with mismatched columns")
ValueError: cannot set a row with mismatched columns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant