PokemonGoF / PokemonGo-Bot

The Pokemon Go Bot, baking with community.
MIT License
3.86k stars 1.54k forks source link

encrypt.so is not found #3937

Closed Jarhead6 closed 8 years ago

Jarhead6 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

how can i place it in my root folder?

Jarhead6 commented 8 years ago

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 commented 8 years ago

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