前言:在配置rabbitmq时,出现(ArgumentError) argument error错误
软件环境:
- erlang版本:9.3
- rabbitmqb版本 :3.7.5
- win10
Status of node rabbit@LAPTOP-V16N6D4E ...
** (ArgumentError) argument error
(stdlib) io_lib.erl:170: :io_lib.format(' * effective user\'s home directory: ~s~n', [[67, 58, 92, 85, 115, 101, 114, 115, 92, 37329, 20108, 33804]])
src/rabbit_misc.erl:668: :rabbit_misc."-format_many/1-lc$^0/1-0-"/1
src/rabbit_misc.erl:668: :rabbit_misc."-format_many/1-lc$^0/1-0-"/1
src/rabbit_misc.erl:668: :rabbit_misc.format_many/1
(rabbitmqctl) lib/rabbitmqctl.ex:349: RabbitMQCtl.get_node_diagnostics/1
(rabbitmqctl) lib/rabbitmqctl.ex:307: RabbitMQCtl.format_error/3
(rabbitmqctl) lib/rabbitmqctl.ex:43: RabbitMQCtl.main/1
(elixir) lib/kernel/cli.ex:105: anonymous fn/3 in Kernel.CLI.exec_fun/2
因为计算机的用户名是中文,需要把计算机的用户名改为英文用户名就可以完美解决这个问题
参考下面链接
Win10如何更改C:\Users\下的用户名