Microsoft-Rewards-Farmer icon indicating copy to clipboard operation
Microsoft-Rewards-Farmer copied to clipboard

[BUG] happens when trying to run main.py

Open CodeBanana69 opened this issue 1 year ago • 4 comments

Before submitting a bug report...

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

Title

  • [X] The title is no longer "[BUG] Title" and I edited it with the right error name.

Describe the bug

happens when trying to run main.py doesnt happen when more than 1 account

Copy and paste your error

                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\json_init_.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 5 column 3 (char 80)

Screenshots

Screenshot 2023-09-15 214410

Value of dashboard variable

?

CodeBanana69 avatar Sep 16 '23 04:09 CodeBanana69

oops didnt mean to close

CodeBanana69 avatar Sep 16 '23 04:09 CodeBanana69

it appears as though your accounts.json file may be missing something....

klept0 avatar Sep 16 '23 23:09 klept0

looks like I forgot a comma. make sure when you are removing the proxy line. remove the comma after the password.

GOOD : [ { "username": "Your Email 1", "password": "Your Password 1" }, { "username": "Your Email 2", "password": "Your Password 2" } ]

BAD : [ { "username": "Your Email 1", "password": "Your Password 1", }, { "username": "Your Email 2", "password": "Your Password 2", } ]

CodeBanana69 avatar Sep 16 '23 23:09 CodeBanana69

glad that helped - make sure this is closed if all good

klept0 avatar Sep 16 '23 23:09 klept0