weechat-matrix icon indicating copy to clipboard operation
weechat-matrix copied to clipboard

python: unable to call function "info_get"

Open Strykar opened this issue 4 years ago • 2 comments

Other scripts load fine in Weechat / Arch x64:

02:18 script: 365 scripts for WeeChat 3.1
02:18 Plugins loaded: alias, buflist, charset, exec, fset, irc, logger, python, relay, script, spell, trigger

Autostarting matrix.py fails:

02:21 python: loading script "/home/strykar/weechat-greatest/python/matrix.py"
02:21 =!= python: unable to call function "info_get", script is not initialized (script: -)

However, /script load matrix.py by hand works"

02:21 python: registered script "matrix", version 0.2.0 (matrix chat plugin)
02:21 -- matrix: Connecting to matrix.org:443 (SSL)...

I can't understand why it's failing when called via (/set matrix.server.matrix_org.autoconnect on), what am I missing here?

Unsure if it's related but it also merges with the weechat buffer on start, which is fixed by /buffer unmerge inside the weechat buffer.

Strykar avatar Apr 28 '21 21:04 Strykar

Unsure if it's related but it also merges with the weechat buffer on start, which is fixed by /buffer unmerge inside the weechat buffer.

Check the option matrix.look.server_buffer.

trygveaa avatar Apr 28 '21 22:04 trygveaa

Check the option matrix.look.server_buffer.

Thanks, that was it for the buffer issue!

Strykar avatar Apr 30 '21 03:04 Strykar