Open MyDev45 opened 5 years ago
Could you please show the exact value you're using in your code where you currently have "webpage_logging_address"
? Also, please list which commit you're using since it appears you aren't using a released version of the library.
Without knowing what version you're using, I can't track the error very precisely, but I'm guessing you're receiving invalid JSON from the server, and the error is coming from this line: https://github.com/matrix-org/matrix-python-sdk/blob/6c50cdd7ed4474c03db3b5bd1f07aefccca61625/matrix_client/api.py#L752
Regardless of what's causing the underlying issue, we should have error handling there for the situation where invalid JSON is returned. This would also make troubleshooting issues like this significantly easier.
Hi there! I'm currently trying to use Matrix to log in a server webpage with username and password. I'm using Python 3 and the appropriate SDK, but I'm facing an issue: Since it looks that I succeed in reaching the server page address, an error occurs when it comes to logging in:
My code is really basic:
I've been searching for a solution for hours, without success. Any idea of why this happens and how to solve the problem?
Thanks a lot,
MyDev