Repository: charlesbel/Microsoft-Rewards-Farmer

Issue #234: [BUG] Cannot use
Created: 2023-08-01T09:02:43Z
Before submitting a bug report...

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

Describe the bug
PS G:\User\Desktop\Microsoft-Rewards-Farmer-master> python main.py
Traceback (most recent call last):
File "main.py", line 6, in 
from src import Browser, DailySet, Login, MorePromotions, PunchCards, Searches
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src_init_.py", line 1, in 
from .browser import Browser
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src\browser.py", line 11, in 
from src.userAgentGenerator import GenerateUserAgent
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src\userAgentGenerator.py", line 9, in 
class GenerateUserAgent:
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src\userAgentGenerator.py", line 41, in GenerateUserAgent
browserVersions: dict[str, Any] = {}
TypeError: 'type' object is not subscriptable
Copy and paste your error
PS G:\User\Desktop\Microsoft-Rewards-Farmer-master> python main.py
Traceback (most recent call last):
File "main.py", line 6, in 
from src import Browser, DailySet, Login, MorePromotions, PunchCards, Searches
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src_init_.py", line 1, in 
from .browser import Browser
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src\browser.py", line 11, in 
from src.userAgentGenerator import GenerateUserAgent
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src\userAgentGenerator.py", line 9, in 
class GenerateUserAgent:
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src\userAgentGenerator.py", line 41, in GenerateUserAgent
browserVersions: dict[str, Any] = {}
TypeError: 'type' object is not subscriptable
Screenshot of the bug
PS G:\User\Desktop\Microsoft-Rewards-Farmer-master> python main.py
Traceback (most recent call last):
File "main.py", line 6, in 
from src import Browser, DailySet, Login, MorePromotions, PunchCards, Searches
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src_init_.py", line 1, in 
from .browser import Browser
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src\browser.py", line 11, in 
from src.userAgentGenerator import GenerateUserAgent
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src\userAgentGenerator.py", line 9, in 
class GenerateUserAgent:
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src\userAgentGenerator.py", line 41, in GenerateUserAgent
browserVersions: dict[str, Any] = {}
TypeError: 'type' object is not subscriptable
Value of dashboard variable
PS G:\User\Desktop\Microsoft-Rewards-Farmer-master> python main.py
Traceback (most recent call last):
File "main.py", line 6, in 
from src import Browser, DailySet, Login, MorePromotions, PunchCards, Searches
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src_init_.py", line 1, in 
from .browser import Browser
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src\browser.py", line 11, in 
from src.userAgentGenerator import GenerateUserAgent
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src\userAgentGenerator.py", line 9, in 
class GenerateUserAgent:
File "G:\User\Desktop\Microsoft-Rewards-Farmer-master\src\userAgentGenerator.py", line 41, in GenerateUserAgent
browserVersions: dict[str, Any] = {}
TypeError: 'type' object is not subscriptable

Duplicate issue #245: [BUG] 'type' object is not subscriptable
Created: 2023-08-09T14:22:24Z
Before submitting a bug report...

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

Describe the bug
Followed the instructions, added user/pass to the json file and remove .sample. Getting error below.
Copy and paste your error
C:\Users--\Downloads\Microsoft-Rewards-Farmer-master>python main.py
Traceback (most recent call last):
File "main.py", line 6, in 
from src import Browser, DailySet, Login, MorePromotions, PunchCards, Searches
File "C:\Users--\Downloads\Microsoft-Rewards-Farmer-master\src_init_.py", line 1, in 
from .browser import Browser
File "C:\Users--\Downloads\Microsoft-Rewards-Farmer-master\src\browser.py", line 11, in 
from src.userAgentGenerator import GenerateUserAgent
File "C:\Users--\Downloads\Microsoft-Rewards-Farmer-master\src\userAgentGenerator.py", line 9, in 
class GenerateUserAgent:
File "C:\Users--\Downloads\Microsoft-Rewards-Farmer-master\src\userAgentGenerator.py", line 41, in GenerateUserAgent
browserVersions: dict[str, Any] = {}
TypeError: 'type' object is not subscriptable
Screenshot of the bug
N/A
Value of dashboard variable
N/A

Closing comment (2023-08-09T15:01:49Z): duplicate of #234