rubenvereecken / pokemongo-api

Pokemon Go API for Python
Other
358 stars 120 forks source link

TypeError: __init__() got an unexpected keyword argument 'syntax' #67

Closed onyshchenko closed 8 years ago

onyshchenko commented 8 years ago

The error appeared after updating to version 0.31.0

~/pokemongo-api-master/pogo$ python demo.py -a "google" -u "email@gmail.com" -p "thepassword" -l "The Atlantic Ocean" Traceback (most recent call last): File "demo.py", line 8, in from api import PokeAuthSession File "/home/vitaliy/pokemongo-api-master/pogo/api.py", line 7, in from session import PogoSession File "/home/vitaliy/pokemongo-api-master/pogo/session.py", line 2, in from POGOProtos.Networking.Requests import Request_pb2 File "/home/vitaliy/pokemongo-api-master/pogo/POGOProtos/Networking/Requests/Request_pb2.py", line 16, in from POGOProtos.Networking.Requests import RequestType_pb2 as POGOProtos_dot_Networking_dot_Requests_dot_RequestType__pb2 File "/home/vitaliy/pokemongo-api-master/pogo/POGOProtos/Networking/Requests/RequestType_pb2.py", line 23, in POKEMON\x10\x94\x01\x12\x15\n\x10NICKNAME_POKEMON\x10\x95\x01\x12\x10\n\x0b\x45QUIP_BADGE\x10\x96\x01\x12\x19\n\x14SET_CONTACT_SETTINGS\x10\x97\x01\x12\x15\n\x10GET_ASSET_DIGEST\x10\xac\x02\x12\x16\n\x11GET_DOWNLOAD_URLS\x10\xad\x02\x12\x1c\n\x17GET_SUGGESTED_CODENAMES\x10\x91\x03\x12\x1d\n\x18\x43HECK_CODENAME_AVAILABLE\x10\x92\x03\x12\x13\n\x0e\x43LAIM_CODENAME\x10\x93\x03\x12\x0f\n\nSET_AVATAR\x10\x94\x03\x12\x14\n\x0fSET_PLAYER_TEAM\x10\x95\x03\x12\x1b\n\x16MARK_TUTORIAL_COMPLETE\x10\x96\x03\x12\x16\n\x11LOAD_SPAWN_POINTS\x10\xf4\x03\x12\t\n\x04\x45\x43HO\x10\x9a\x05\x12\x1b\n\x16\x44\x45\x42UG_UPDATE_INVENTORY\x10\xbc\x05\x12\x18\n\x13\x44\x45\x42UG_DELETE_PLAYER\x10\xbd\x05\x12\x17\n\x12SFIDA_REGISTRATION\x10\xa0\x06\x12\x15\n\x10SFIDA_ACTION_LOG\x10\xa1\x06\x12\x18\n\x13SFIDA_CERTIFICATION\x10\xa2\x06\x12\x11\n\x0cSFIDA_UPDATE\x10\xa3\x06\x12\x11\n\x0cSFIDA_ACTION\x10\xa4\x06\x12\x11\n\x0cSFIDA_DOWSER\x10\xa5\x06\x12\x12\n\rSFIDA_CAPTURE\x10\xa6\x06\x62\x06proto3') TypeError: init() got an unexpected keyword argument 'syntax'

dnsBlah commented 8 years ago

really..? look at your modules and compare it with requirements

just guessing: protobuf

yuyaukong commented 8 years ago

I also get this error

dnsBlah commented 8 years ago

please close.