You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
##testcode.pyfromPyQt5.QtWidgetsimportQApplication, QProgressBarfromquamashimportQEventLoop, QThreadExecutorapp=QApplication(sys.argv)
loop=QEventLoop(app)
asyncio.set_event_loop(loop) # NEW must set the event loopprogress=QProgressBar()
progress.setRange(0, 99)
progress.show()
asyncdefmaster():
awaitfirst_50()
asyncdeffirst_50():
red_sql=awaitaioredis.create_redis_pool(f"redis://localhost:6379/1")
withloop: ## context manager calls .close() when loop completes, and releases all resourcesloop.run_until_complete(master())
The text was updated successfully, but these errors were encountered:
625781186
changed the title
aioredis connect raise 'Event callback failed'
[Bug or Feature Requests] aioredis connect raise 'Event callback failed'
Nov 21, 2019
env:
python 3.6.4 64bit
pyqt5 5.10.1
aioredis 1.1.0 ~1.3.0
quamash 0.6.1
error:
use asyncio loop is ok:
The text was updated successfully, but these errors were encountered: