首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法运行Unity8opencliPart作用域示例

无法运行Unity8opencliPart作用域示例
EN

Ask Ubuntu用户
提问于 2014-07-10 20:52:05
回答 1查看 297关注 0票数 1

按照页面的说明,我安装了Ubuntu并下载了教程源代码。

Opencli部件作用域构建正确,但我有一个运行时错误:

代码语言:javascript
复制
$ 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)

有什么建议吗?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2014-08-03 11:01:40

由于Unity8(以及扩展的unity-scope-tool )的设计使得它们可以在Mir和X11下运行,因此依赖关系中存在一些模糊性。您得到的错误表明它正在尝试使用Mir后端。

您应该能够通过安装unity8-fake-env包来解决这个问题,它提供了在X下运行该工具所需的一些API:

代码语言:javascript
复制
sudo apt-get install unity8-fake-env
票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/496200

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档