Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot will not run after updating, ImportError: No module named RequestType_pb2 #4251

Closed
Acadia1337 opened this issue Aug 19, 2016 · 3 comments

Comments

@Acadia1337
Copy link

Expected Behavior

Before I updated to the latest dev build the bot ran as normal but now i get the same error no matter what I try.
Everything was working fine until I tried to update.
git pull
pip install -r requirements.txt --upgrade

I have already tried to start over by deleting everything and running
git clone -b dev https://github.com/PokemonGoF/PokemonGo-Bot
pip install -r requirements.txt

I also tried to update the pgo api as suggested Here git clone the latest master branch of the pgoapi and placed it inside the src directory of the bot then ran pip install -r requirements.txt

Actual Behavior

ImportError: No module named RequestType_pb2

Your FULL config.json

http://pastebin.com/eAPN97y6

Output when issue occurred

$ python pokecli.py
Traceback (most recent call last):
File "pokecli.py", line 42, in
from pokemongo_bot import inventory
File "C:\Bothax\PokemonGo-Bot\pokemongo_bot__init__.py", line 22, in
from api_wrapper import ApiWrapper
File "C:\Bothax\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 9, in
from pgoapi.protos.POGOProtos.Networking.Requests.RequestType_pb2 import RequestType
ImportError: No module named RequestType_pb2

Steps to Reproduce

git clone -b dev https://github.com/PokemonGoF/PokemonGo-Bot
pip install -r requirements.txt
edit config file
place encrypt.dll where it needs to go
python pokecli.py

Other Information

OS:
windows 10
Branch:
Dev
Git Commit:
#4107? Latest dev branch as of 15 minutes ago

Python Version:
2.7

@hongxuchen
Copy link
Contributor

setup.sh -u works for me.

@hlavicka
Copy link

try
pip uninstall pgoapi
pip install -r requirements.txt

@Acadia1337
Copy link
Author

That worked, Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants