按照这页面的说明,我安装了Ubuntu并下载了教程源代码。
Opencli部件作用域构建正确,但我有一个运行时错误:
$ unity-scope-tool src/openclipart-scope.ini
scoperegistry: no remote registry configured, only local scopes will be available
RegistryObject::ScopeProcess::exec(): Process for scope: "openclipart-scope" started
file:///usr/share/unity8/Dash/DashContent.qml:100: TypeError: Cannot read property 'loaded' of null
file:///usr/share/unity8/ScopeTool.qml:77:31: Unable to assign [undefined] to scopes_ng::Scope*
file:///usr/share/unity8/ScopeTool.qml:149:23: Unable to assign null to QString
(unity-scope-tool:6243): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml:303: TypeError: Property 'select' of object QQuickRepeater(0x2711350) is not a function
file:///usr/share/unity8/Dash/DashContent.qml:100: TypeError: Cannot read property 'loaded' of null
Need to use QMirServerApplication
Segmentation fault (core dumped)有什么建议吗?
发布于 2014-08-03 11:01:40
由于Unity8(以及扩展的unity-scope-tool )的设计使得它们可以在Mir和X11下运行,因此依赖关系中存在一些模糊性。您得到的错误表明它正在尝试使用Mir后端。
您应该能够通过安装unity8-fake-env包来解决这个问题,它提供了在X下运行该工具所需的一些API:
sudo apt-get install unity8-fake-envhttps://askubuntu.com/questions/496200
复制相似问题