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

WindowsError, other solutions didnt work

Open aviel600 opened this issue 10 years ago • 12 comments

### Expected Behavior Bot run as expected

### Actual Behavior Drops error :

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 "C:\poke\PokemonGo-Bot\pokemongo_bot\metrics.py", line 76, in capture_sta ts response_dict = request.call() File "C:\poke\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 106, in call result = self.call() File "C:\poke\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 63, in call return PGoApiRequest.call(self) File "c:\users\aviel\desktop\pg\src\pgoapi\pgoapi\pgoapi.py", line 210, in cal l request.activate_signature(lib_path) File "c:\users\aviel\desktop\pg\src\pgoapi\pgoapi\rpc_api.py", line 85, in act ivate_signature self.signature_lib = ctypes.cdll.LoadLibrary(lib_path) File "C:\Python27\lib\ctypes__init.py", line 440, in LoadLibrary return self.dlltype(name) File "C:\Python27\lib\ctypes__init.py", line 362, in init self._handle = _dlopen(self._name, mode) WindowsError:

### Steps to Reproduce downloaded the encrypt.dll , put it in the main folder and did as commanded in other thread :

might want to look into pokemongo_bot/init.py and change self.api.activate_signature("encrypt.so") to self.api.activate_signature("./encrypt.dll")

Other Information

OS: win 7 64 Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here) Python Version: (2.7)

aviel600 avatar Aug 07 '16 08:08 aviel600

I have the same exact error, and a window pops up saying 'ecrypt.so is not designed to run on windows or it contains an error.'

ghost avatar Aug 07 '16 08:08 ghost

@Unscrupulor you must be having encrypt.so in your root folder, delete it and then try, i m assuming you did followed all the above steps.

agastimhatre avatar Aug 07 '16 08:08 agastimhatre

I got this error

WindowsError: [Error 193] %1 is not a valid Win32 application

dezayner avatar Aug 07 '16 09:08 dezayner

You have to use the 64 bit version of encrypt.dll (encrypt64bit.dll on slack)

Chris221 avatar Aug 07 '16 09:08 Chris221

@Chris221 where can i find it ?

aviel600 avatar Aug 07 '16 10:08 aviel600

Here's a folder with the windows 32 and 64 bit : https://mega.nz/#fm/Jh1ijT5B

glenncampioni avatar Aug 07 '16 10:08 glenncampioni

@Chris221 Thanks for your suggestion. My bot is working now.

dezayner avatar Aug 07 '16 10:08 dezayner

Solved tnx to Chris221.

aviel600 avatar Aug 07 '16 10:08 aviel600

@Chris221 @Calcyfer @aviel600 @dezayner could you reupload encrypt.dll ?

chikhvol avatar Aug 07 '16 11:08 chikhvol

@NoProgramist New link : https://mega.nz/#F!dpskCAga!pLw8ZdeF9cmbdHPnjgGJlg

glenncampioni avatar Aug 07 '16 19:08 glenncampioni

@Chris221 @Calcyfer could you guys reupload encrypt.dll please?

cswxin avatar Oct 11 '16 04:10 cswxin

@cswxin Here you go : https://mega.nz/#F!Q0cyhbIA!qTQQlkhhAv8ta0zjxyfhtA

glenncampioni avatar Oct 11 '16 05:10 glenncampioni