!JiiOHXrIUCtcOJsZCa:matrix.org

nio

341 Members
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/132 Servers

Load older messages


SenderMessageTime
26 Sep 2024
@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
9 Oct 2024
@mooling:envs.netMooling | 木泠
In reply to @ifiguero:matrix.org

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

If the client does not receive any message for a long time, will this timed out warning be triggered?
03:51:36
@mooling:envs.netMooling | 木泠 Or is there another reason for this timed out warning? 03:52:07
@nex:nexy7574.co.uknex (she/it)If you set a limit on your sync timeout then yes, not receiving a sync response in x milliseconds will give you that warning You will also get that warning if you try to perform an operation that either the homeserver takes forever to respond to, or you have a poor network connection and the connection is dropped11:06:35
@nex:nexy7574.co.uknex (she/it)

That warning means that the previous request will be retried iirc. There's some related config options in [Async]ClientConfig

11:07:02
@nex:nexy7574.co.uknex (she/it) changed their display name from public static void main string args to #include<stdio.h>.11:21:08
10 Oct 2024
@nex:nexy7574.co.uknex (she/it) changed their display name from #include<stdio.h> to using System;.05:05:04

Show newer messages


Back to Room ListRoom Version: 4