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

WindowsError after successfull login

Open denike opened this issue 10 years ago • 9 comments

Expected Behavior

Bot runs normaly

Actual Behavior

It drops a windows error

Steps to Reproduce

Other Information

Traceback (most recent call last): File "pokecli.py", line 496, in <module> main() File "pokecli.py", line 130, in main report_summary(bot) File "pokecli.py", line 139, in report_summary metrics.capture_stats() File "C:\Users\Dini\Downloads\PokemonGo-Botdev\pokemongo_bot\metrics.py", line 76, in capture_stats response_dict = request.call() File "C:\Users\Dini\Downloads\PokemonGo-Botdev\pokemongo_bot\api_wrapper.py", line 106, in call result = self._call() File "C:\Users\Dini\Downloads\PokemonGo-Botdev\pokemongo_bot\api_wrapper.py", line 63, in _call return PGoApiRequest.call(self) File "c:\users\dini\downloads\pokemongo-botdev\src\pgoapi\pgoapi\pgoapi.py", line 210, in call request.activate_signature(lib_path) File "c:\users\dini\downloads\pokemongo-botdev\src\pgoapi\pgoapi\rpc_api.py", line 85, in activate_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:

OS: Win10 Git Commit: 44a6602ceecf202e5ab0bf05a960b8efcb595551 Python Version: Python 2.7.12

denike avatar Aug 07 '16 06:08 denike

same here

aviel600 avatar Aug 07 '16 07:08 aviel600

I get this one after successful login:

encrypt_so

bigrat69 avatar Aug 07 '16 07:08 bigrat69

Look at the fix found on https://github.com/PokemonGoF/PokemonGo-Bot/issues/2670

bnlucas avatar Aug 07 '16 07:08 bnlucas

@bnlucas didnt work for me :(

aviel600 avatar Aug 07 '16 07:08 aviel600

u need the dll file too. Copy it in the root. Unfortunately i cant upload it here because file type is not supported. Get it from slack:

https://pokemongo-bot.herokuapp.com/

bigrat69 avatar Aug 07 '16 07:08 bigrat69

@bigrat69 i put it in the main folder and it still reply the same error, should i do something different ?

aviel600 avatar Aug 07 '16 07:08 aviel600

Just now pulled again and it started working. All I did is the following

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

got the dll from slack.

Thanks everybody for your time and help!

denike avatar Aug 07 '16 08:08 denike

not working for me

adamtong1110 avatar Aug 07 '16 09:08 adamtong1110

It looks like you are using an .so file for Linux or OS X. Not one build for windows.

cliffalbert avatar Aug 07 '16 10:08 cliffalbert