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 After Inventory Pull #3095

Closed
mackenzieg opened this issue Aug 8, 2016 · 0 comments
Closed

Error After Inventory Pull #3095

mackenzieg opened this issue Aug 8, 2016 · 0 comments

Comments

@mackenzieg
Copy link

mackenzieg commented Aug 8, 2016

After starting the bot with python pokecli.py the bot will login, pull inventory/stats but after reading the encrypt.dll file it spits out this error:

` File "C:\Python27\lib\ctypes__init__.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self.FuncPtr((name_or_ordinal, self))
File "C:\Python27\lib\ctypes__init
_.py", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes__init__.py", line 380, in getitem
func = self._FuncPtr((name_or_ordinal, self))

The above part repeats

RuntimeError: maximum recursion depth exceeded while calling a Python object
Traceback (most recent call last):
File "pokecli.py", line 502, in
main()
File "pokecli.py", line 131, in main
report_summary(bot)
File "pokecli.py", line 140, in report_summary
metrics.capture_stats()
File "C:\Users\Yvonne\Desktop\PokemonGo-Bot\pokemongo_bot\metrics.py", line 76, in capture_stats
response_dict = request.call()
File "C:\Users\Yvonne\Desktop\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 106, in call
result = self.call()
File "C:\Users\Yvonne\Desktop\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 63, in call
return PGoApiRequest.call(self)
File "c:\users\yvonne\desktop\pokemongo-bot\src\pgoapi\pgoapi\pgoapi.py", line 210, in call
request.activate_signature(lib_path)
File "c:\users\yvonne\desktop\pokemongo-bot\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: [Error 193] %1 is not a valid Win32 application
2016-08-08 12:37:48,107 [sentry.errors] [ERROR] Sentry responded with an error: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\raven\transport\threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "C:\Python27\lib\site-packages\raven\transport\http.py", line 47, in send
ca_certs=self.ca_certs,
File "C:\Python27\lib\site-packages\raven\utils\http.py", line 66, in urlopen
return opener.open(url, data, timeout)
File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 494, in open
response = self._open(req, data)
File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 512, in _open
'_open', req)
File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 466, in _call_chain
result = func(*args)
File "C:\Python27\lib\site-packages\raven\utils\http.py", line 46, in https_open
return self.do_open(ValidHTTPSConnection, req)
File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 1284, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "C:\Python27\lib\httplib.py", line 1057, in request
self._send_request(method, url, body, headers)
File "C:\Python27\lib\httplib.py", line 1097, in _send_request
self.endheaders(body)
File "C:\Python27\lib\httplib.py", line 1053, in endheaders
self._send_output(message_body)
File "C:\Python27\lib\httplib.py", line 895, in _send_output
msg += message_body

UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128)
2016-08-08 12:37:48,134 [sentry.errors.uncaught] [ERROR] [u'WindowsError: [Error 193] %1 is not a valid Win32 application', u' File "pokecli.py", line 502, in ', u' File "pokecli.py", line 131, in main', u' File "pokecli.py", line 140, in report_summary', u' File "C:\Users\Yvonne\Desktop\PokemonGo-Bot\pokemongo_bot\metrics.py", line 76, in capture_stats', u' File "C:\Users\Yvonne\Desktop\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 106, in call', u' File "C:\Users\Yvonne\Desktop\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 63, in call', u' File "c:\users\yvonne\desktop\pokemongo-bot\src\pgoapi\pgoapi\pgoapi.py", line 210, in call', u' File "c:\users\yvonne\desktop\pokemongo-bot\src\pgoapi\pgoapi\rpc_api.py", line 85, in activate_signature', u' File "C:\Python27\lib\ctypes_init.py", line 440, in LoadLibrary', u' File "C:\Python27\lib\ctypes*init*.py", line 362, in init']`

Other Information

OS: Windows 10
Git Commit: ae0ae81
Python Version: 2.7.12

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