Closed binarytemple closed 7 years ago
Closed in riak_cs repo - guess the expectation is to work it here.
Another instance of this failure has been found when using a vm_args
section an advanced.config.
The configuration in use is,
[
{riak_core,
[
. . .
]},
. . .
{vm_args,
[
{"+sbt","nnt"}
]}
]
And results in,
escript: exception error: bad argument
in function atom_to_list/1
called as atom_to_list("+sbt")
in call from cuttlefish_effective:'-proplist_to_kvcpaths/2-fun-0-'/4 (src/cuttlefish_effective.erl, line 124)
in call from lists:foldl/3 (lists.erl, line 1248)
in call from cuttlefish_effective:'-proplist_to_kvcpaths/2-fun-0-'/4 (src/cuttlefish_effective.erl, line 125)
in call from lists:foldl/3 (lists.erl, line 1248)
in call from cuttlefish_effective:process_advanced/2 (src/cuttlefish_effective.erl, line 97)
in call from cuttlefish_effective:build/3 (src/cuttlefish_effective.erl, line 39)
in call from cuttlefish_escript:effective/1 (src/cuttlefish_escript.erl, line 124)
Created in Riak CS issue tracker but cross posting here in case it is more relevant to the cuttlefish team.
Basically, cuttlefish (or more specifically
riak config effective
) crashes when parsing the following configuration:The stack trace is: