tejado / pgoapi

Pokemon Go API lib
Other
1.4k stars 445 forks source link

protos enum issue #83

Closed dnsBlah closed 8 years ago

dnsBlah commented 8 years ago

Hi I'm receiving this error when running on OSX10.11.6 On 10.11.5 it was running perfectly!

import protos.RpcEnum_pb2 as RpcEnum
  File "/Users/dennis/Desktop/pgoapi-master/pgoapi/protos/RpcEnum_pb2.py", line 23, in <module>
    DGE\x10\x04\x12\x1e\n\x1a\x43\x41M_TARGET_DEFENDER_GROUND\x10\x05\x12 \n\x1c\x43\x41M_TARGET_ATTACKER_DEFENDER\x10\x06\x12%\n!CAM_TARGET_ATTACKER_DEFENDER_EDGE\x10\x07\x12 \n\x1c\x43\x41M_TARGET_DEFENDER_ATTACKER\x10\x08\x12%\n!CAM_TARGET_DEFENDER_ATTACKER_EDGE\x10\t\x12\'\n#CAM_TARGET_ATTACKER_DEFENDER_MIRROR\x10\x0b\x12)\n%CAM_TARGET_SHOULDER_ATTACKER_DEFENDER\x10\x0c\x12\x30\n,CAM_TARGET_SHOULDER_ATTACKER_DEFENDER_MIRROR\x10\r\x12&\n\"CAM_TARGET_ATTACKER_DEFENDER_WORLD\x10\x0e*\xda\x03\n\x0bPokemonType\x12\x15\n\x11POKEMON_TYPE_NONE\x10\x00\x12\x17\n\x13POKEMON_TYPE_NORMAL\x10\x01\x12\x19\n\x15POKEMON_TYPE_FIGHTING\x10\x02\x12\x17\n\x13POKEMON_TYPE_FLYING\x10\x03\x12\x17\n\x13POKEMON_TYPE_POISON\x10\x04\x12\x17\n\x13POKEMON_TYPE_GROUND\x10\x05\x12\x15\n\x11POKEMON_TYPE_ROCK\x10\x06\x12\x14\n\x10POKEMON_TYPE_BUG\x10\x07\x12\x16\n\x12POKEMON_TYPE_GHOST\x10\x08\x12\x16\n\x12POKEMON_TYPE_STEEL\x10\t\x12\x15\n\x11POKEMON_TYPE_FIRE\x10\n\x12\x16\n\x12POKEMON_TYPE_WATER\x10\x0b\x12\x16\n\x12POKEMON_TYPE_GRASS\x10\x0c\x12\x19\n\x15POKEMON_TYPE_ELECTRIC\x10\r\x12\x18\n\x14POKEMON_TYPE_PSYCHIC\x10\x0e\x12\x14\n\x10POKEMON_TYPE_ICE\x10\x0f\x12\x17\n\x13POKEMON_TYPE_DRAGON\x10\x10\x12\x15\n\x11POKEMON_TYPE_DARK\x10\x11\x12\x16\n\x12POKEMON_TYPE_FAIRY\x10\x12*\xad\x01\n\x13PokemonMovementType\x12\x13\n\x0fMOVEMENT_STATIC\x10\x00\x12\x11\n\rMOVEMENT_JUMP\x10\x01\x12\x15\n\x11MOVEMENT_VERTICAL\x10\x02\x12\x14\n\x10MOVEMENT_PSYCHIC\x10\x03\x12\x15\n\x11MOVEMENT_ELECTRIC\x10\x04\x12\x13\n\x0fMOVEMENT_FLYING\x10\x05\x12\x15\n\x11MOVEMENT_HOVERING\x10\x06*5\n\x0cPokemonClass\x12\n\n\x06NORMAL\x10\x00\x12\r\n\tLEGENDARY\x10\x01\x12\n\n\x06MYTHIC\x10\x02\x62\x06proto3')
TypeError: __init__() got an unexpected keyword argument 'syntax'
dnsBlah commented 8 years ago

nevermind..