PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Google.Protobuf error

Open SkyBBBlue opened this issue 10 years ago • 6 comments

Hi, Just after launching the bot, i got this

[16:14:31] Error reloading Pokemon list: SkipLastField called on an end-group tag, indicating that the corresponding start-group was missing
[16:14:31] Error: Google.Protobuf
[16:14:31] Google.Protobuf.InvalidProtocolBufferException: SkipLastField called on an end-group tag, indicating that the corresponding start-group was missing
   à Google.Protobuf.CodedInputStream.SkipLastField()
   à POGOProtos.Networking.Envelopes.ResponseEnvelope.MergeFrom(CodedInputStream input)
   à PokemonGo.RocketAPI.Extensions.HttpClientExtensions.<PostProto>d__2`1.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   à PokemonGo.RocketAPI.Rpc.BaseRpc.<PostProto>d__14`1.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   à PokemonGo.RocketAPI.Rpc.Login.<SetServer>d__4.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
   à PokemonGo.RocketAPI.Rpc.Login.<DoLogin>d__3.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   à PokemonGo.RocketAPI.Logic.Logic.<Execute>d__9.MoveNext()
[16:14:31] Trying to Restart.
[16:14:31] Restarting in 10 Seconds.
[16:14:32] Error reloading Pokemon list: SkipLastField called on an end-group tag, indicating that the corresponding start-group was missing
[16:14:33] Error reloading Pokemon list: SkipLastField called on an end-group tag, indicating that the corresponding start-group was missing
[16:14:37] Error reloading Pokemon list: SkipLastField called on an end-group tag, indicating that the corresponding start-group was missing
[16:14:38] Error reloading Pokemon list: SkipLastField called on an end-group tag, indicating that the corresponding start-group was missing
[16:14:39] Error reloading Pokemon list: SkipLastField called on an end-group tag, indicating that the corresponding start-group was missing

Can someone help me to fix it ? Thank you.

Stop! Before you create this issue (you can delete this section when opening the issue):

  1. Have you validated that your config.json is valid JSON? Use http://jsonlint.com/ to check.
  2. Have you searched to see if there are other issues for the same issue? If so, comment on that issue instead.
  3. Are you running master? We work on the dev branch and then add that functionality to master. Your issue may be fixed on dev and there is no need for this issue, just wait and it will eventually be merged to master.

Expected Behavior

Actual Behavior

Your config.json (remove your credentials and any other private info)

your config here

Steps to Reproduce

Other Information

OS: Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here) Python Version: (run 'python -V' and paste it here)

SkyBBBlue avatar Aug 15 '16 20:08 SkyBBBlue

As per the issue template we will need to know your commit, os, python version etc.

jrjhealey avatar Aug 15 '16 20:08 jrjhealey

Thoses logs comes by the raw log file just after the bot launch, i didnt edited a piece of the code.

SkyBBBlue avatar Aug 15 '16 20:08 SkyBBBlue

That's not the point. We need that information to verify whether you've installed everything correctly and this is an actual bug, or is user error.

I've edited your OP with the template again, please fill it in.

jrjhealey avatar Aug 15 '16 20:08 jrjhealey

try executing pip install --upgrade -r requirements.txt from command line in the root directory of the bot (i.e make sure you have the latest pgoapi)

drricksanchez321 avatar Aug 15 '16 21:08 drricksanchez321

I'm pretty sure this is not even from this bot, looks like java code to me

k4n30 avatar Aug 16 '16 05:08 k4n30

and rocketapi this is not for this bot...

AcorpBG avatar Aug 16 '16 10:08 AcorpBG