我正在遵循创建 appimage 的教程,在构建应用程序并从 docker 内部运行 appimage-builder 后出现此错误。为什么它会记录“INFO:Generator:No desktop entries found”?我正在使用安装说明中的这个 docker “docker pull appimagecrafters/appimage-builder:latest”
root@08ac50810400:/qt-appimage-template# appimage-builder --generate INFO:Generator:Searching AppDir INFO:Generator:Searching desktop entries INFO:Generator:Reading desktop entry: AppDir/usr/share/applications/QtQuickControls2Application.desktop Basic信息 : ?ID [例如:com.example.app]:QtQuickControls2Application ?应用程序名称:SimpleQtApp?图标:QtQuickControls2Application?版本:最新?相对于 AppDir [usr/bin/app] 的可执行路径: usr/bin/qt-appimage-template ? 参数 [默认值:$@] : $@ ? 架构:amd64 INFO:Generator:Analysing application runtime dependencies INFO:Generator:Guessing APT configuration INFO:dpkg-query:/usr/bin/dpkg-query -S /usr/lib/x86_64-linux-gnu/libXrender.so.1 /usr/lib/x86_64-linux-gnu/libxcb-util.so.1 /usr/lib/x86_64-linux-gnu/libpng16.so.16 /usr/lib/x86_64-linux-gnu/libxcb-glx.so . 导入('pkg_resources').run_script('appimage-builder==0.7.2', 'appimage-builder') 文件“/usr/lib/python3/dist-packages/pkg_resources/ init .py”,第 658 行,在run_script self.require(requires)[0].run_script(script_name, ns) 文件“/usr/lib/python3/dist-packages/pkg_resources/ init .py”,第 1438 行,在 run_script exec(code, namespace, namespace)文件“/usr/local/lib/python3.6/dist-packages/appimage_builder-0.7.2-py3.6.egg/EGG-INFO/scripts/appimage-builder”,第18行,在 main ()文件“/ usr/local/lib/python3.6/dist-packages/appimage_builder-0.7.2-py3.6.egg/AppImageBuilder/ main .py”,第 52 行,在main generator.generate() 文件“/usr/local/lib/python3.6/dist-packages/appimage_builder-0.7.2-py3.6.egg/AppImageBuilder/generator/generator.py”,第 94 行,在打开时生成(appimage_builder_yml_template_path, 'r') as filedata: FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.6/dist-packages/appimage_builder-0.7.2-py3.6.egg/ AppImageBuilder/generator/templates/AppImageBuilder.yml.in'