The script stops working at the end of Desktop searches at the moment when Mobile searches should start.
I have had this problem for weeks but have ignored it since, apart from that, the script otherwise works.
2025-05-03 17:36:53,680 [INFO] [COOLDOWN] Waiting for 483 seconds
2025-05-03 17:45:09,101 [INFO] [BING] Remaining searches=RemainingSearches(desktop=0, mobile=17)
2025-05-03 17:45:09,103 [INFO] [BING] Finished Desktop Edge Bing searches !
2025-05-03 17:45:09,480 [DEBUG] in __exit__ exc_type=<class 'TypeError'> exc_value='NoneType' object is not subscriptable traceback=<traceback object at 0x16814d300>
2025-05-03 17:45:12,402 [ERROR]
Traceback (most recent call last):
File "/Users/username/tmp/MS-Rewards-Farmer/main.py", line 33, in main
earned_points = executeBot(currentAccount)
File "/Users/username/tmp/MS-Rewards-Farmer/main.py", line 165, in executeBot
goalPoints = utils.getGoalPoints()
File "/Users/username/tmp/MS-Rewards-Farmer/src/utils.py", line 329, in getGoalPoints
return self.getBingInfo()["flyoutResult"]["userGoal"]["price"]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
2025-05-03 17:45:12,450 [INFO] [POINTS] Data saved for the next day.
The window closes.
Before submitting a bug report...
This bug wasn't already reported.
(I have checked every bug report on GitHub)
I've ran the program with the -r argument.
Branch
develop
Commit
d584fbe
Describe the bug
The script stops working at the end of Desktop searches at the moment when Mobile searches should start.
I have had this problem for weeks but have ignored it since, apart from that, the script otherwise works.
Import the logs
Screenshots
The window closes.
Value of dashboard variable
https://gist.github.com/A2beyond/8b598acc06c917006f490d8754bb907c