Comments (8)
Imo this should show an error message (and possibly retry) and not a stack trace.
from pgoapi.
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.
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.
Yes... servers are overloaded :(
from pgoapi.
Yeah I will fix it.
from pgoapi.
Perhaps this should be reopened then?
from pgoapi.
Fix is in few minutes online ;)
from pgoapi.
Done! b80166f
from pgoapi.
Related Issues (20)
- Is it possible to get rid from ctypes usage?
- Google auth via token HOT 1
- [question] Team choice HOT 2
- Wrong disappear time HOT 1
- get_gym_details problem HOT 1
- failed execution/traceback after valid login.
- self.device_info in rpc_api.py
- EmptySubrequestChainException HOT 1
- ignore HOT 1
- How to determine the level of PokeGym? HOT 1
- get_map_objects do not find anything
- Gen 2 Pokemon needs to be updated
- Changed the request mode?
- Login failed
- Request throttled by server
- python
- Help on other API HOT 2
- Tejado
- Organization
- G
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgoapi.