Hi,
I installed Matrixterm and like to start it, but every time I do this I get this
/home/fraktal/git-cloned-apps/MatrixTerm-master/matrixterm.py:189: DeprecationWarning: There is no current event loop
asyncio.get_event_loop().run_until_complete(main())
Traceback (most recent call last):
File "/home/fraktal/git-cloned-apps/MatrixTerm-master/matrixterm.py", line 189, in
asyncio.get_event_loop().run_until_complete(main())
File "/home/fraktal/miniconda3/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/fraktal/git-cloned-apps/MatrixTerm-master/matrixterm.py", line 146, in main
await matrix_cli.login(username, password)
File "/home/fraktal/git-cloned-apps/MatrixTerm-master/matrixterm.py", line 16, in login
response = await self.client.login(username=username, password=password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AsyncClient.login() got an unexpected keyword argument 'username'
There seem to be 2 errors
- one as a deprication warning
- one at the argument section
For the first one I tried to solve it by adding
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
at main
and for the second i tried to solve it with many things including setting the values directly.
Unfortunately I cannot run it anyway.
Can you please help me.
Kind regards
Andreas
Hi,
I installed Matrixterm and like to start it, but every time I do this I get this
/home/fraktal/git-cloned-apps/MatrixTerm-master/matrixterm.py:189: DeprecationWarning: There is no current event loop
asyncio.get_event_loop().run_until_complete(main())
Traceback (most recent call last):
File "/home/fraktal/git-cloned-apps/MatrixTerm-master/matrixterm.py", line 189, in
asyncio.get_event_loop().run_until_complete(main())
File "/home/fraktal/miniconda3/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/fraktal/git-cloned-apps/MatrixTerm-master/matrixterm.py", line 146, in main
await matrix_cli.login(username, password)
File "/home/fraktal/git-cloned-apps/MatrixTerm-master/matrixterm.py", line 16, in login
response = await self.client.login(username=username, password=password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AsyncClient.login() got an unexpected keyword argument 'username'
There seem to be 2 errors
For the first one I tried to solve it by adding
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
at main
and for the second i tried to solve it with many things including setting the values directly.
Unfortunately I cannot run it anyway.
Can you please help me.
Kind regards
Andreas