Reactor not Restartable

nithishkailas
S_Object = KSD.Stream_Data()
# Initialise
kws = KSD.KiteTicker(KRA.Access_Token().api_key,Access_Token_value)

kws.on_ticks = S_Object.on_ticks
kws.on_connect = S_Object.on_connect
kws.on_close = S_Object.on_close


# Infinite loop on the main thread. Nothing after this will run.
# You have to use the pre-defined callbacks to manage subscriptions.
kws.connect()

ERROR :

lib\site-packages\twisted\internet\base.py", line 730, in startRunning
raise error.ReactorNotRestartable()

ReactorNotRestartable
Sign In or Register to comment.