AzizKpln / Moriarty-Project

This tool gives information about the phone number that you entered.
MIT License
1.5k stars 217 forks source link

Owner Name/Number Information: Traceback (most recent call last): #42

Closed mrknock01 closed 2 years ago

mrknock01 commented 3 years ago

when i run the tool : python3 Moriarty.py -n +201xxxxxxxx

it gives me this error : Owner Name/Number Information:

Traceback (most recent call last): File "/home/mrlink/Downloads/Moriarty-Project/Moriarty.py", line 166, in microsoft_mail(options.phone_number,options.microsoft_mail_address,options.mail_password) File "/home/mrlink/Downloads/Moriarty-Project/Moriarty.py", line 61, in microsoft_mail WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.NAME, "loginfmt"))).send_keys(username) File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webelement.py", line 540, in send_keys {'text': "".join(keys_to_typing(value)), File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/utils.py", line 146, in keys_to_typing for i in range(len(val)): TypeError: object of type 'NoneType' has no len()

traderpedroso commented 2 years ago

when i run the tool :

python3 Moriarty.py -n +201xxxxxxxx

it gives me this error :

Owner Name/Number Information:

Traceback (most recent call last):

File "/home/mrlink/Downloads/Moriarty-Project/Moriarty.py", line 166, in

microsoft_mail(options.phone_number,options.microsoft_mail_address,options.mail_password)

File "/home/mrlink/Downloads/Moriarty-Project/Moriarty.py", line 61, in microsoft_mail

WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.NAME, "loginfmt"))).send_keys(username)

File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webelement.py", line 540, in send_keys

{'text': "".join(keys_to_typing(value)),

File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/utils.py", line 146, in keys_to_typing

for i in range(len(val)):

TypeError: object of type 'NoneType' has no len()

Use Python3.7 or could try to len(int(val))

AzizKpln commented 2 years ago

Updated