reddit-place-script-2022 icon indicating copy to clipboard operation
reddit-place-script-2022 copied to clipboard

[BUG] Error on running start.bat

Open FinchyMcFinch opened this issue 3 years ago • 2 comments

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:

  1. 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] } } }

  2. Go to command prompt and enter the bot's folder

  3. Type 'start.bat -d' and press enter

  4. Scroll down to the bottom of the window

  5. See error

Expected behavior

I expected the bot to start running the program instead of giving me an error.

Additional context

None.

FinchyMcFinch avatar Apr 03 '22 07:04 FinchyMcFinch

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.

rdeepak2002 avatar Apr 03 '22 07:04 rdeepak2002

I would also suggest redacting your config (assuming the code you have is a direct mirror!)

GithubKillsMyOpsec avatar Apr 03 '22 18:04 GithubKillsMyOpsec