标准人偶事实中的错误字符会导致错误

问题描述

我正在FreeBSD监狱中运行Puppet 6,并且在尝试运行代理时看到以下输出

root@services:/ # puppet agent --test
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Error: Failed to apply catalog: Could not render to json: partial character in source,but hit end

我认为,这是由于以下两个事实而导致的错误字符造成的:

root@services:/ # facter -p dmi.product
{
  name => "X9SCI/X9SCA�",serial_number => "0123456789�",uuid => "27902500-d2b0-0706-0025-9027b0d20e0f"
}

服务器和代理都在LANG=en_US.UTF-8上运行。

如何解决此问题?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)