!JiiOHXrIUCtcOJsZCa:matrix.org

nio

355 Members
The nio matrix python library | Latest release 0.4 https://pypi.org/project/matrix-nio/ | Documentation: https://matrix-nio.readthedocs.io/en/stable/139 Servers

Load older messages


SenderMessageTime
22 Sep 2024
@ifiguero:matrix.orgifiguero I can handle events out of order, or even repeated if that is required. That is not a problem. I'm just trying to fill the gaps. 13:23:05
26 Sep 2024
@wirdo12398:matrix.orgwirdo12398 joined the room.06:11:26
@wirdo12398:matrix.orgwirdo12398Hello I'm trying to run the following example: https://matrix-nio.readthedocs.io/en/latest/examples.html#manual-encryption-key-verification I have the issue when the message is sent, it is shown in the receiver client that this message is not verified by user (Actually it was commented in the code that this part of the example is not done and to be done by the reader -me). I tried many approaches, I tried to implement the verification by emoji (using another example) but with no success. Can anyone please put me on the right way to do it 06:23:08
@nex:nexy7574.co.uknex (she/it)https://github.com/matrix-nio/matrix-nio/issues/512 is this related to your issue?06:26:24
@wirdo12398:matrix.orgwirdo12398 Yeah thank you, this workaround fixed the verify_with_emoji example. Although the issue is still there, I verified the session and I can see it verified in my sessions, but when sending message to another user, it shows a warning with Encrypted by unknown or deleted device. Do you know anything about this? I don't have any clue 😥 07:26:53
@wirdo12398:matrix.orgwirdo12398 * Yeah thank you, this workaround fixed the verify_with_emoji example. Although the issue is still there, I verified the session and I can see it verified in my sessions, but when sending message to another user, it shows a warning with Encrypted by unknown or deleted device. Do you know anything about this? I don't have any clue 😥
What I did is that I ran the 'verify with emoji' example, and verified the session using the emojis, then I took the credentials.json content and replaced those created by 'manual encrypted verify' example (to use the same session to send the encrypted message), but with no luck, I can see that I used the same session (last active time changes when the message i sent) but the message shows warning that this is unknown or deleted device
07:29:38
@wirdo12398:matrix.orgwirdo12398image.png
Download image.png
07:30:22
@wirdo12398:matrix.orgwirdo12398It is working now, I just deleted the device (from sessions tab) then re-signed in and verified the new session and everything worked fine. This is to help others if someone faced the same issue08:45:39
29 Sep 2024
@nex:nexy7574.co.uknex (she/it)Redacted or Malformed Event20:58:34
1 Oct 2024
@ge54vaw:tum.deRobert Imschweiler changed their profile picture.09:09:13
2 Oct 2024
@nex:nexy7574.co.uknex (she/it)Hey, would anyone be able to help me out with https://github.com/matrix-nio/matrix-nio/issues/525 ?12:00:35
@nex:nexy7574.co.uknex (she/it) changed their profile picture.19:58:05
22 Oct 2024
@captain_grossbeard:pancrypticon.net@captain_grossbeard:pancrypticon.net left the room.09:22:16
4 Oct 2024
@me:shahpaarth.comPaarth Shah - Github MaintainerRead through; would definitely like to take a look soon when I get a free moment07:51:21
@me:shahpaarth.comPaarth Shah - Github Maintainer changed the room topic to "The nio matrix python library | Latest stable release 0.25.2 | https://pypi.org/project/matrix-nio/ | Documentation: https://matrix-nio.readthedocs.io/en/stable/" from "The nio matrix python library | Latest stable release 0.25.1 | Latest release candidate 0.25.2rc1 | https://pypi.org/project/matrix-nio/ | Documentation: https://matrix-nio.readthedocs.io/en/stable/".07:51:50
@nex:nexy7574.co.uknex (she/it)See I was under the assumption that storing the sync token to resume from later would also store the sync data11:31:03
@nex:nexy7574.co.uknex (she/it)Because without that, if you start the process again, you don't backfill the state, meaning your data is incomplete11:31:23
@nex:nexy7574.co.uknex (she/it)Which leads to, for example, the client not seeing that anyone has power levels11:31:36
@nex:nexy7574.co.uknex (she/it)I'm not entirely sure how other clients do this, because there's no way they're storing every single sync given they can be many megabytes11:32:10
@nex:nexy7574.co.uknex (she/it)And a full sync is far too expensive at that point too. In my case, a full initial sync takes 5 minutes on my bot now11:32:40
7 Oct 2024
@mooling:envs.netMooling | 木泠I try to run message sender in a sub thread, and when Internet is bad, messages were sent more than once.15:12:00
@mooling:envs.netMooling | 木泠屏幕截图_20241007_231212.png
Download 屏幕截图_20241007_231212.png
15:12:26
@mooling:envs.netMooling | 木泠Decorator @new_thread is from MCDReforged: https://docs.mcdreforged.com/en/latest/code_references/decorators.html#new-thread15:15:54
@mooling:envs.netMooling | 木泠 * I try to run message sender in a sub thread, and when Internet is bad, messages would be sent more than once.15:21:30
8 Oct 2024
@mooling:envs.netMooling | 木泠And another question: how do these "Timed out" errors appear? 14:18:47
@mooling:envs.netMooling | 木泠屏幕截图_20241008_221714.png
Download 屏幕截图_20241008_221714.png
14:18:53
@ifiguero:matrix.orgifiguero

It's a warning from the async client. From the looks is on the send method.

for loggername in ["nio.responses", "nio.client.async_client", "asyncio", "nio.events.misc"]: loggerloop = logging.getLogger(loggername) if debug: loggerloop.setLevel(logging.INFO) else: loggerloop.setLevel(logging.CRITICAL) 

To disable it. I increase the logger level so it doesn't show any of it. Critical mostly disable all of them IMHO

16:33:54
@ifiguero:matrix.orgifiguero *

It's a warning from the async client. From the looks is on the send method.

for loggername in ["nio.responses", "nio.client.async_client", "asyncio", "nio.events.misc"]: 
    loggerloop = logging.getLogger(loggername) 
    if debug: loggerloop.setLevel(logging.INFO) else: loggerloop.setLevel(logging.CRITICAL) 

To disable it. I increase the logger level so it doesn't show any of it. Critical mostly disable all of them IMHO

17:31:58
@ifiguero:matrix.orgifiguero *

It's a warning from the async client. From the looks is on the send method.

for loggername in ["nio.responses", "nio.client.async_client", "nio.events.misc"]: 
    loggerloop = logging.getLogger(loggername) 
    if debug: 
        loggerloop.setLevel(logging.INFO) 
    else: 
        loggerloop.setLevel(logging.CRITICAL) 

To disable it. I increase the logger level so it doesn't show any of it. Critical mostly disable all of them IMHO

17:32:28
@nex:nexy7574.co.uknex (she/it) changed their display name from nex (she/it) to public static void main string args.23:11:31

Show newer messages


Back to Room ListRoom Version: 4