PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

OSError: dlopen(encrypt.so, 6): image not found

Open kjirawong opened this issue 10 years ago • 9 comments

Bug found in OSX after pull https://github.com/PokemonGoF/PokemonGo-Bot/commit/55846108e235fda2eda370b99c9019f7d89e8619

Traceback (most recent call last): File "pokecli.py", line 493, in main() File "pokecli.py", line 127, in main report_summary(bot) File "pokecli.py", line 136, in report_summary metrics.capture_stats() File "/Users/Jirawong/Develop/pokemon/new/PokemonGo-Bot/pokemongo_bot/metrics.py", line 76, in capture_stats response_dict = request.call() File "/Users/Jirawong/Develop/pokemon/new/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 106, in call result = self._call() File "/Users/Jirawong/Develop/pokemon/new/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 63, in _call return PGoApiRequest.call(self) File "/Users/Jirawong/Develop/pokemon/new/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 209, in call request.activate_signature(lib_path) File "/Users/Jirawong/Develop/pokemon/new/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 82, in activate_signature ctypes.cdll.LoadLibrary(lib_path) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/init.py", line 443, in LoadLibrary return self._dlltype(name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/init.py", line 365, in init self._handle = _dlopen(self._name, mode) OSError: dlopen(encrypt.so, 6): image not found

kjirawong avatar Aug 07 '16 04:08 kjirawong

you need manually download a encrypt.so from internet....

solderzzc avatar Aug 07 '16 04:08 solderzzc

Same issue

OVO647 avatar Aug 07 '16 04:08 OVO647

@solderzzc Got the file, where do I put it?

Nepoxx avatar Aug 07 '16 04:08 Nepoxx

@Nepoxx Where did you find it? Please send me one thx.

OK guys I known how to make the encrypt.so. Make sure you have gcc installed. wget http://pgoapi.com/pgoencrypt.tar.gz && tar -xf pgoencrypt.tar.gz && cd pgoencrypt/src/ && make You will find libencrypt.so in pgoencrypt/src/ and just move it to the PokemonGo-Bot directory.

But still some bug here. See https://github.com/PokemonGoF/PokemonGo-Bot/issues/2645

simonsmh avatar Aug 07 '16 05:08 simonsmh

encrypt.so goes in the main PokemonGo-Bot directory

LHagood avatar Aug 07 '16 05:08 LHagood

download and just put it under PokemonGo-Bot directory solve my problem https://slack-files.com/T1U6G9ZEW-F1YV50RGQ-cc979942b7

mac os 10.11.4

ManiacMike avatar Aug 07 '16 07:08 ManiacMike

#2768

k4n30 avatar Aug 07 '16 12:08 k4n30

https://github.com/PokemonGoF/PokemonGo-Bot/issues/2780

bruvv avatar Aug 07 '16 12:08 bruvv

Help! I am on Mac. I got the OP's original error message. I downloaded the .so file from here:

https://slack-files.com/T1U6G9ZEW-F1YV50RGQ-cc979942b7

I renamed the file to encrypt.dll and put it in pgoapi-master baseline directory. I then ran:

python pokecli.py -a ptc -u blah -p blah -l “blah”

And I get the error code:

'status_code': 2, 'unknown6': [{ 'response_type': 6, 'unknown2': { 'unknown1': 1L}}]}

Anyone else getting this?

veil98 avatar Aug 07 '16 21:08 veil98