!MESSAGE Could not resolve module:
问题描述
在启动 XMind 程序时,产生如下错误信息:
!SESSION 2020-12-09 19:38:27.612 ----------------------------------------------- eclipse.buildId=R3.7.9.201912052356 java.version=11.0.8 java.vendor=Debian BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -eclipse.keyring @user.home/.xmind/secure_storage_linux Command-line arguments: -os linux -ws gtk -arch x86_64 -data /opt/xmind/xmind-8u9/XMind_amd64/workspace -eclipse.keyring @user.home/.xmind/secure_storage_linux !ENTRY org.xmind.cathy 1 0 2020-12-09 19:38:30.223 !MESSAGE Skip unrecognized command line argument: '-eclipse.keyring' !ENTRY org.xmind.cathy 1 0 2020-12-09 19:38:30.224 !MESSAGE Skip unrecognized command line argument: '@user.home/.xmind/secure_storage_linux' !ENTRY org.eclipse.osgi.compatibility.state.nl_da 2 0 2020-12-09 19:38:30.327 !MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_da [840] Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state ...
问题原因
我们猜测是 Java 版本过新导致该问题。因为我们尝试更换 JDK 版本,问题得以解决。
解决方法
我们使用 XMind 8 Update 9 (R3.7.9.201912052356) 与 OpenJDK 8u73 版本,参考 Specifying the JVM 笔记。
Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle
问题描述
Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle
问题原因
配置文件 XMind.ini 中的属性值的路径不正确。
解决办法
如果是 x64 的 XMind,则修改 /opt/xmind/XMind_amd64/XMind.ini(把相对路径改成绝对路径)
如果是 x32 的 XMind,则修改 /opt/xmind/XMind_i386/XMind.ini(把相对路径改成绝对路径)
g_base64_encode_step: assertion ‘in != NULL’ failed
GLib-CRITICAL **: g_base64_encode_step: assertion ‘in != NULL’ failed problems in ubuntu
切换 Format 界面非常慢
问题描述
在 XMind(XMind 202101132117)中,当切换到 Format 界面时,非常慢。需要等待两秒左右才能切换过去。
问题原因
这是我们自己的原因,由于系统字体太多(3500+),导致字体下拉选加载时间非常长。(看样子是每次都会重新加载字体列表,而不是每次启动时仅加载一次)
解决方法
我们开始卸载在系统中的字体,使用如下命令:
for i in $(dpkg --get-selections | grep -E ^fonts- | awk '{print $1}') do apt-get purge $i done
注意,该脚本不会直接卸载所有字体,因为 apt-get 没有使用 -y 选项。因此,每次卸载字体包的时候都会提示进行确认。如果卸载某个字体包将同时卸载其他应用程序,可以选择 n 以取消卸载,然后继续进行下一个字体包的卸载。