Skip to content

Running errors #1

@sx1262-test

Description

@sx1262-test

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions