Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2019 03:32:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236072] net-im/prosody: mod_slack_webhooks is broken
Message-ID:  <bug-236072-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236072

            Bug ID: 236072
           Summary: net-im/prosody: mod_slack_webhooks is broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: lx@FreeBSD.org
          Reporter: zhoutao@laocius.org
          Assignee: lx@FreeBSD.org
             Flags: maintainer-feedback?(lx@FreeBSD.org)

The slack_webhooks module is not working.
I am getting errors as below

Feb 27 14:10:18 http.server     error   Traceback[httpserver]:
...usr/local/lib/prosody-modules/mod_slack_webhooks.lua:17: attempt to index
local 'mod_muc' (a nil value)
stack traceback:
        ...usr/local/lib/prosody-modules/mod_slack_webhooks.lua:17: in func=
tion
'get_room_by_jid'
        ...usr/local/lib/prosody-modules/mod_slack_webhooks.lua:77: in func=
tion
<...usr/local/lib/prosody-modules/mod_slack_webhooks.lua:71>
        (tail call): ?
        /usr/local/lib/prosody/util/events.lua:79: in function
</usr/local/lib/prosody/util/events.lua:75>
        (tail call): ?
        (tail call): ?
        (tail call): ?
        /usr/local/lib/prosody/net/http/server.lua:248: in function
</usr/local/lib/prosody/net/http/server.lua:176>
        [C]: in function 'xpcall'
        /usr/local/lib/prosody/net/http/server.lua:108: in function
'process_next'
        /usr/local/lib/prosody/net/http/server.lua:124: in function
'success_cb'
        /usr/local/lib/prosody/net/http/parser.lua:177: in function 'feed'
        /usr/local/lib/prosody/net/http/server.lua:155: in function
</usr/local/lib/prosody/net/http/server.lua:154>
        (tail call): ?
        /usr/local/lib/prosody/net/server_select.lua:915: in function
</usr/local/lib/prosody/net/server_select.lua:899>
        [C]: in function 'xpcall'
        /usr/local/lib/prosody/../../bin/prosody:80: in function 'loop'
        /usr/local/lib/prosody/../../bin/prosody:90: in main chunk
        [C]: ?


I replaced usr/local/lib/prosody-modules/mod_slack_webhooks.lua with this o=
ne
https://hg.prosody.im/prosody-modules/file/tip/mod_slack_webhooks/mod_slack=
_webhooks.lua
, and it's working.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236072-7788>