Beherit
has left
00:00:35
menel
has left
00:10:22
Beherit
has joined
00:11:18
selurvedu
has left
00:14:11
spiral
has joined
00:15:54
spiral
has left
00:24:01
spiral
has joined
00:37:07
goffi
has left
00:43:51
spiral
has left
00:45:08
spiral
has joined
00:52:30
sonny
has left
00:55:53
Millesimus
has left
01:01:02
spiral
has left
01:01:09
sonny
has joined
01:03:24
thomaslewis
has left
01:04:09
spiral
has joined
01:06:32
adx
has left
01:08:40
Millesimus
has joined
01:09:09
Millesimus
has left
01:23:16
wurstsalat
has left
01:23:34
antranigv
has left
01:33:44
Maranda[x]
has left
01:34:32
Mjolnir Archon
has left
01:34:58
Maranda
has left
01:34:58
Millesimus
has joined
01:36:08
Beherit
has left
01:40:17
Millesimus
has left
01:56:49
Millesimus
has joined
02:03:09
Millesimus
has left
02:18:50
debacle
has left
02:24:18
Millesimus
has joined
02:30:13
Trung
has joined
02:34:24
kapad
has left
02:36:51
Mx2
has left
02:39:58
Millesimus
has left
02:45:55
Mx2
has joined
02:49:27
Millesimus
has joined
02:54:13
Beherit
has joined
02:54:28
atomicwatch
has left
03:00:26
Millesimus
has left
03:10:01
u
has left
03:13:14
Sam
has left
03:13:29
u
has joined
03:14:12
Mx2
has left
03:15:57
Mx2
has joined
03:17:03
Millesimus
has joined
03:19:38
thomaslewis
has joined
03:21:01
atomicwatch
has joined
03:27:29
Millesimus
has left
03:35:17
Sam
has joined
03:39:42
Millesimus
has joined
03:42:34
thomaslewis
has left
03:45:47
u
has left
03:50:48
u
has joined
03:50:50
Schimon_
has joined
03:56:56
atomicwatch
has left
03:57:21
Millesimus
has left
04:03:46
atomicwatch
has joined
04:12:30
Yagizа
has joined
04:14:18
Millesimus
has joined
04:15:11
Schimon_
has left
04:24:44
Millesimus
has left
04:31:18
rubi
has left
04:35:46
rubi
has joined
04:36:19
rubi
has left
04:39:05
rubi
has joined
04:39:26
Millesimus
has joined
04:40:18
Millesimus
has left
04:55:58
Millesimus
has joined
05:11:48
Mjolnir Archon
has joined
05:16:01
soulcaramel
has left
05:17:29
Maranda
has joined
05:17:57
u
has left
05:20:35
Millesimus
has left
05:28:15
u
has joined
05:30:46
Millesimus
has joined
05:39:20
atomicwatch
has left
05:39:45
u
has left
05:50:09
u
has joined
05:51:35
Millesimus
has left
05:55:03
atomicwatch
has joined
05:58:32
nicola
has joined
05:59:43
Millesimus
has joined
06:00:15
nicola
has left
06:01:31
menel
has joined
06:03:37
menel
has left
06:14:31
menel
has joined
06:19:04
Millesimus
has left
06:21:04
u
has left
06:22:07
u
has joined
06:22:08
nicola
has joined
06:23:01
jgart
has left
06:24:30
nicola
has left
06:24:36
nicola
has joined
06:24:37
Schimon_
has joined
06:25:24
mirux
has joined
06:33:59
nicola
has left
06:34:49
Millesimus
has joined
06:37:32
nicola
has joined
06:37:57
u
has left
06:44:27
u
has joined
06:45:53
tsk
has joined
06:53:00
Millesimus
has left
06:53:31
u
has left
06:54:19
u
has joined
06:56:31
jgart
has joined
06:56:34
Millesimus
has joined
07:00:22
nicola
has left
07:03:55
u
has left
07:13:39
Millesimus
has left
07:15:35
u
has joined
07:17:45
yarmo
has left
07:20:32
yarmo
has joined
07:20:33
Millesimus
has joined
07:23:30
u
has left
07:25:21
u
has joined
07:28:25
u
has left
07:32:47
u
has joined
07:32:49
u
has left
07:35:03
u
has joined
07:36:05
MSavoritias (fae,ve)
has joined
07:39:12
moparisthebest
has left
07:41:04
moparisthebest
has joined
07:41:35
u
has left
07:41:47
debacle
has joined
07:48:21
Vaulor
has joined
07:54:10
tsk
has left
07:56:13
Alex
has joined
07:59:53
larma
has joined
08:01:39
u
has joined
08:03:08
nicola
has joined
08:12:03
sponji
has joined
08:28:48
u
has left
08:34:15
jubalh
has joined
08:37:57
sponji
has left
08:45:03
qwemnb
has joined
09:01:08
antranigv
has joined
09:01:38
qwemnb
has left
09:02:05
qwemnb
has joined
09:02:09
antranigv
has left
09:02:42
larma
has left
09:03:24
larma
has joined
09:03:43
larma
has left
09:04:37
larma
has joined
09:05:01
goffi
has joined
09:05:21
larma
has left
09:05:30
larma
has joined
09:05:53
larma
has left
09:07:26
larma
has joined
09:08:12
larma
has left
09:10:59
larma
has joined
09:14:18
larma
has left
09:15:38
larma
has joined
09:15:43
antranigv
has joined
09:15:57
wurstsalat
has joined
09:16:31
Laura
has left
09:21:58
Laura
has joined
09:26:25
larma
has left
09:29:55
larma
has joined
09:30:18
adx
has joined
09:30:22
larma
has left
09:32:13
larma
has joined
09:32:53
qwemnb
has left
09:39:41
antranigv
has left
09:40:55
antranigv
has joined
09:43:25
larma
has left
09:43:40
larma
has joined
09:45:48
Mario Sabatino
has left
09:49:42
rubi
has left
09:49:44
Mario Sabatino
has joined
09:49:46
rubi
has joined
09:51:22
Laura
has left
09:58:55
larma
has left
10:03:29
larma
has joined
10:03:50
Laura
has joined
10:05:05
VesselWave
has joined
10:05:17
rubi
has left
10:10:53
rubi
has joined
10:11:25
rubi
has left
10:11:47
rubi
has joined
10:12:33
VesselWave
10:13:40
Hello, I am trying to write an XMPP OMEMO chat bot in Python.
The only example, that I found is this: https://lab.louiz.org/poezio/slixmpp-omemo/-/blob/main/examples/echo_client.py . It is done with slixmpp and
slixmpp-omemo. Unfortunetly, it does not work.
The error I get:
RuntimeError: no running event loop
sys:1: RuntimeWarning: coroutine 'XEP_0384.session_start_omemo' was never awaited
Could you please help me?
stefan
has left
10:13:40
jubalh
has left
10:18:40
rubi
has left
10:20:09
Kev
has joined
10:20:33
pep.
10:21:15
We've started to see stuff like that in slix recently. It's weird because this call specifically is done the following say: `asyncio.create_task(self.session_start_omemo())`.
Kev
has left
10:22:02
pep.
10:23:41
Also that's a warning, that shouldn't stop the bot from running, does it ✎
pep.
10:23:51
Also that's a warning, that shouldn't stop the bot from running, does it stop really? ✏
VesselWave
10:25:18
It stops:
Traceback (most recent call last):
File "/home/user/Documents/Projects/echo_client.py", line 329, in <module>
xmpp.register_plugin(
File "/home/user/.local/lib/python3.10/site-packages/slixmpp/basexmpp.py", line 269, in register_plugin
self.plugin.enable(plugin, pconfig) # type: ignore
File "/home/user/.local/lib/python3.10/site-packages/slixmpp/plugins/base.py", line 162, in enable
plugin._init()
File "/home/user/.local/lib/python3.10/site-packages/slixmpp/plugins/base.py", line 318, in _init
self.plugin_init()
File "/home/user/.local/lib/python3.10/site-packages/slixmpp_omemo/__init__.py", line 239, in plugin_init
asyncio.create_task(self.session_start_omemo())
File "/usr/lib/python3.10/asyncio/tasks.py", line 336, in create_task
loop = events.get_running_loop()
RuntimeError: no running event loop
sys:1: RuntimeWarning: coroutine 'XEP_0384.session_start_omemo' was never awaited
rubi
has joined
10:25:37
rubi
has left
10:25:59
pep.
10:28:45
Ok that helps having the actual error not just a warning that's a side-effect of it
VesselWave
10:34:56
I've made a rollback via `pip install slixmpp-omemo==0.8.0` the error disappeared
VesselWave
10:37:32
https://lab.louiz.org/poezio/slixmpp-omemo/-/compare/v0.8.0...v0.9.0
rubi
has joined
10:37:36
pep.
10:37:42
I guess that's related to 02b3380ac345370fa615534bab167e8ead2c9aa9 "Replace ensure_future calls with create_task", but I'm not sure why the loop isn't created
pep.
10:37:58
I'll have a look, thanks
antranigv
has left
10:39:13
Laura
has left
10:39:56
paul
has left
10:43:32
Maranda[x]
has joined
10:45:15
Patiga
has left
10:46:48
paul
has joined
10:48:13
u
has joined
10:52:46
Maranda[x]
has left
10:56:52
Maranda[x]
has joined
10:57:04
atomicwatch
has left
11:02:04
Millesimus
has left
11:04:09
Schimon_
has left
11:06:59
larma
has left
11:07:04
Schimon_
has joined
11:08:59
atomicwatch
has joined
11:10:40
atomicwatch
has left
11:10:44
Millesimus
has joined
11:11:26
PapaTutuWawa
has joined
11:11:40
Millesimus
has left
11:24:50
Millesimus
has joined
11:26:29
Millesimus
has left
11:28:17
techmetx11
has left
11:29:09
techmetx11
has joined
11:29:11
Zash
has left
11:31:39
Zash
has joined
11:32:13
Millesimus
has joined
11:32:22
goffi
has left
11:34:08
goffi
has joined
11:34:20
MSavoritias (fae,ve)
has left
11:34:42
atomicwatch
has joined
11:40:28
atomicwatch
has left
11:40:30
stefan
has joined
11:43:57
Patiga
has joined
11:51:27
PapaTutuWawa
has left
11:53:03
Vaulor
has left
11:54:13
Vaulor
has joined
11:54:17
antranigv
has joined
11:57:51
antranigv
has left
12:05:32
atomicwatch
has joined
12:06:19
tsk
has joined
12:06:27
antranigv
has joined
12:06:45
spectrum
has joined
12:06:52
spiral
has left
12:09:59
MSavoritias (fae,ve)
has joined
12:12:58
spiral
has joined
12:14:38
debacle
has left
12:17:38
soulcaramel
has joined
12:18:46
xecks
has left
12:26:24
spiral
has left
12:28:14
jubalh
has joined
12:30:44
Laura
has joined
12:32:16
antranigv
has left
12:36:38
spectrum
has left
12:36:38
selurvedu
has joined
12:37:44
antranigv
has joined
12:37:47
spectrum
has joined
12:37:56
xecks
has joined
12:39:04
Maranda[x]
has left
12:44:18
Maranda[x]
has joined
12:44:29
spiral
has joined
12:46:48
rubi
has left
12:58:15
MSavoritias (fae,ve)
has left
12:58:22
menel
has left
12:59:22
menel
has joined
13:04:29
rubi
has joined
13:07:35
spiral
has left
13:14:23
selurvedu
has left
13:16:39
oshn
has left
13:16:57
oshn
has joined
13:18:15
spectrum
has left
13:18:40
antranigv
has left
13:18:40
antranigv
has joined
13:19:57
spectrum
has joined
13:19:59
antranigv
has left
13:20:13
antranigv
has joined
13:20:14
Vaulor
has left
13:21:35
Kev
has joined
13:21:36
Vaulor
has joined
13:21:36
jubalh
has left
13:21:56
Kev
has left
13:22:33
rubi
has left
13:25:51
rubi
has joined
13:25:55
spiral
has joined
13:26:37
me9
has joined
13:33:03
Kev
has joined
13:36:05
antranigv
has left
13:36:18
Kev
has left
13:36:55
menel
has left
13:37:47
rubi
has left
13:38:27
rubi
has joined
13:38:35
menel
has joined
13:40:35
sonny
has left
13:44:39
rubi
has left
13:48:36
rubi
has joined
13:48:39
sonny
has joined
13:50:08
Vaulor
has left
13:51:14
Vaulor
has joined
13:51:16
Vaulor
has left
14:12:10
Vaulor
has joined
14:12:13
norayr
has left
14:12:56
jubalh
has joined
14:19:39
Patiga
has left
14:22:33
MSavoritias (fae,ve)
has joined
14:24:00
lovetox
has left
14:31:07
deuill
has joined
14:31:10
lovetox
has joined
14:31:33
tsk
has left
14:36:20
Schimon_
has left
14:36:49
Schimon_
has joined
14:39:54
deuill
has left
14:44:03
john-machine
has left
14:48:14
goffi
has left
14:48:41
goffi
has joined
14:48:56
john-machine
has joined
14:54:16
Mx2
has left
14:57:32
Kev
has joined
14:58:33
Kev
has left
14:59:22
Patiga
has joined
15:12:14
thomaslewis
has joined
15:26:14
thomaslewis
has left
15:27:26
thomaslewis
has joined
15:27:45
Vaulor
has left
15:31:16
Vaulor
has joined
15:31:20
thomaslewis
has left
15:32:02
pasdesushi
has joined
15:34:43
pasdesushi
has left
15:34:54
pasdesushi
has joined
15:34:56
antranigv
has joined
15:36:52
antranigv
has left
15:37:34
Pasdesushi
has joined
15:40:42
pasdesushi
has left
15:40:43
u
has left
15:40:43
Sam
has left
15:46:55
Sam
has joined
15:48:09
selurvedu
has joined
15:50:47
Sam
has left
15:53:45
Sam
has joined
15:55:53
Pasdesushi
has left
16:00:35
u
has joined
16:02:48
antranigv
has joined
16:04:14
goffi
has left
16:11:37
goffi
has joined
16:11:50
Dele Olajide
has joined
16:15:02
u
has left
16:15:22
u
has joined
16:16:12
Mx2
has joined
16:21:35
nicoco
has joined
16:30:37
goffi
has left
16:34:07
goffi
has joined
16:36:36
Laura
has left
16:43:58
u
has left
16:46:00
u
has joined
16:48:48
goffi
has left
16:56:29
goffi
has joined
16:56:42
Ingolf
has left
16:58:15
Ingolf
has joined
16:58:18
goffi
has left
16:58:57
goffi
has joined
16:59:09
Vaulor
has left
17:01:07
Vaulor
has joined
17:01:13
goffi
has left
17:01:16
goffi
has joined
17:01:28
goffi
has left
17:02:01
goffi
has joined
17:02:15
Sam
has left
17:07:04
Sam
has joined
17:07:57
Laura
has joined
17:25:49
menel
has left
17:27:09
moparisthebest
has left
17:33:31
menel
has joined
17:33:47
moparisthebest
has joined
17:33:57
u
has left
17:38:32
u
has joined
17:39:23
qwemnb
has joined
17:49:25
me9
has left
18:00:36
selurvedu
has left
18:00:40
Dele Olajide
has left
18:03:02
me9
has joined
18:05:02
marc0s
has left
18:11:59
marc0s
has joined
18:12:02
debacle
has joined
18:20:03
menel
has left
18:32:21
menel
has joined
18:33:44
VesselWave
has left
18:34:57
qwemnb
has left
18:40:16
Vaulor
has left
18:48:32
Vaulor
has joined
18:49:52
rubi
has left
18:56:52
Yagizа
has left
19:00:31
rubi
has joined
19:13:49
adx
has left
19:24:54
Laura
has left
19:44:04
Kev
has joined
20:06:51
Kev
has left
20:07:51
Laura
has joined
20:25:32
antranigv
has left
20:30:04
norayr
has joined
20:43:31
Maranda
has left
20:49:03
Mjolnir Archon
has left
20:49:03
Sam
has left
20:54:31
Vaulor
has left
20:56:26
tsk
has joined
20:59:04
antranigv
has joined
20:59:12
Vaulor
has joined
20:59:43
tsk
has left
21:01:34
Sam
has joined
21:04:11
kapad
has joined
21:06:41
rubi
has left
21:07:03
rubi
has joined
21:07:22
antranigv
has left
21:08:10
MSavoritias (fae,ve)
has left
21:14:05
atomicwatch
has left
21:16:00
atomicwatch
has joined
21:21:58
PapaTutuWawa
has joined
21:34:02
menel
has left
21:42:05
larma
has joined
21:45:37
Mario Sabatino
has left
21:46:08
menel
has joined
21:47:52
mirux
has left
21:49:24
techmetx11
has left
22:04:35
techmetx11
has joined
22:05:22
marc0s
has left
22:09:21
marc0s
has joined
22:09:23
antranigv
has joined
22:10:50
Kev
has joined
22:15:40
spiral
has left
22:16:29
Kev
has left
22:16:40
Neustradamus
has joined
22:20:30
Neustradamus
has left
22:20:45
spiral
has joined
22:26:26
u
has left
22:26:56
Trung
has left
22:27:10
stpeter
has joined
22:27:14
u
has joined
22:28:01
Vaulor
has left
22:32:02
u
has left
22:37:29
nicoco
has left
22:37:48
u
has joined
22:38:50
me9
has left
22:39:42
Vaulor
has joined
22:42:38
marc0s
has left
22:43:04
marc0s
has joined
22:44:05
spiral
has left
22:45:06
u
has left
22:45:25
spiral
has joined
22:47:11
u
has joined
22:49:03
Mjolnir Archon
has joined
22:50:16
Maranda
has joined
22:50:16
goffi
has left
23:02:24
menel
has left
23:06:16
antranigv
has left
23:11:32
PapaTutuWawa
has left
23:12:28
debacle
has left
23:16:40
wurstsalat
has left
23:16:42
stpeter
has left
23:17:52
Millesimus
has left
23:18:10
Ingolf
has left
23:20:48
Ingolf
has joined
23:20:56
stpeter
has joined
23:24:24
antranigv
has joined
23:26:45
Millesimus
has joined
23:33:00
Vaulor
has left
23:39:28
stpeter
has left
23:43:14
xecks
has left
23:47:57
xecks
has joined
23:47:58
sponji
has joined
23:55:25
sponji
has left
23:55:44
sponji
has joined
23:55:59
sponji
has left
23:56:12
sponji
has joined
23:56:22
sponji
has left
23:56:38
sponji
has joined
23:56:48
sponji
has left
23:57:02
sponji
has joined
23:57:40
sponji
has left
23:57:49
sponji
has joined
23:58:02
sponji
has left
23:58:15
sponji
has joined
23:58:27
sponji
has left
23:58:38
sponji
has joined
23:58:52
sponji
has left
23:59:05
sponji
has joined
23:59:21
sponji
has left
23:59:33
sponji
has joined
23:59:45