Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
bilalkamoon opened this issue Aug 13, 2016 · 1 comment
Closed

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

bilalkamoon opened this issue Aug 13, 2016 · 1 comment

Comments

@bilalkamoon
Copy link

Getting this error when running Pokecli.py:

Encrypt.so directory: C:\Users\Win8\Downloads\PokemonGo-Bot-dev\PokemonGo-Bot-d
ev
2016-08-13 11:57:11,019 [PokemonGoBot] [INFO]
Traceback (most recent call last):
File "pokecli.py", line 578, in
main()
File "pokecli.py", line 145, in main
report_summary(bot)
File "pokecli.py", line 180, in report_summary
metrics.capture_stats()
File "C:\Users\Win8\Downloads\PokemonGo-Bot-dev\PokemonGo-Bot-dev\pokemongo_bo
t\metrics.py", line 84, in capture_stats
response_dict = request.call()
File "C:\Users\Win8\Downloads\PokemonGo-Bot-dev\PokemonGo-Bot-dev\pokemongo_bo
t\api_wrapper.py", line 106, in call
result = self.call()
File "C:\Users\Win8\Downloads\PokemonGo-Bot-dev\PokemonGo-Bot-dev\pokemongo_bo
t\api_wrapper.py", line 63, in call
return PGoApiRequest.call(self)
File "c:\users\win8\downloads\pokemongo-bot-master\src\pgoapi\pgoapi\pgoapi.py
", line 210, in call
request.activate_signature(lib_path)
File "c:\users\win8\downloads\pokemongo-bot-master\src\pgoapi\pgoapi\rpc_api.p
y", 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: [Error 193] %1 is not a valid Win32 application

Other Information

OS: Win 8
Branch: dev
Python Version: 2.7.12

@bilalkamoon bilalkamoon changed the title WindowsError: [Error 193] %1 is not a valid Win32 application [Bug] WindowsError: [Error 193] %1 is not a valid Win32 application Aug 13, 2016
@k4n30
Copy link
Contributor

k4n30 commented Aug 13, 2016

Duplicate of #3810

You need to ensure you have the correct dll for you OS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants