Checklist
- [X] I have read the FAQ
- [X] I have checked if this issue already exists (both open and closed issues)
- [X] I am using the most recent version of pogom from the master branch
- [X] If this is an installation issue, I am posting my OS, OS version, python version, pip version
- [X] I'm posting the complete log
- [X] I'm using a descriptive title for this issue
My Issue
OS X 10.10.5
Python 2.7.10
~/pogom$ python runserver.py -H "127.0.0.1" -P 5001
Traceback (most recent call last):
File "runserver.py", line 13, in
from pogom.app import Pogom
File "/Users/smith/pogom/pogom/app.py", line 18, in
from .scan import ScanMetrics, Scanner
File "/Users/smith/pogom/pogom/scan.py", line 16, in
from pgoapi import PGoApi
File "/Users/smith/pogom/pogom/pgoapi/init.py", line 51, in
from .pgoapi import PGoApi
File "/Users/smith/pogom/pogom/pgoapi/pgoapi.py", line 38, in
from .rpc_api import RpcApi
File "/Users/smith/pogom/pogom/pgoapi/rpc_api.py", line 50, in
from POGOProtos.Networking.Envelopes_pb2 import RequestEnvelope
File "/Users/smith/pogom/pogom/pgoapi/protos/POGOProtos/Networking/Envelopes_pb2.py", line 16, in
from POGOProtos.Networking import Requests_pb2 as POGOProtos_dot_Networking_dot_Requests__pb2
File "/Users/smith/pogom/pogom/pgoapi/protos/POGOProtos/Networking/Requests_pb2.py", line 23, in
ENCOUNTER\x10\x91\x01\x12!\n\x1c\x43OLLECT_DAILY_DEFENDER_BONUS\x10\x92\x01\x12\x14\n\x0fUPGRADE_POKEMON\x10\x93\x01\x12\x19\n\x14SET_FAVORITE_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'
...
Getting the same error - Python 2.7.11, OS X 10.11.1
I had the same issue once. A mixture of killing all running python process and reinstalling protobuf did the job.
I was able to fix this by using sudo -H
Yeah... I'm not going to run the process as root, that's asking for trouble =P
I understand that, I'm running this on an old mac that I don't really care about. If you find another way to get around it let me know please!
actually, try
sudo -H pip uninstall -r requirements.txt
and then
sudo -H pip install --ignore-installed -r requirements.txt
You may be able to not use sudo -H
I don't know though