PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

[BUG] Fatal error on start - Can't run the bot

Open Evuse opened this issue 10 years ago • 9 comments

I was running like a charm the other versions, but on this new 0.4.1 i got serious problems

  1. i start the bot with the cmd: java -jar pogo.scraper-all-0.4.1.jar
  2. i get a long error and bot don't start

Here you are the complete error: [https://gist.github.com/Evuse/39d9aace67a9f11c1d868810b0fd06d8]

Thanks for your time and your knowledge.

Version: [0.4.1]

Evuse avatar Jul 24 '16 22:07 Evuse

#245 known.

Lenovotro avatar Jul 24 '16 22:07 Lenovotro

Make sure your config contains a valid latitude and longitude

Your current config contains no location at all

jabbink avatar Jul 24 '16 22:07 jabbink

@Lenovotro "known" as in incorrect values in the config, yes.

jabbink avatar Jul 24 '16 22:07 jabbink

I have the same config as the 0.4 and 0.3. Latitude and logitude setted:

# Token to login directly
token=
latitude=45.45203287279336
longitude=9.175005555152893

Any ideas?

Evuse avatar Jul 24 '16 22:07 Evuse

My token was expired/bad, try logging in with password.

Forty-Tw0 avatar Jul 24 '16 22:07 Forty-Tw0

Are you sure that config file is in the correct directory? Because that stacktrace doesn't lie, it literally says that it tried to convert empty text to a number on line 60 of Main.kt, which is the latitude

https://github.com/jabbink/PokemonGoBot/blob/develop/src/main/kotlin/ink/abb/pogo/scraper/Main.kt#L60

jabbink avatar Jul 24 '16 22:07 jabbink

Yes i'm pretty sure. schermata 2016-07-25 alle 00 56 23

I'm sure even to have same ignored pokemon on config and on Main.kt

Evuse avatar Jul 24 '16 22:07 Evuse

I do the exactly the same as version 0.3 and 0.4 but 0.4.1 doens't work :(

Evuse avatar Jul 24 '16 23:07 Evuse

0.4.2 adds logging to exactly explain what the file contains according to the bot. Please retry.

jabbink avatar Jul 25 '16 09:07 jabbink