13 Aug 2024 |
nex (she/it) | no worries. I'm keeping the github issue updated in line with the stuff here | 20:16:26 |
Paarth Shah - Github Maintainer | In reply to @nex:nexy7574.co.uk no worries. I'm keeping the github issue updated in line with the stuff here Yep I saw, and I appreciate it! Was about to do it until I saw you beat me to it ๐ | 20:17:00 |
nex (she/it) | I'm good at being everywhere at once | 20:18:05 |
14 Aug 2024 |
HarHarLinks | I was about to ask about this but then I duckduckgo'd ๐
https://github.com/matrix-nio/vodozemac-python | 14:45:22 |
| @tleydxdy:tlebear.win left the room. | 14:58:02 |
15 Aug 2024 |
nex (she/it) | moving nio into an src/ layout appears to be one hell of a refactor task ๐ | 13:59:40 |
nex (she/it) | Download image.png | 13:59:41 |
Paarth Shah - Github Maintainer | In reply to @nex:nexy7574.co.uk moving nio into an src/ layout appears to be one hell of a refactor task ๐ Imagine the dark days when people had to do it by hand lol | 17:53:55 |
nex (she/it) | I am greatful for the ability to drag and drop ๐ | 18:51:37 |
16 Aug 2024 |
nex (she/it) | Does anyone know how I can just make olm aware of a session | 13:57:22 |
nex (she/it) | I've spun up a new bot account, and any message in an encrypted room is just spat out as
2024-08-16 13:56:37 - nio.crypto.log - WARNING - Received a undecryptable Megolm event from a unknown device: @nex:transgender.ing GCxVJViVBV
2024-08-16 13:56:37 - nio.crypto.log - WARNING - Error decrypting megolm event, no session found with session id SbfkMGqfXCdJpt9xJSRX49Y8HzRpbessh+GzMDWS/Bs for room <...>
| 13:57:53 |
tulir | In reply to @nex:nexy7574.co.uk Does anyone know how I can just make olm aware of a session the question is probably wrong | 14:01:59 |
tulir | if you mean you want old messages, then it requires using key exports or key backup (not sure if either is supported in nio) | 14:04:37 |
tulir | if new messages don't work, it requires troubleshooting which part failed exactly | 14:04:50 |
nex (she/it) | I'll take a look at debug logs | 14:29:28 |
nex (she/it) | In reply to@tulir:maunium.net if you mean you want old messages, then it requires using key exports or key backup (not sure if either is supported in nio) Also, key imports are supported, but server-side backups are not | 14:36:34 |
18 Aug 2024 |
| Matthew changed their display name from Matthew to Matthew (away). | 10:31:40 |
| tom changed their display name from tom [away ยท back 2024-08-19] to tom. | 17:12:56 |
| nex (she/it) removed their profile picture. | 20:58:57 |
| nex (she/it) set a profile picture. | 21:02:21 |
| sfink changed their display name from sfink|covid to sfink. | 23:48:41 |
19 Aug 2024 |
| nex (she/it) changed their profile picture. | 16:20:25 |
nex (she/it) | In reply to @nex:nexy7574.co.uk I'll take a look at debug logs 2024-08-19 17:25:20 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:20 - nio.crypto.log - WARNING - Received a undecryptable Megolm event from a device with no Olm sessions: @nex:nexy7574.co.uk nozE9zP8Gq
2024-08-19 17:25:20 - nio.crypto.log - WARNING - Error decrypting megolm event, no session found with session id hwzpAa1kwyl7/HLLXwuYC7NY9z/jE6GB2xRzcmdhfLo for room !9LJaUI10P7j9PPMu:nexy7574.co.uk
2024-08-19 17:25:20 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:20 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:29 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:29 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:31 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:31 - nio.crypto.log - WARNING - Received a undecryptable Megolm event from a device with no Olm sessions: @nex:nexy7574.co.uk nozE9zP8Gq
2024-08-19 17:25:31 - nio.crypto.log - WARNING - Error decrypting megolm event, no session found with session id hwzpAa1kwyl7/HLLXwuYC7NY9z/jE6GB2xRzcmdhfLo for room !9LJaUI10P7j9PPMu:nexy7574.co.uk
2024-08-19 17:25:31 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:31 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:31 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:31 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:31 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:31 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:31 - nio.crypto.log - WARNING - Received a undecryptable Megolm event from a device with no Olm sessions: @nex:nexy7574.co.uk nozE9zP8Gq
2024-08-19 17:25:31 - nio.crypto.log - WARNING - Error decrypting megolm event, no session found with session id hwzpAa1kwyl7/HLLXwuYC7NY9z/jE6GB2xRzcmdhfLo for room !9LJaUI10P7j9PPMu:nexy7574.co.uk
2024-08-19 17:25:31 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:31 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:32 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:32 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:32 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:33 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:33 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:33 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:33 - nio.crypto.log - WARNING - Received a undecryptable Megolm event from a device with no Olm sessions: @nex:nexy7574.co.uk nozE9zP8Gq
2024-08-19 17:25:33 - nio.crypto.log - WARNING - Error decrypting megolm event, no session found with session id hwzpAa1kwyl7/HLLXwuYC7NY9z/jE6GB2xRzcmdhfLo for room !9LJaUI10P7j9PPMu:nexy7574.co.uk
2024-08-19 17:25:33 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:33 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:33 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:34 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:34 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:34 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:34 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:35 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:35 - nio.crypto.log - WARNING - Received a undecryptable Megolm event from a device with no Olm sessions: @nex:nexy7574.co.uk nozE9zP8Gq
2024-08-19 17:25:35 - nio.crypto.log - WARNING - Error decrypting megolm event, no session found with session id hwzpAa1kwyl7/HLLXwuYC7NY9z/jE6GB2xRzcmdhfLo for room !9LJaUI10P7j9PPMu:nexy7574.co.uk
2024-08-19 17:25:35 - nio.responses - WARNING - Error validating response: 'device_keys' is a required property
2024-08-19 17:25:35 - nio.responses - WARNING - Error validating response: 'device_keys' is a required propert
These are the debug logs
| 17:26:18 |
nex (she/it) | I'm not sure how to debug this | 17:32:35 |
anton.molyboha | The "Error validating response" usually appears when response from the server does not match the schema described in schemas.py [1]. Looks like your bot sent a request to keys/query [2], got a response that did not include device_keys key, and because it did not fit the schema, nio has thrown away the whole response. Could it be that processing that response was necessary for things to work, even though device_keys were absent?
[1] https://github.com/matrix-nio/matrix-nio/blob/main/nio/schemas.py#L1374 [2] https://spec.matrix.org/v1.11/client-server-api/#post_matrixclientv3keysquery
| 18:55:41 |
anton.molyboha | It looks like KeysQueryResponse is normally handled over here: https://github.com/matrix-nio/matrix-nio/blob/main/nio/client/base_client.py#L1019 but I don't understand where response.changed is getting its value from, it does not seem to be a part of the json returned by the server, if I am reading the correct part of the spec. | 19:00:37 |
nex (she/it) | I love "error validating response (warning)" and then not seeing the failed validation | 19:26:17 |
21 Aug 2024 |
| @alex:a09.uk left the room. | 21:00:12 |
24 Aug 2024 |
Paarth Shah - Github Maintainer | nex (she/it): https://github.com/matrix-nio/matrix-nio/pull/516 is merged ๐ | 22:05:12 |
Paarth Shah - Github Maintainer | You can see some of the other touchups I did besides just letting the linting autofix things, but to answer some of your TODOs: installing .[dev] does indeed automatically include all of the [e2e] implicitly, and .[docs] includes .[dev] , so transitively gets .[dev,e2e] for free without explicitly specifying it | 22:07:46 |