我们正在使用Erlang OTP 20和Elixir 1.5.2编译ejabberd 17.9。
当我们尝试使用mod_muc_admin删除使用history_size>的未使用的房间时,我们收到以下错误0:
:mod_muc_admin.rooms_unused_list("global", 1)
** (FunctionClauseError) no function clause matching in :calendar.datetime_to_gregorian_seconds/1
The following arguments were given to :calendar.datetime_to_gregorian_seconds/1:
# 1
{1513, 700515, 685388}
(stdlib) calendar.erl:137: :calendar.datetime_to_gregorian_seconds/1
我怀疑这与Erlang / Elixir版本有关,但我没有找到任何官方文档说明我们使用的版本有任何问题。
erlang源代码的文档说明:
https://github.com/processone/ejabberd
Erlang/OTP 17.5 or higher.
有什么想法吗?
致以最诚挚的问候,
答案 0 :(得分:0)
问题是由ejabberd中的错误引起的。
在提交中已更正: https://github.com/processone/ejabberd/commit/5e4c547856de6624e4012eb3bf