首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >样式不会加载Ubuntu应用程序

样式不会加载Ubuntu应用程序
EN

Ask Ubuntu用户
提问于 2015-11-25 20:16:42
回答 1查看 223关注 0票数 0

我最近完成了Ubuntu15.10的新安装。但是,预装的webbrowser应用程序的外观已经损坏。我发现这种风格没有加载,但是我自己解决不了这个问题。这就是在启动webbrowser应用程序时终端中出现的内容(因为我的语言是波兰语,您可能会发现,"Brakępu“类似于英语”拒绝访问“/”拒绝许可“等等):

代码语言:javascript
复制
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Brak dostępu
file:///usr/share/webbrowser-app/webbrowser/Browser.qml:643:13: QML Button: Warning: Style ButtonStyle.qml not found in theme 
file:///usr/share/webbrowser-app/webbrowser/Suggestions.qml:85:5: QML Scrollbar: Warning: Style ScrollbarStyle.qml not found in theme 
file:///usr/share/webbrowser-app/webbrowser/AddressBar.qml:69:5: QML TextField: Warning: Style TextFieldStyle.qml not found in theme 
file:///usr/share/webbrowser-app/ChromeBase.qml:53:5: QML ThinProgressBar: Warning: Style ProgressBarStyle.qml not found in theme 
file:///usr/share/webbrowser-app/InvalidCertificateErrorSheet.qml:169:13: QML Button: Warning: Style ButtonStyle.qml not found in theme 
file:///usr/share/webbrowser-app/InvalidCertificateErrorSheet.qml:159:13: QML Button: Warning: Style ButtonStyle.qml not found in theme 
file:///usr/share/webbrowser-app/ErrorSheet.qml:52:9: QML Button: Warning: Style ButtonStyle.qml not found in theme 
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:108: TypeError: Cannot read property 'defaultFont' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:103: TypeError: Cannot read property 'defaultGradient' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:92: TypeError: Cannot read property 'defaultColor' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:108: TypeError: Cannot read property 'defaultFont' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:103: TypeError: Cannot read property 'defaultGradient' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:92: TypeError: Cannot read property 'defaultColor' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:108: TypeError: Cannot read property 'defaultFont' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:103: TypeError: Cannot read property 'defaultGradient' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/share/webbrowser-app/ChromeButton.qml:29: TypeError: Cannot read property 'selected' of null
file:///usr/share/webbrowser-app/ChromeButton.qml:29: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/TextField.qml:946: TypeError: Cannot read property 'normal' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/TextField.qml:987: TypeError: Cannot read property 'selectionColor' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/TextField.qml:986: TypeError: Cannot read property 'selectedTextColor' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/TextField.qml:841: TypeError: Cannot read property 'frameSpacing' of null
file:///usr/share/webbrowser-app/ChromeButton.qml:29: TypeError: Cannot read property 'selected' of null
file:///usr/share/webbrowser-app/ChromeButton.qml:29: TypeError: Cannot read property 'selected' of null
file:///usr/share/webbrowser-app/ChromeButton.qml:29: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:108: TypeError: Cannot read property 'defaultFont' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:103: TypeError: Cannot read property 'defaultGradient' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:92: TypeError: Cannot read property 'defaultColor' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/share/webbrowser-app/webbrowser/NewTabViewWide.qml:290:9: QML Sections: Warning: Style SectionsStyle.qml not found in theme 
file:///usr/share/webbrowser-app/webbrowser/NewTabViewWide.qml:276:5: QML Scrollbar: Warning: Style ScrollbarStyle.qml not found in theme 
file:///usr/share/webbrowser-app/webbrowser/NewTabViewWide.qml:232:5: QML Scrollbar: Warning: Style ScrollbarStyle.qml not found in theme 
file:///usr/share/webbrowser-app/webbrowser/NewTabViewWide.qml:136:5: QML Scrollbar: Warning: Style ScrollbarStyle.qml not found in theme 
qml: Loaded 3 UA override(s) from     file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Web/ua-overrides-desktop.js
[1125/210824:ERROR:connection.cc(1321)] Cookie sqlite error 14, errno -2: unable to open database file, sql: -- sqlite3_open()
[1125/210824:ERROR:connection.cc(1321)] Cookie sqlite error 14, errno -2: unable to open database file, sql: -- sqlite3_open()
[1125/210824:ERROR:simple_backend_impl.cc(129)] Failed to create directory: /home/mitu/.cache/webbrowser-app/Cache2
[1125/210824:ERROR:simple_backend_impl.cc(574)] Simple Cache Backend: wrong file structure on disk: /home/mitu/.cache/webbrowser-app/Cache2
[1125/210824:ERROR:cache_util.cc(132)] Unable to move cache folder /home/mitu/.cache/webbrowser-app/Cache2 to /home/mitu/.cache/webbrowser-app/old_Cache2_000
[1125/210824:ERROR:cache_creator.cc(132)] Unable to create cache
[1125/210824:ERROR:layer_tree_host_impl.cc(2121)] Forcing zero-copy tile initialization as worker context is missing
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/ListItems/1.3/Base.qml:173:5: QML ProgressionVisual: Warning: Style ProgressionVisualStyle.qml not found in theme 
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/ListItems/1.3/Empty.qml:294: TypeError: Cannot read property 'selected' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/ListItems/1.3/ThinDivider.qml:57: TypeError: Cannot read property 'normal' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Label.qml:58: TypeError: Cannot read property 'selected' of null
[1125/210825:ERROR:channel.cc(307)] RawChannel read error (connection broken)

有没有人遇到过这样的问题。我该怎么解决呢?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2015-12-21 09:23:36

好吧,我终于拿到了。不知何故,“~/..config/ubuntu toolkit”目录属于用户根和组根,因此应用程序无法读取要使用的主题。将此目录重新分配给我的用户应用程序后,将正常启动。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/702508

复制
相关文章

相似问题

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