-
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
Bot Crash #5200
Comments
Crash again, Traceback (most recent call last): Same CFG and Git Commit |
Try to disable websocket option in config.json and try again. |
did not work, restart with the websocket = true to run as well. BTW checking the behavior when this happens in the logs... Just happens in RandomAlivePause and RandomPause actions 2016-09-05 21:17:50,989 [ cli] [INFO] PokemonGO Bot v1.0 |
I'm just going to close this because this is so not how to post an issue...
|
Expected Behavior
Bot running without errors
Actual Behavior
Bot crashing
Your FULL config.json (remove your username, password, gmapkey and any other private info)
{
"websocket_server": false,
"heartbeat_threshold": 10,
"enable_social": true,
"live_config_update": {
"enabled": false,
"tasks_only": false
},
"tasks": [
{
"type": "TelegramTask",
"config": {
"enabled": false,
"master": null,
"alert_catch": ["all"]
}
},
{
"//NOTE: This task MUST be placed on the top of task list": {},
"type": "RandomAlivePause",
"config": {
"enabled": true,
"min_duration": "00:05:00",
"max_duration": "00:20:00",
"min_interval": "00:30:00",
"max_interval": "01:00:00"
}
},
{
"type": "HandleSoftBan"
},
{
"type": "RandomPause",
"config": {
"enabled": true,
"min_duration": "00:10:00",
"max_duration": "00:45:00",
"min_interval": "01:30:00",
"max_interval": "02:00:00"
}
},
{
"type": "CompleteTutorial",
"config": {
"enabled": false,
"// set a name": "",
"nickname": ""
}
},
{
"type": "CollectLevelUpReward",
"config": {
"collect_reward": true,
"level_limit": -1
}
},
{
"type": "IncubateEggs",
"config": {
"enabled": true,
"infinite_longer_eggs_first": false,
"breakable_longer_eggs_first": true,
"min_interval": 120,
"infinite": [2,5,10],
"breakable": [2,5,10]
}
},
{
"type": "UpdateLiveStats",
"config": {
"enabled": false,
"min_interval": 10,
"stats": ["username", "uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"],
"terminal_log": true,
"terminal_title": true
}
},
{
"type": "UpdateLiveInventory",
"config": {
"enabled": false,
"min_interval": 120,
"show_all_multiple_lines": false,
"items": ["pokemon_bag", "space_info", "pokeballs", "greatballs", "ultraballs", "razzberries", "luckyegg"]
}
},
{
"type": "ShowBestPokemon",
"config": {
"enabled": true,
"min_interval": 60,
"amount": 5,
"order_by": "cp",
"info_to_show": ["cp", "ivcp", "dps", "hp"]
}
},
{
"type": "TransferPokemon",
"config": {
"enabled": true,
"min_free_slot": 5,
"transfer_wait_min": 5,
"transfer_wait_max": 8
}
},
{
"type": "NicknamePokemon",
"config": {
"enabled": false,
"nickname_above_iv": 0.9,
"nickname_template": "{iv_pct}_{iv_ads}"
}
},
{
"type": "EvolvePokemon",
"config": {
"enabled": true,
},
"websocket": {
"start_embedded_server": true,
"server_url": "127.0.0.1:4000"
}
}
Output when issue occurred
[2016-09-04 22:30:22] [MainThread] [ItemRecycler] [INFO] [item_discarded] Discarded 1x Hyper Potion.
[2016-09-04 22:30:22] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Buffet para Casamentos - 0.08km
[2016-09-04 22:30:28] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Buffet para Casamentos - 0.08km
[2016-09-04 22:30:37] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Buffet para Casamentos - 0.07km
[2016-09-04 22:30:43] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Buffet para Casamentos - 0.06km
[2016-09-04 22:30:48] [MainThread] [IncubateEggs] [INFO] [next_egg_incubates] Eggs incubating: [1.40/2.0 km, 3.03/5.0 km, 3.03/5.0 km](Eggs left: 6, Incubating: 3)
[2016-09-04 22:30:49] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Buffet para Casamentos - 0.05km
[2016-09-04 22:30:56] [MainThread] [ SpinFort] [INFO] [spun_pokestop] Spun pokestop Buffet para Casamentos. Experience awarded: 50. Items awarded: 2x Pokeball, 1x Greatball
[2016-09-04 22:31:00] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.11km
[2016-09-04 22:31:07] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.11km
[2016-09-04 22:31:10] [MainThread] [ShowBestPokemon] [INFO] [show_best_pokemon] [Golbat, CP 1019, IVCP 0.86, DPS 11.16, HP 94/94] | [Golbat, CP 1007, IVCP 0.79, DPS 10.53, HP 94/94] | [Starmie, CP 993, IVCP 0.98, DPS 13.4, HP 71/71] | [Golbat, CP 987, IVCP 0.68, DPS 11.16, HP 96/96] | [Rhydon, CP 944, IVCP 0.88, DPS 12.61, HP 114/114]
[2016-09-04 22:31:14] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.10km
[2016-09-04 22:31:19] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.10km
[2016-09-04 22:31:26] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.09km
[2016-09-04 22:31:31] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.08km
[2016-09-04 22:31:37] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.07km
[2016-09-04 22:31:43] [MainThread] [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Clefairy appeared! [CP 79] [NCP 0.07] [Potential 0.47] [A/D/S 6/11/4]
[2016-09-04 22:31:51] [MainThread] [PokemonCatchWorker] [INFO] [threw_pokeball] Nice Curveball throw! Used Pokeball, with chance 55.62 (37 left)
[2016-09-04 22:31:51] [MainThread] [PokemonCatchWorker] [INFO] [pokemon_caught] Captured Clefairy! [CP 79] [NCP 0.07] [Potential 0.47] 6/11/4 [+120 exp]
[2016-09-04 22:31:51] [MainThread] [PokemonCatchWorker] [INFO] [gained_candy] You now have 24 Clefairy candy!
[2016-09-04 22:31:58] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.07km
[2016-09-04 22:31:58] [MainThread] [PokemonGoBot] [INFO] [badges] awarded badge: BADGE_TYPE_FAIRY, lvl 1
[2016-09-04 22:32:05] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.07km
[2016-09-04 22:32:10] [MainThread] [ShowBestPokemon] [INFO] [show_best_pokemon] [Golbat, CP 1019, IVCP 0.86, DPS 11.16, HP 94/94] | [Golbat, CP 1007, IVCP 0.79, DPS 10.53, HP 94/94] | [Starmie, CP 993, IVCP 0.98, DPS 13.4, HP 71/71] | [Golbat, CP 987, IVCP 0.68, DPS 11.16, HP 96/96] | [Rhydon, CP 944, IVCP 0.88, DPS 12.61, HP 114/114]
[2016-09-04 22:32:16] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.06km
[2016-09-04 22:32:24] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.04km
[2016-09-04 22:32:27] [MainThread] [ SpinFort] [INFO] [spun_pokestop] Spun pokestop Gato e Cachorro no Banho. Experience awarded: 50. Items awarded: 2x Pokeball, 1x Super Potion
[2016-09-04 22:32:31] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja Adventista do Sétimo Dia - 0.09km
[2016-09-04 22:32:36] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja Adventista do Sétimo Dia - 0.08km
[2016-09-04 22:32:42] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja Adventista do Sétimo Dia - 0.07km
[2016-09-04 22:32:48] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja Adventista do Sétimo Dia - 0.06km
[2016-09-04 22:32:49] [MainThread] [IncubateEggs] [INFO] [next_egg_incubates] Eggs incubating: [1.40/2.0 km, 3.03/5.0 km, 3.03/5.0 km](Eggs left: 6, Incubating: 3)
[2016-09-04 22:32:56] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja Adventista do Sétimo Dia - 0.06km
[2016-09-04 22:33:03] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja Adventista do Sétimo Dia - 0.05km
[2016-09-04 22:33:07] [MainThread] [ SpinFort] [INFO] [spun_pokestop] Spun pokestop Igreja Adventista do Sétimo Dia. Experience awarded: 100. Items awarded: 1x Ultraball, 2x Razz Berry, 1x Potion, 1x Pokeball, 1x Greatball
[2016-09-04 22:33:12] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja de Jesus Cristo dos Santos dos Últimos Dias - 0.13km
[2016-09-04 22:33:14] [MainThread] [ShowBestPokemon] [INFO] [show_best_pokemon] [Golbat, CP 1019, IVCP 0.86, DPS 11.16, HP 94/94] | [Golbat, CP 1007, IVCP 0.79, DPS 10.53, HP 94/94] | [Starmie, CP 993, IVCP 0.98, DPS 13.4, HP 71/71] | [Golbat, CP 987, IVCP 0.68, DPS 11.16, HP 96/96] | [Rhydon, CP 944, IVCP 0.88, DPS 12.61, HP 114/114]
[2016-09-04 22:33:17] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja de Jesus Cristo dos Santos dos Últimos Dias - 0.12km
[2016-09-04 22:33:23] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja de Jesus Cristo dos Santos dos Últimos Dias - 0.11km
[2016-09-04 22:33:29] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja de Jesus Cristo dos Santos dos Últimos Dias - 0.11km
[2016-09-04 22:33:30] [MainThread] [ cli] [INFO]
[2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Ran for 3:04:26
[2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Total XP Earned: 15235 Average: 4956.18/h
[2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Travelled 7.21km
[2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Visited 77 stops
[2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Encountered 54 pokemon, 51 caught, 0 released, 3 evolved, 2 never seen before (Rhydon, Nidorino)
[2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Threw 149 pokeballs
[2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Earned 10096 Stardust
[2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Hatched eggs 4
[2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Next egg hatches in 0.46 km
[2016-09-04 22:33:30] [MainThread] [ cli] [INFO]
[2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Highest CP Pokemon: Rhydon [CP: 944] [IV: 14/13/12] Potential: 0.87
[2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Most Perfect Pokemon: Horsea [CP: 335] [IV: 14/13/15] Potential: 0.93
Traceback (most recent call last):
File "pokecli.py", line 795, in
main()
File "pokecli.py", line 248, in main
formatted='Forts cached.',
File "/root/Bot/pokemongo_bot/event_manager.py", line 76, in emit
handler.handle_event(event, sender, level, formatted_msg, data)
File "/root/Bot/pokemongo_bot/event_handlers/socketio_handler.py", line 28, in handle_event
'data': data
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 429, in emit
self._message(str(socketIO_packet_type) + socketIO_packet_data)
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 28, in wrap
return f(_args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 225, in _message
transport.send_packet(engineIO_packet_type, engineIO_packet_data)
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/transports.py", line 162, in send_packet
self._connection.send(packet)
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 239, in send
return self.send_frame(frame)
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 264, in send_frame
l = self._send(data)
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 425, in _send
return send(self.sock, data)
File "/usr/local/lib/python2.7/dist-packages/websocket/_socket.py", line 112, in send
return sock.send(data)
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 379, in send
return self._send_loop(self.fd.send, data, flags)
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 374, in _send_loop
timeout_exc=socket.timeout("timed out"))
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 203, in _trampoline
mark_as_closed=self._mark_as_closed)
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/init.py", line 160, in trampoline
listener = hub.add(hub.WRITE, fileno, current.switch, current.throw, mark_as_closed)
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/epolls.py", line 49, in add
listener = BaseHub.add(self, evtype, fileno, cb, tb, mac)
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in add
evtype, fileno, evtype, cb, bucket[fileno]))
RuntimeError: Second simultaneous write on fileno 16 detected. Unless you really know what you're doing, make sure that only one greenthread can write any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_prevent_multiple_readers(False) - MY THREAD=<built-in method switch of greenlet.greenlet object at 0x7f73424ea9b0>; THAT THREAD=FdListener('write', 16, <built-in method switch of greenlet.greenlet object at 0x7f7341bfcaf0>, <built-in method throw of greenlet.greenlet object at 0x7f7341bfcaf0>)
[2016-09-04 22:33:31] [MainThread] [sentry.errors] [ERROR] Sentry responded with an error: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/usr/local/lib/python2.7/dist-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/usr/local/lib/python2.7/dist-packages/raven/utils/http.py", line 66, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/lib/python2.7/dist-packages/future/backports/urllib/request.py", line 494, in open
response = self._open(req, data)
File "/usr/local/lib/python2.7/dist-packages/future/backports/urllib/request.py", line 512, in _open
'_open', req)
File "/usr/local/lib/python2.7/dist-packages/future/backports/urllib/request.py", line 466, in _call_chain
result = func(*args)
File "/usr/local/lib/python2.7/dist-packages/raven/utils/http.py", line 46, in https_open
return self.do_open(ValidHTTPSConnection, req)
File "/usr/local/lib/python2.7/dist-packages/future/backports/urllib/request.py", line 1284, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib/python2.7/httplib.py", line 1057, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1097, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 895, in _send_output
msg += message_body
File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte
[2016-09-04 22:33:31] [MainThread] [sentry.errors.uncaught] [ERROR] [u"RuntimeError: Second simultaneous write on fileno 16 detected. Unless you really know what you're doing, make sure that only one greenthread can write any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_prevent_multiple_readers(False) - MY THREAD=<built-in method switch of greenlet.greenlet object at 0x7f73424ea9b0>; THAT THREAD=FdListener('write', 16, <built-in method switch of greenlet.greenlet object at 0x7f7341bfcaf0>, <built-in method throw of greenlet.greenlet object at 0x7f7341bfcaf0>)", u' File "pokecli.py", line 795, in ', u' File "pokecli.py", line 248, in main', u' File "pokemongo_bot/event_manager.py", line 76, in emit', u' File "pokemongo_bot/event_handlers/socketio_handler.py", line 28, in handle_event', u' File "socketIO_client/init.py", line 429, in emit', u' File "socketIO_client/init.py", line 28, in wrap', u' File "socketIO_client/init.py", line 225, in _message', u' File "socketIO_client/transports.py", line 162, in send_packet', u' File "websocket/_core.py", line 239, in send', u' File "websocket/_core.py", line 264, in send_frame', u' File "websocket/_core.py", line 425, in _send', u' File "websocket/_socket.py", line 112, in send', u' File "eventlet/greenio/base.py", line 379, in send', u' File "eventlet/greenio/base.py", line 374, in _send_loop', u' File "eventlet/greenio/base.py", line 203, in _trampoline', u' File "eventlet/hubs/init.py", line 160, in trampoline', u' File "eventlet/hubs/epolls.py", line 49, in add', u' File "eventlet/hubs/hub.py", line 177, in add']
Sentry is attempting to send 1 pending error messages
Waiting up to 10 seconds
Press Ctrl-C to quit
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(_targs, *_kargs)
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 203, in _close
self._transport_instance.send_packet(engineIO_packet_type)
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/transports.py", line 162, in send_packet
self._connection.send(packet)
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 239, in send
return self.send_frame(frame)
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 264, in send_frame
l = self._send(data)
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 425, in _send
return send(self.sock, data)
File "/usr/local/lib/python2.7/dist-packages/websocket/_socket.py", line 112, in send
return sock.send(data)
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 379, in send
return self._send_loop(self.fd.send, data, flags)
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 374, in _send_loop
timeout_exc=socket.timeout("timed out"))
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 203, in _trampoline
mark_as_closed=self._mark_as_closed)
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/init.py", line 160, in trampoline
listener = hub.add(hub.WRITE, fileno, current.switch, current.throw, mark_as_closed)
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/epolls.py", line 49, in add
listener = BaseHub.add(self, evtype, fileno, cb, tb, mac)
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in add
evtype, fileno, evtype, cb, bucket[fileno]))
RuntimeError: Second simultaneous write on fileno 16 detected. Unless you really know what you're doing, make sure that only one greenthread can write any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_prevent_multiple_readers(False) - MY THREAD=<built-in method switch of greenlet.greenlet object at 0x7f73424ea9b0>; THAT THREAD=FdListener('write', 16, <built-in method switch of greenlet.greenlet object at 0x7f7341bfcaf0>, <built-in method throw of greenlet.greenlet object at 0x7f7341bfcaf0>)
Error in sys.exitfunc:
[2016-09-04 22:33:31] [MainThread] [sentry.errors.uncaught] [ERROR] [u"RuntimeError: Second simultaneous write on fileno 16 detected. Unless you really know what you're doing, make sure that only one greenthread can write any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_prevent_multiple_readers(False) - MY THREAD=<built-in method switch of greenlet.greenlet object at 0x7f73424ea9b0>; THAT THREAD=FdListener('write', 16, <built-in method switch of greenlet.greenlet object at 0x7f7341bfcaf0>, <built-in method throw of greenlet.greenlet object at 0x7f7341bfcaf0>)", u' File "python2.7/atexit.py", line 24, in _run_exitfuncs', u' File "socketIO_client/init.py", line 203, in _close', u' File "socketIO_client/transports.py", line 162, in send_packet', u' File "websocket/_core.py", line 239, in send', u' File "websocket/_core.py", line 264, in send_frame', u' File "websocket/_core.py", line 425, in _send', u' File "websocket/_socket.py", line 112, in send', u' File "eventlet/greenio/base.py", line 379, in send', u' File "eventlet/greenio/base.py", line 374, in _send_loop', u' File "eventlet/greenio/base.py", line 203, in _trampoline', u' File "eventlet/hubs/init.py", line 160, in trampoline', u' File "eventlet/hubs/epolls.py", line 49, in add', u' File "eventlet/hubs/hub.py", line 177, in add']
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(_targs, *_kargs)
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 203, in _close
self._transport_instance.send_packet(engineIO_packet_type)
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/transports.py", line 162, in send_packet
self._connection.send(packet)
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 239, in send
return self.send_frame(frame)
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 264, in send_frame
l = self._send(data)
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 425, in _send
return send(self.sock, data)
File "/usr/local/lib/python2.7/dist-packages/websocket/_socket.py", line 112, in send
return sock.send(data)
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 379, in send
return self._send_loop(self.fd.send, data, flags)
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 374, in _send_loop
timeout_exc=socket.timeout("timed out"))
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 203, in _trampoline
mark_as_closed=self._mark_as_closed)
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/init.py", line 160, in trampoline
listener = hub.add(hub.WRITE, fileno, current.switch, current.throw, mark_as_closed)
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/epolls.py", line 49, in add
listener = BaseHub.add(self, evtype, fileno, cb, tb, mac)
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in add
evtype, fileno, evtype, cb, bucket[fileno]))
RuntimeError: Second simultaneous write on fileno 16 detected. Unless you really know what you're doing, make sure that only one greenthread can write any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_prevent_multiple_readers(False) - MY THREAD=<built-in method switch of greenlet.greenlet object at 0x7f73424ea9b0>; THAT THREAD=FdListener('write', 16, <built-in method switch of greenlet.greenlet object at 0x7f7341bfcaf0>, <built-in method throw of greenlet.greenlet object at 0x7f7341bfcaf0>)
Sun Sep 4 22:33:31 BRT 2016 Pokebot Stopped.
Steps to Reproduce
Execute the bot for a little time
Other Information
OS: Ubuntu Server 16 LTS
Branch: dev
Git Commit: ca94424
Python Version: Python 2.7.12
Any other relevant files/configs (eg: path files)
The text was updated successfully, but these errors were encountered: