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
TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'extra_headers'
===========================================================================
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "c:\users\tim.local\bin\pytr.exe_main.py", line 7, in
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\pytr\main.py", line 266, in main
asyncio.get_event_loop().run_until_complete(dl.dl_loop())
File "C:\Program Files\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\pytr\dl.py", line 68, in dl_loop
await self.tl.get_next_timeline_transactions()
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\pytr\timeline.py", line 30, in get_next_timeline_transactions
await self.tr.timeline_transactions()
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\pytr\api.py", line 506, in timeline_transactions
return await self.subscribe({"type": "timelineTransactions", "after": after})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\pytr\api.py", line 322, in subscribe
ws = await self._get_ws()
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\pytr\api.py", line 301, in _get_ws
self._ws = await websockets.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\websockets\asyncio\client.py", line 444, in await_impl
self.connection = await self.create_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\websockets\asyncio\client.py", line 370, in create_connection
_, connection = await loop.create_connection(factory, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'extra_headers'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'extra_headers'
===========================================================================
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "c:\users\tim.local\bin\pytr.exe_main.py", line 7, in
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\pytr\main.py", line 266, in main
asyncio.get_event_loop().run_until_complete(dl.dl_loop())
File "C:\Program Files\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\pytr\dl.py", line 68, in dl_loop
await self.tl.get_next_timeline_transactions()
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\pytr\timeline.py", line 30, in get_next_timeline_transactions
await self.tr.timeline_transactions()
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\pytr\api.py", line 506, in timeline_transactions
return await self.subscribe({"type": "timelineTransactions", "after": after})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\pytr\api.py", line 322, in subscribe
ws = await self._get_ws()
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\pytr\api.py", line 301, in _get_ws
self._ws = await websockets.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\websockets\asyncio\client.py", line 444, in await_impl
self.connection = await self.create_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tim\pipx\venvs\pytr\Lib\site-packages\websockets\asyncio\client.py", line 370, in create_connection
_, connection = await loop.create_connection(factory, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'extra_headers'
Beta Was this translation helpful? Give feedback.
All reactions