reddit-place-script-2022
reddit-place-script-2022 copied to clipboard
[BUG] Error on running start.bat
Bug Report Form
Checklist
- [x] I am using the latest version of the code.
- [x] I am absolutely sure I read the README in its entirety.
- [x] I have made sure this is not a duplicate issue.
- [x] I have filled out this form correctly.
Describe the bug
When I try to run start.bat, I get the following error message: 2022-04-03 16:52:15.021 | ERROR | main:init:51 - Failed setting options from json. Please read README and check if you have everything in correctly. If issues are still happening then create a issue
To Reproduce
Steps to trigger the bug:
-
Set up config.json I created a new file, named it config.json, copied the contents from confix_example.json, and filled in the parameters. Here's the final file: { "image_path": "image.png", "image_start_coords": [3, 911], "thread_delay": 0, "unverified_place_frequency": false, "workers": { "FinchyMcFinch": { "password": "9732code", "client_id": "2yOlM-lEuJMM_A3tG4S1NQ", "client_secret": "6vzC5CmSBNEXc_0-O2klh8HXXiJyuw", "start_coords": [0, 0] }, "finchplace1": { "password": "9732code", "client_id": "2yOlM-lEuJMM_A3tG4S1NQ", "client_secret": "6vzC5CmSBNEXc_0-O2klh8HXXiJyuw", "start_coords": [0, 20] } } }
-
Go to command prompt and enter the bot's folder
-
Type 'start.bat -d' and press enter
-
Scroll down to the bottom of the window
-
See error
Expected behavior
I expected the bot to start running the program instead of giving me an error.
Additional context
None.
We recently pushed a fix regarding an issue with config.json where it was expecting a proxy value. Please try pulling the latest. Lmk if the issue persists.
I would also suggest redacting your config (assuming the code you have is a direct mirror!)