WindowsError, other solutions didnt work
See original GitHub issue### Expected Behavior Bot run as expected
### Actual Behavior Drops error :
Traceback (most recent call last): File “pokecli.py”, line 493, in <module> 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)
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (3 by maintainers)
You have to use the 64 bit version of encrypt.dll (encrypt64bit.dll on slack)
Solved tnx to Chris221.