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

[Error 193] %1 is not a valid Win32 application #2856

Closed
Dotnl opened this issue Aug 7, 2016 · 4 comments
Closed

[Error 193] %1 is not a valid Win32 application #2856

Dotnl opened this issue Aug 7, 2016 · 4 comments

Comments

@Dotnl
Copy link

Dotnl commented Aug 7, 2016

Expected Behavior

Actual Behavior

File "pokecli.py", line 501, in
main()
File "pokecli.py", line 130, in main
report_summary(bot)
File "pokecli.py", line 139, in report_summary
metrics.capture_stats()
File "D:\programs\git\pokemongo-Bot\pokemongo-Bot\pokemongo_bot\metrics.py", line 76, in capture_stats
response_dict = request.call()
File "D:\programs\git\pokemongo-Bot\pokemongo-Bot\pokemongo_bot\api_wrapper.py", line 106, in call
result = self.call()
File "D:\programs\git\pokemongo-Bot\pokemongo-Bot\pokemongo_bot\api_wrapper.py", line 63, in call
return PGoApiRequest.call(self)
File "d:\programs\git\pokemongo-bot\pokemongo-bot\src\pgoapi\pgoapi\pgoapi.py", line 210, in call
request.activate_signature(lib_path)
File "d:\programs\git\pokemongo-bot\pokemongo-bot\src\pgoapi\pgoapi\rpc_api.py", line 85, in activate_signature
self.signature_lib = ctypes.cdll.LoadLibrary(lib_path)
File "D:\Python27\lib\ctypes__init
.py", line 443, in LoadLibrary
return self.dlltype(name)
File "D:\Python27\lib\ctypes__init
.py", line 365, in init
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 is not a valid Win32 application

Steps to Reproduce

Bot logs in succesfully then this

Other Information

OS: W7

Python Version: 2.7.10

@AmbiguousInteractive
Copy link

Change encrypt.so to encrypt.dll. They are working with Linux, poor instructions really.

@ForPokemon
Copy link

Same issue. I'm using the encrypt.dll one though.

@Qeldrona
Copy link

Qeldrona commented Aug 9, 2016

You actually have to download encrypt32bit.dll even if you're on a 64 bit OS, then change the name to encrypt.dll, place it in the root of your bot directory.

It isn't referring to your OS when it determines whether you need 32 or 64 bit.

@RedViper9
Copy link
Contributor

Assume solved.

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

5 participants