Google.Protobuf error
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):
- Have you validated that your config.json is valid JSON? Use http://jsonlint.com/ to check.
- Have you searched to see if there are other issues for the same issue? If so, comment on that issue instead.
- Are you running
master? We work on thedevbranch and then add that functionality tomaster. Your issue may be fixed ondevand there is no need for this issue, just wait and it will eventually be merged tomaster.
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)
As per the issue template we will need to know your commit, os, python version etc.
Thoses logs comes by the raw log file just after the bot launch, i didnt edited a piece of the code.
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.
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)
I'm pretty sure this is not even from this bot, looks like java code to me
and rocketapi this is not for this bot...