Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

matrix_client-0.0.1 is too old #15

Open
penguin42 opened this issue Jul 17, 2016 · 3 comments
Open

matrix_client-0.0.1 is too old #15

penguin42 opened this issue Jul 17, 2016 · 3 comments

Comments

@penguin42
Copy link

Hi,
the setup.py specifies 0.0.1 of matrix_client; but it doesn't have the msgtype parameter to send_message. It needs 0.0.2.
(0.0.3 fails with an unrecognised request at startup).

@turt2live
Copy link
Member

Temporary fix to not get the error: Open up your config and update the url. Take off everything after (and including) _matrix.

For example, if your url is https://mydomain.com/_matrix/client/api/v1 then replace it with https://mydomain.com

The Python SDK was apparently updated to make this change.

@kegsay
Copy link
Member

kegsay commented Aug 15, 2016

I'm hoping @Half-Shot fixed this for 0.0.4 so this can be closed, but I don't know for sure.

@Half-Shot
Copy link

Half-Shot commented Aug 15, 2016

The SDK doesn't currently allow the full URL (and 'client/api/v1' is actually wrong, it's up to the SDK as to what version to target).

In the future, could you log bugs like this on the python sdk issue tracker so I can be made aware of this.

I've tested 0.0.4 with a fresh install and it works fine, so I suggest that people follow @turt2live 's advice and update their URLs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants