charlesbel / Microsoft-Rewards-Farmer

A simple bot that uses selenium to farm Microsoft Rewards written in Python
MIT License
1.02k stars 272 forks source link

Name ipapi isn't defined #57

Closed Trappy69420 closed 3 years ago

Trappy69420 commented 3 years ago

Traceback (most recent call last): File "C:\Users\XXX\Downloads\Microsoft-Rewards-Farmer-master\Microsoft-Rewards-Farmer-master\ms_rewards_farmer.py", line 723, in LANG, GEO, TZ = getCCodeLangAndOffset() File "C:\Users\XXX\Downloads\Microsoft-Rewards-Farmer-master\Microsoft-Rewards-Farmer-master\ms_rewards_farmer.py", line 159, in getCCodeLangAndOffset nfo = ipapi.location() NameError: name 'ipapi' is not defined

charlesbel commented 3 years ago

Did you deleted "import ipapi" ??

Trappy69420 commented 3 years ago

Nope

charlesbel commented 3 years ago

If there is the "import ipapi", there is no way to have this error, I don't really understand...

charlesbel commented 3 years ago

could you just open an idle, write import ipapi and then make ipapi.location() to check if this works well

Trappy69420 commented 3 years ago

Ah sorry man. Yes you were correct the ipapi was gone. I opened it up in atom because i got a connection error which was only because I had a vpn active and thought it was something else and accidentally removed ipapi. Thank you so much and have a nice day.