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

Issues with different keyboard layout letters #230

Open
2 tasks done
elofajnekonto opened this issue Dec 2, 2024 · 3 comments
Open
2 tasks done

Issues with different keyboard layout letters #230

elofajnekonto opened this issue Dec 2, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@elofajnekonto
Copy link

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

24a63e4

Describe the bug

The program has issues with entering phrases containing polish letters. Screenshot attached how does it look like

Copy and paste your error

2024-12-02 20:03:14,261 [INFO] [MORE PROMOS] Exiting
2024-12-02 20:03:14,265 [INFO] [BING] Starting Desktop Edge Bing searches...
2024-12-02 20:03:19,455 [INFO] [BING] Remaining searches=26
2024-12-02 20:03:23,435 [DEBUG] terms=['ostrzeżenie przed mgłą']
2024-12-02 20:03:23,435 [DEBUG] rootTerm=ostrzeżenie przed mgłą
2024-12-02 20:03:23,495 [DEBUG] term=ostrzeżenie przed mgłą
2024-12-02 20:03:45,984 [DEBUG] error send_keys
2024-12-02 20:03:46,016 [DEBUG] term=ostrzeżenie przed mgłą
2024-12-02 20:04:08,465 [DEBUG] error send_keys
2024-12-02 20:04:08,494 [DEBUG] term=ostrzeżenie przed mgłą
2024-12-02 20:04:30,940 [DEBUG] error send_keys
2024-12-02 20:04:30,972 [DEBUG] term=ostrzeżenie przed mgłą
2024-12-02 20:04:53,425 [DEBUG] error send_keys
2024-12-02 20:04:53,458 [DEBUG] term=ostrzeżenie przed mgłą
2024-12-02 20:05:15,957 [DEBUG] error send_keys
2024-12-02 20:05:15,990 [DEBUG] term=ostrzeżenie przed mgłą
2024-12-02 20:05:38,413 [DEBUG] error send_keys
2024-12-02 20:05:38,440 [DEBUG] term=ostrzeżenie przed mgłą
2024-12-02 20:06:00,887 [DEBUG] error send_keys
2024-12-02 20:06:00,917 [DEBUG] term=ostrzeżenie przed mgłą
2024-12-02 20:06:23,383 [DEBUG] error send_keys

Screenshots

image
image

Value of dashboard variable

https://gist.github.com/elofajnekonto/612f745a1e933ae8a0100c9fa2b12c7f

@elofajnekonto elofajnekonto added the bug Something isn't working label Dec 2, 2024
@nicoacu
Copy link

nicoacu commented Dec 3, 2024

just to confirm i have the same issue when the terms list uses a ' (example: mc'donalds) or some other similar symbol (e.g: combinación which is a word in spanish would also give me this error. I use --lang en now but still have the other problem)

@cal4
Copy link
Collaborator

cal4 commented Dec 3, 2024

Try develop and see if you have any luck there

@elofajnekonto
Copy link
Author

Can't launch develop branch

ERROR:root:
Traceback (most recent call last):
File "C:\Users\pppppp\Desktop\MS-Rewards-Farmer-develop\main.py", line 39, in main
earned_points = executeBot(currentAccount, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pppppp\Desktop\MS-Rewards-Farmer-develop\main.py", line 234, in executeBot
with Browser(mobile=False, account=currentAccount, args=args) as desktopBrowser:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pppppp\Desktop\MS-Rewards-Farmer-develop\src\browser.py", line 41, in init
self.localeLang, self.localeGeo = self.getLanguageCountry(args.lang, args.geo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pppppp\Desktop\MS-Rewards-Farmer-develop\src\browser.py", line 237, in getLanguageCountry
).alpha_2
^^^^^^^
AttributeError: 'NoneType' object has no attribute 'alpha_2'

@elofajnekonto elofajnekonto mentioned this issue Jan 7, 2025
2 tasks
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

3 participants