1、字符编码问题
- 问题复现
控制台报错:Failed to execute script k2j Traceback (most recent call last): File "kconfig_new\k2j.py", line 611, in <module> File "kconfig_new\k2j.py", line 216, in main File "kconfig_new\k2j.py", line 95, in replace UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 545: illegal multibyte sequence - 解决方案
将系统改成默认 utf8
2、.rtmenus 导致的问题
-
问题复现
RT-Thread Settings 界面报错Error retrieving output from the rttconfig server, caused by .rtmenus, please check the error log. -
解决方案
- 检查 RT-Thread-Studio 目录下是否存在 plugins\org.rt-thread.studio.kconfig.exec_1.0.6\exec\k2j.exe, 如果不存在,在此下载k2j.exe, 文件名重命名为 k2j.exe, 并复制到相应目录下
3、kcs 导致的问题
- 问题复现
RT-Thread Settings 界面报错Error retrieving output from the rttconfig server, caused by kcs.exe, please check the error log. - 解决方案(选择其一)
- 重启 RT-Thread Studio
- 将软件根目录下的 studio.ini 里的 -Dorg.rtthread.config.io.cache.time=20 中的20调大为50或80, 重启 RT-Thread Studio
- 检查 RT-Thread-Studio 目录下是否存在 plugins\org.rt-thread.studio.kconfig.exec_1.0.6\exec\kcs.exe, 如果不存在,在此下载kcs.exe, 文件名重命名为 kcs.exe, 并复制到相应目录下
原文:https://club.rt-thread.org/ask/article/2867.html
作者:ErikChan
604



被折叠的 条评论
为什么被折叠?



