O estilo não carrega para aplicativos do Ubuntu SDK

0

Eu realizei recentemente uma nova instalação do Ubuntu 15.10. No entanto, a aparência do aplicativo webbrowser pré-instalado está corrompida. Descobri que o estilo não está carregando, no entanto, não posso resolver esse problema sozinho. Isto é o que aparece no terminal ao iniciar o webbrowser-app (Como meu idioma é polonês, você pode achar útil, que o "Brak dostępu" é semelhante ao Inglês "Acesso negado" / "Permissão negada", etc):

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)

Alguém encontrou esses problemas. Como posso resolver isso?

    
por Mitu 25.11.2015 / 21:16

1 resposta

1

OK, consegui. De alguma forma, o diretório "~ / .config / ubuntu-ui-toolkit" pertencia à raiz do usuário e à raiz do grupo, portanto, os aplicativos não podiam ler qual tema usar. Depois de reatribuir este diretório aos meus aplicativos de usuário inicie corretamente.

    
por Mitu 21.12.2015 / 10:23