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
{{ message }}
Repository navigation
executemany fails with TLS connection under uvloop #816
Can the issue be reproduced under both asyncio and uvloop?: No, it reproduces only under uvloop
Traceback (most recent call last):
File "asyncpg/protocol/protocol.pyx", line 909, in asyncpg.protocol.protocol.BaseProtocol._writelines
File "uvloop/sslproto.pyx", line 163, in uvloop.loop._SSLProtocolTransport.writelines
File "uvloop/sslproto.pyx", line 652, in uvloop.loop.SSLProtocol._write_appdata
TypeError: object of type 'asyncpg.pgproto.pgproto.WriteBuffer' has no len()
Exception ignored in: 'asyncpg.protocol.protocol.CoreProtocol._bind_execute_many_more'
Traceback (most recent call last):
File "asyncpg/protocol/protocol.pyx", line 909, in asyncpg.protocol.protocol.BaseProtocol._writelines
File "uvloop/sslproto.pyx", line 163, in uvloop.loop._SSLProtocolTransport.writelines
File "uvloop/sslproto.pyx", line 652, in uvloop.loop.SSLProtocol._write_appdata
TypeError: object of type 'asyncpg.pgproto.pgproto.WriteBuffer' has no len()
Activity
fantix commentedon Aug 25, 2021
This is likely a missing
memoryview()wrapper, let me check.[-]executemany fails with TLS connection and uvloop[/-][+]executemany fails with TLS connection under uvloop[/+]snaffi commentedon Aug 27, 2021
@fantix any news?
fantix commentedon Aug 27, 2021
This is a duplicate of #700 and fixed in #715 and v0.23.0, please update.