Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error with configuration file #3290

Closed
ghost opened this issue Aug 9, 2016 · 3 comments
Closed

error with configuration file #3290

ghost opened this issue Aug 9, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 9, 2016

docker run --name=pokego-bot1 --rm -it -v $(pwd)/configs/config.json:/usr/src/app/configs/config.json pokemongo-bot
2016-08-09 13:26:23,926 [ cli] [INFO] PokemonGO Bot v1.0
2016-08-09 13:26:23,931 [ cli] [INFO] No config argument specified, checking for /configs/config.json
configs/config.json:3:16: Error: Can not decode value starting with character u'\u201c'
| At line 3, column 16, offset 50
configs/config.json:3:39: Info: Recovering parsing after character u','
| At line 3, column 39, offset 73
configs/config.json:4:16: Error: Can not decode value starting with character u'\u201c'
| At line 4, column 16, offset 92
configs/config.json:4:34: Info: Recovering parsing after character u','
| At line 4, column 34, offset 110
configs/config.json:100:6: Warning: Object contains duplicate key: u'any'
| At line 100, column 6, offset 2665
| Object started at line 98, column 15, offset 2579
configs/config.json:110:6: Warning: Object contains duplicate key: u'// Zubat'
| At line 110, column 6, offset 3220
| Object started at line 98, column 15, offset 2579
configs/config.json: has errors
2016-08-09 13:26:23,980 [ cli] [CRITICAL] Error with configuration file

not sure why but i always get this error with configuration file?

@ghost
Copy link
Author

ghost commented Aug 9, 2016

Still getting the same error. any other suggestions?

@marcocarvalho
Copy link

With suggested:

bot1-pokego_1     | 2016-08-25 02:37:37,208 [       cli] [INFO] PokemonGO Bot v1.0
bot1-pokego_1     | 2016-08-25 02:37:37,226 [       cli] [INFO] commit: not found
bot1-pokego_1     | 2016-08-25 02:37:37,230 [       cli] [INFO] No config argument specified, checking for /configs/config.json
bot1-pokego_1     | /usr/src/app/pokemongo_bot/../configs/config.json:96:24: Error: String literal is not terminated
bot1-pokego_1     |    |  At line 96, column 24, offset 2685 (AT-END)
bot1-pokego_1     |    |    near text: True
bot1-pokego_1     |    |  String started at line 96, column 10, offset 2671
bot1-pokego_1     | /usr/src/app/pokemongo_bot/../configs/config.json:96:24: Error: String literal is not terminated with a quotation mark
bot1-pokego_1     |    |  At line 96, column 24, offset 2685 (AT-END)
bot1-pokego_1     |    |    near text: True
bot1-pokego_1     |    |  String started at line 96, column 10, offset 2671
bot1-pokego_1     | /usr/src/app/pokemongo_bot/../configs/config.json:96:10: Error: Missing value for object property, expected ":"
bot1-pokego_1     |    |  At line 96, column 10, offset 2671
bot1-pokego_1     |    |  Object started at line 93, column 18, offset 2599
bot1-pokego_1     | /usr/src/app/pokemongo_bot/../configs/config.json:96:24: Error: Unexpected end of input
bot1-pokego_1     |    |  At line 96, column 24, offset 2685 (AT-END)
bot1-pokego_1     |    |    near text: True
bot1-pokego_1     | /usr/src/app/pokemongo_bot/../configs/config.json:96:24: Error: Object literal (dictionary) is not terminated
bot1-pokego_1     |    |  At line 96, column 24, offset 2685 (AT-END)
bot1-pokego_1     |    |    near text: True
bot1-pokego_1     |    |  Object started at line 96, column 24, offset 2685 (AT-END)
bot1-pokego_1     |    |    with text: True
bot1-pokego_1     | /usr/src/app/pokemongo_bot/../configs/config.json:96:24: Error: Object literal (dictionary) is not terminated
bot1-pokego_1     |    |  At line 96, column 24, offset 2685 (AT-END)
bot1-pokego_1     |    |    near text: True
bot1-pokego_1     |    |  Object started at line 93, column 18, offset 2599
bot1-pokego_1     | /usr/src/app/pokemongo_bot/../configs/config.json:96:24: Error: Object literal (dictionary) is not terminated
bot1-pokego_1     |    |  At line 96, column 24, offset 2685 (AT-END)
bot1-pokego_1     |    |    near text: True
bot1-pokego_1     |    |  Object started at line 91, column 6, offset 2542
bot1-pokego_1     | /usr/src/app/pokemongo_bot/../configs/config.json:96:24: Error: Array literal (list) is not terminated
bot1-pokego_1     |    |  At line 96, column 24, offset 2685 (AT-END)
bot1-pokego_1     |    |    near text: True
bot1-pokego_1     |    |  Array started at line 11, column 13, offset 358
bot1-pokego_1     | /usr/src/app/pokemongo_bot/../configs/config.json:96:24: Error: Object literal (dictionary) is not terminated
bot1-pokego_1     |    |  At line 96, column 24, offset 2685 (AT-END)
bot1-pokego_1     |    |    near text: True
bot1-pokego_1     |    |  Object started at line 1, column 0, offset 0 (AT-START)
bot1-pokego_1     | /usr/src/app/pokemongo_bot/../configs/config.json: has errors
bot1-pokego_1     | 2016-08-25 02:37:37,295 [       cli] [CRITICAL] Error with configuration file
bot1-pokego_1     | pokemongobot_bot1-pokego_1 exited with code 255```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@marcocarvalho @jrjhealey and others