Coder Social home page Coder Social logo

aiopogo's People

Contributors

cheesynoob avatar dmadisetti avatar edevil avatar ephemerality avatar globeriz avatar jchristi avatar john-best avatar keyphact avatar mikeres0 avatar mjuchli avatar noctem avatar noone-dev avatar primaxius avatar rahu1994 avatar rbignon avatar readmecritic avatar robhobbes avatar rubengm avatar ryanhope avatar samuelteixeiras avatar scottstamp avatar spezifisch avatar surceis avatar talsk avatar tejado avatar tschroeder-zendesk avatar vosk avatar wcastello avatar wchill avatar zechrales avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aiopogo's Issues

KeyError resp.ParseFromString(plat_response['response'])

[2017-03-01 08:44:23][   ERROR][worker-73] A wild KeyError appeared!
Traceback (most recent call last):
  File "/home/develop/productiv/monocle/worker.py", line 644, in visit
    await self.login()
  File "/home/develop/productiv/monocle/worker.py", line 210, in login
    await self.app_simulation_login(version)
  File "/home/develop/productiv/monocle/worker.py", line 290, in app_simulation_login
    tutorial_state = await self.get_player()
  File "/home/develop/productiv/monocle/worker.py", line 222, in get_player
    responses = await self.call(request, chain=False)
  File "/home/develop/productiv/monocle/worker.py", line 491, in call
    response = await request.call()
  File "/home/develop/lib64/python3.5/site-packages/aiopogo/pgoapi.py", line 149, in call
    response = await request.request(self._api_endpoint, self._req_method_list, self._position)
  File "/home/develop/lib64/python3.5/site-packages/aiopogo/rpc_api.py", line 126, in request
    response_dict = self._parse_main_response(response, subrequests)
  File "/home/develop/lib64/python3.5/site-packages/aiopogo/rpc_api.py", line 367, in _parse_main_response
    resp.ParseFromString(plat_response['response'])
KeyError: 'response'

NameError: name 'token_data' is not defined

[2017-02-06 14:19:22,720][ ERROR][worker-6] A wild exception appeared!
Traceback (most recent call last):
File "/home/develop/lib64/python3.5/site-packages/pogo_async/pgoapi.py", line 179, in call
response = await request.request(self._api_endpoint, self._req_method_list, self._position)
File "/home/develop/lib64/python3.5/site-packages/pogo_async/rpc_api.py", line 164, in request
raise AuthTokenExpiredException
pogo_async.exceptions.AuthTokenExpiredException

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/develop/productiv/monocle/worker.py", line 777, in visit
return await self.visit_point(point, bootstrap=bootstrap)
File "/home/develop/productiv/monocle/worker.py", line 884, in visit_point
responses = await self.call(request)
File "/home/develop/productiv/monocle/worker.py", line 646, in call
response = await request.call()
File "/home/develop/lib64/python3.5/site-packages/pogo_async/pgoapi.py", line 186, in call
await self._auth_provider.get_access_token(force_refresh=True)
File "/home/develop/lib64/python3.5/site-packages/pogo_async/auth_ptc.py", line 192, in get_access_token
expires = int(token_data.get('expires', [0])[0]) - 3600
NameError: name 'token_data' is not defined

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.