syncer icon indicating copy to clipboard operation
syncer copied to clipboard

ipy:7.9 py:3.74 RuntimeError: There is no current event loop in thread 'MainThread'.

Open QGB opened this issue 5 years ago • 2 comments


C:\QGB\Anaconda3\lib\site-packages\syncer.py in run(*args, **kwargs)
     42     @wraps(f)
     43     def run(*args, **kwargs):
---> 44         return asyncio.get_event_loop().run_until_complete(f(*args, **kwargs))
     45     return run
     46

C:\QGB\Anaconda3\lib\asyncio\events.py in get_event_loop(self)
    642         if self._local._loop is None:
    643             raise RuntimeError('There is no current event loop in thread %r.'
--> 644                                % threading.current_thread().name)
    645
    646         return self._local._loop

RuntimeError: There is no current event loop in thread 'MainThread'.

QGB avatar Aug 14 '20 11:08 QGB

Does it fixed?

phuong avatar Jun 14 '21 04:06 phuong

Does it fixed?

no....

QGB avatar Jun 14 '21 06:06 QGB