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
The aiohttp.TCPConnector() class no longer has a conn_timeout keyword:
$ twtxt timeline
Traceback (most recent call last):
File "/usr/bin/twtxt", line 11, in <module>
load_entry_point('twtxt==1.2.1', 'console_scripts', 'twtxt')()
File "/usr/lib/python3.6/site-packages/click/core.py", line 722, in __call__returnself.main(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/click/core.py", line 697, in main
rv =self.invoke(ctx)
File "/usr/lib/python3.6/site-packages/click/core.py", line 1066, in invokereturn _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3.6/site-packages/click/core.py", line 895, in invokereturn ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.6/site-packages/click/core.py", line 535, in invokereturn callback(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/click/decorators.py", line 17, in new_funcreturn f(get_current_context(), *args, **kwargs)
File "/usr/lib/python3.6/site-packages/twtxt/cli.py", line 126, in timeline
tweets = get_remote_tweets(sources, limit, timeout, cache)
File "/usr/lib/python3.6/site-packages/twtxt/twhttp.py", line 105, in get_remote_tweets
conn = aiohttp.TCPConnector(conn_timeout=timeout, use_dns_cache=True)
TypeError: __init__() got an unexpected keyword argument 'conn_timeout'
Errorlog:
test@test:~/$ twtxt timeline
Traceback (most recent call last):
File "/home/test/.local/bin/twtxt", line 11, in
sys.exit(main())
File "/home/test/.local/lib/python3.5/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/test/.local/lib/python3.5/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/test/.local/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/test/.local/lib/python3.5/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/test/.local/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/test/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/test/.local/lib/python3.5/site-packages/twtxt/cli.py", line 126, in timeline
tweets = get_remote_tweets(sources, limit, timeout, cache)
File "/home/test/.local/lib/python3.5/site-packages/twtxt/twhttp.py", line 105, in get_remote_tweets
conn = aiohttp.TCPConnector(conn_timeout=timeout, use_dns_cache=True)
TypeError: init() got an unexpected keyword argument 'conn_timeout'
The
aiohttp.TCPConnector()
class no longer has aconn_timeout
keyword:twtxt: 1.2.1
python: 3.6.0
aiohttp: 2.0.3
linux: 4.10.8 (ArchLinux)
The text was updated successfully, but these errors were encountered: