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

encrypt.so is not found #3937

Closed
Jarhead6 opened this issue Aug 14, 2016 · 5 comments
Closed

encrypt.so is not found #3937

Jarhead6 opened this issue Aug 14, 2016 · 5 comments

Comments

@Jarhead6
Copy link

hey how can i fix that?
2016-08-14 18:18:20,881 [PokemonGoBot] [ERROR] encrypt.so is not found! Please place it in the bots root directory or set encrypt_location in config.
2016-08-14 18:18:20,881 [PokemonGoBot] [INFO] Platform: darwin Encrypt.so directory: /Users/dennis/Desktop/Pokegobot/PokemonGo-Bot

@DiegoRBaquero
Copy link

If you did a manual installation you missed the encrypt.so part: https://github.com/PokemonGoF/PokemonGo-Bot/blob/master/docs/manual_installation.md

@Cetino
Copy link

Cetino commented Aug 14, 2016

take a look at: https://github.com/PokemonGoF/PokemonGo-Bot/blob/master/docs/manual_installation.md#windows (bottom of page)
or simply place this dll in your root folder:
encrypt_64.zip

@Jarhead6
Copy link
Author

how can i place it in my root folder?

@Jarhead6
Copy link
Author

now i get
ERROR] [u'OSError: dlopen(/Users/dennis/Desktop/Pokegobot/PokemonGo-Bot/encrypt.so, 6): no suitable image found. Did find:\n\t/Users/dennis/Desktop/Pokegobot/PokemonGo-Bot/encrypt.so: unknown file type, first eight bytes: 0x4D 0x5A 0x90 0x00 0x03 0x00 0x00 0x00', u' File "pokecli.py", line 578, in ', u' File "pokecli.py", line 145, in main', u' File "pokecli.py", line 180, in report_summary', u' File "pokemongo_bot/metrics.py", line 84, in capture_stats', u' File "pokemongo_bot/api_wrapper.py", line 106, in call', u' File "pokemongo_bot/api_wrapper.py", line 63, in _call', u' File "pgoapi/pgoapi.py", line 210, in call', u' File "pgoapi/rpc_api.py", line 85, in activate_signature', u' File "ctypes/init.py", line 443, in LoadLibrary', u' File "ctypes/init.py", line 365, in init']

@jrjhealey
Copy link

jrjhealey commented Aug 14, 2016

By root folder, Centino means the PokemonGo-Bot main directory.

If you're on Darwin you may well have to compile the encrypt.so file yourself rather than simply downloading an existing one (someone may be able to correct me if Darwin is simply capable of using another *NIX .so file).

Run the following command from inside your PokemonGo-Bot folder:
wget http://pgoapi.com/pgoencrypt.tar.gz && tar -xf pgoencrypt.tar.gz && cd pgoencrypt/src/ && make && mv libencrypt.so ../../encrypt.so

If that fails I would suggest you delete that folder and start your installation over from scratch and ensure you follow each instruction in the documentation to the letter

@k4n30 k4n30 closed this as completed Aug 16, 2016
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

5 participants