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

getCCodeLang function error #242

Open
2 tasks done
Ma1rwan opened this issue Dec 14, 2024 · 0 comments
Open
2 tasks done

getCCodeLang function error #242

Ma1rwan opened this issue Dec 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Ma1rwan
Copy link

Ma1rwan commented Dec 14, 2024

Before submitting a bug report...

  • This bug wasn't already reported.
    (I have checked every bug report on GitHub)

  • I've cleared the sessions folder.

Branch

master

Commit

fix getCCodeLang function

Describe the bug

I have "fixed" the issue enough for it to not crash the script by a try statement but i hope you guys can fix the full issue bcs im still saying some bugs

Copy and paste your error

Traceback (most recent call last):
File "C:\Users\black2\Desktop\MS-Rewards-Farmer\main.py", line 40, in main
earned_points = executeBot(currentAccount, args)
File "C:\Users\black2\Desktop\MS-Rewards-Farmer\main.py", line 235, in executeBot
with Browser(mobile=False, account=currentAccount, args=args) as desktopBrowser:
File "C:\Users\black2\Desktop\MS-Rewards-Farmer\src\browser.py", line 36, in init
self.localeLang, self.localeGeo = self.getCCodeLang(args.lang, args.geo)
File "C:\Users\black2\Desktop\MS-Rewards-Farmer\src\browser.py", line 206, in getCCodeLang
nfo = ipapi.location()
File "C:\Users\black2\AppData\Local\Programs\Python\Python310\lib\site-packages\ipapi\ipapi.py", line 83, in location
raise AuthorizationFailed(data)

Screenshots

llllllllllllllllll

Value of dashboard variable

jjjlllllllllll

@Ma1rwan Ma1rwan added the bug Something isn't working label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant