-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
TypeError: None has type <type 'NoneType'>, but expected one of: (<type 'str'>, <type 'unicode'>) #2975
Comments
DEV branch, Windows.
. |
Getting this on - It happens after running for about 30 minutes. |
same here
|
same here. After running 7 min or 30 min or 1 hour. |
Same on Archlinux, Dev branch, running for about an hour. |
|
is fixed by pgoapi. |
Still got the error after updating to the latest pgoapi, bot exited after running an hour. |
Same, [ cli] [INFO] Ran for 0:59:56 and crashes (windows 10, 64bit)
|
I've got full traceback!
|
Bot Crash again after update pgoapi.... :s |
|
See #3075. |
still crashing afte 1 hour. i've tried #3075 but didnt work |
Least recently updated thread, so assuming no longer a problem. Closed. |
2016-08-07 19:08:24,969 [ cli] [INFO] Highest CP Pokemon: Weepinbell [CP: 802] [IV: 8/0/0] Potential: 0.18
2016-08-07 19:08:24,969 [ cli] [INFO] Most Perfect Pokemon: Pinsir [CP: 92] [IV: 14/14/12] Potential: 0.89
Traceback (most recent call last):
File "pokecli.py", line 502, in
main()
File "pokecli.py", line 133, in main
raise e
TypeError: None has type <type 'NoneType'>, but expected one of: (<type 'str'>, <type 'unicode'>)
2016-08-07 19:08:24,983 [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 1053, in request
self._send_request(method, url, body, headers)
File "C:\Python27\lib\httplib.py", line 1093, in _send_request
self.endheaders(body)
File "C:\Python27\lib\httplib.py", line 1049, in endheaders
self._send_output(message_body)
File "C:\Python27\lib\httplib.py", line 891, in _send_output
msg += message_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128)
2016-08-07 19:08:24,983 [sentry.errors.uncaught] [ERROR] [u"TypeError: None has type <type 'NoneType'>, but expected one of: (<type 'str'>, <type 'unicode'>)", u' File "pokecli.py", line 502, in ', u' File "pokecli.py", line 133, in main']
The text was updated successfully, but these errors were encountered: