Coder Social home page Coder Social logo

Comments (8)

nborrmann avatar nborrmann commented on July 19, 2024 1

Imo this should show an error message (and possibly retry) and not a stack trace.

from pgoapi.

tejado avatar tejado commented on July 19, 2024

I guess, just a server issue if they are too busy or offline.
I rewrote the codebase. If this happens again, please notify me :) Thanks for reporting.

from pgoapi.

nborrmann avatar nborrmann commented on July 19, 2024

Still an issue after the rewrite.

$ python pokecli.py -a ptc -u xxx -p xxx -l "Muenchen"
2016-07-19 17:01:30,266 [   pokecli] [ INFO] Your given location: Munich, Germany
2016-07-19 17:01:30,266 [   pokecli] [ INFO] lat/long/alt: 48.1351253 11.5819806 0.0
2016-07-19 17:01:30,269 [  auth_ptc] [ INFO] Login for: xxx
2016-07-19 17:01:31,082 [  auth_ptc] [ INFO] PTC Login successful
2016-07-19 17:01:31,082 [    pgoapi] [ INFO] Starting RPC login sequence (app simulation)
2016-07-19 17:01:31,084 [    pgoapi] [ INFO] Create new request...
2016-07-19 17:01:31,084 [    pgoapi] [ INFO] Adding 'GET_PLAYER' to RPC request
2016-07-19 17:01:31,085 [    pgoapi] [ INFO] Adding 'GET_HATCHED_EGGS' to RPC request
2016-07-19 17:01:31,085 [    pgoapi] [ INFO] Adding 'GET_INVENTORY' to RPC request
2016-07-19 17:01:31,085 [    pgoapi] [ INFO] Adding 'CHECK_AWARDED_BADGES' to RPC request
2016-07-19 17:01:31,085 [    pgoapi] [ INFO] Adding 'DOWNLOAD_SETTINGS' to RPC request including arguments
2016-07-19 17:01:31,085 [    pgoapi] [ INFO] Execution of RPC
2016-07-19 17:01:33,936 [    pgoapi] [ INFO] Cleanup of request!
2016-07-19 17:01:33,940 [    pgoapi] [ INFO] Finished RPC login sequence (app simulation)
2016-07-19 17:01:33,940 [    pgoapi] [ INFO] Login process completed
2016-07-19 17:01:33,940 [    pgoapi] [ INFO] Create new request...
2016-07-19 17:01:33,940 [    pgoapi] [ INFO] Adding 'GET_PLAYER' to RPC request
2016-07-19 17:01:33,944 [    pgoapi] [ INFO] Adding 'GET_MAP_OBJECTS' to RPC request including arguments
2016-07-19 17:01:33,944 [    pgoapi] [ INFO] Execution of RPC
Traceback (most recent call last):
  File "pokecli.py", line 162, in <module>
    main()
  File "pokecli.py", line 155, in main
    response_dict = api.call()
  File "D:\Users\Test\Downloads\poke\pgoapi\pgoapi\pgoapi.py", line 78, in call
    response = request.request(api_endpoint, self._req_method_list, player_position)
  File "D:\Users\Test\Downloads\poke\pgoapi\pgoapi\rpc_api.py", line 84, in request
    response_dict = self._parse_main_request(response, subrequests)
  File "D:\Users\Test\Downloads\poke\pgoapi\pgoapi\rpc_api.py", line 160, in _parse_main_request
    response_proto.ParseFromString(response_raw.content)
  File "D:\Program Files\python27\lib\site-packages\google\protobuf\message.py", line 186, in ParseFromString
    self.MergeFromString(serialized)
  File "D:\Program Files\python27\lib\site-packages\google\protobuf\internal\python_message.py", line 844, in MergeFromString
    raise message_mod.DecodeError('Unexpected end-group tag.')
google.protobuf.message.DecodeError: Unexpected end-group tag.

from pgoapi.

tejado avatar tejado commented on July 19, 2024

Yes... servers are overloaded :(

from pgoapi.

tejado avatar tejado commented on July 19, 2024

Yeah I will fix it.

from pgoapi.

volksport avatar volksport commented on July 19, 2024

Perhaps this should be reopened then?

from pgoapi.

tejado avatar tejado commented on July 19, 2024

Fix is in few minutes online ;)

from pgoapi.

tejado avatar tejado commented on July 19, 2024

Done! b80166f

from pgoapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.