首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在尝试启动板时修复“主题解析错误”?

如何在尝试启动板时修复“主题解析错误”?
EN

Ask Ubuntu用户
提问于 2020-11-24 21:44:02
回答 1查看 3.6K关注 0票数 0

伙计们,我需要帮助,因为每当我启动木板或使用"plank -d“时,它都会显示以下消息:

代码语言:javascript
复制
[DEBUG 16:40:00.291288] [GLib-GIO] _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
[DEBUG 16:40:00.315420] [GLib-GIO] _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’

(plank:26806): Gtk-WARNING **: 16:40:00.358: Theme parsing error: gtk.css:7188:40: Junk at end of value for background-color
[DEBUG 16:40:00.458059] [GLib] unsetenv() is not thread-safe and should not be used after threads are created
[INFO 16:40:00.459287] [AbstractMain:229] Plank version: 0.11.89
[INFO 16:40:00.459376] [AbstractMain:230] Kernel version: 5.4.0-54-generic
[INFO 16:40:00.459461] [AbstractMain:231] GLib version: 2.64.3 (2.61.2)
[INFO 16:40:00.459543] [AbstractMain:234] GTK+ version: 3.24.20 (3.24.10)
[INFO 16:40:00.459624] [AbstractMain:237] Wnck version: 3.32.0
[INFO 16:40:00.459718] [AbstractMain:238] Cairo version: 1.16.0
[INFO 16:40:00.459802] [AbstractMain:239] Pango version: 1.44.7
[INFO 16:40:00.459881] [AbstractMain:240] + Cairo/Gtk+ HiDPI support enabled
[INFO 16:40:00.459961] [AbstractMain:242] + Dynamic Quicklists support enabled
[INFO 16:40:00.460043] [AbstractMain:245] + XInput Barriers support enabled
[INFO 16:40:00.473907] [WindowControl:68] Window-manager: GNOME Shell
[DEBUG 16:40:00.476990] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-applications.so'
[INFO 16:40:00.477245] [DockletManager:107] Docklet 'applications' registered
[DEBUG 16:40:00.478689] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-battery.so'
[INFO 16:40:00.478884] [DockletManager:107] Docklet 'battery' registered
[DEBUG 16:40:00.480348] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-clippy.so'
[INFO 16:40:00.480556] [DockletManager:107] Docklet 'clippy' registered
[DEBUG 16:40:00.482074] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-clock.so'
[INFO 16:40:00.482263] [DockletManager:107] Docklet 'clock' registered
[DEBUG 16:40:00.483639] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-cpumonitor.so'
[INFO 16:40:00.483826] [DockletManager:107] Docklet 'cpumonitor' registered
[DEBUG 16:40:00.485239] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-desktop.so'
[INFO 16:40:00.485472] [DockletManager:107] Docklet 'desktop' registered
[DEBUG 16:40:00.486928] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-trash.so'
[INFO 16:40:00.487101] [DockletManager:107] Docklet 'trash' registered
[DEBUG 16:40:00.487218] [GLib] setenv()/putenv() are not thread-safe and should not be used after threads are created
[INFO 16:40:00.487428] [AbstractMain:299] Running with 1 docks ('dock1')
[DEBUG 16:40:00.487566] [DockController:80] Create dock 'dock1' (config_folder = /home/vincent/.config/plank/dock1)
[DEBUG 16:40:00.487643] [GLib] setenv()/putenv() are not thread-safe and should not be used after threads are created
[DEBUG 16:40:00.487871] [Settings:53] Bind 'PlankDockPreferences' to '/net/launchpad/plank/docks/dock1/'

(plank:26806): Gtk-WARNING **: 16:40:00.532: Theme parsing error: gtk.css:7188:40: Junk at end of value for background-color
[DEBUG 16:40:00.636355] [Preferences:349] Loading preferences from file '/home/vincent/.local/share/plank/themes/mcOS-BS-White-Stock/dock.theme'
[DEBUG 16:40:00.640129] [ItemFactory:176] Loading dock elements from '/home/vincent/.config/plank/dock1/launchers'
[DEBUG 16:40:00.641404] [Unity:164] Initializing LauncherEntry support
**
ERROR:arraylist.c:2644:gee_array_list_iterator_real_get: assertion failed: (_index >= 0)
Bail out! ERROR:arraylist.c:2644:gee_array_list_iterator_real_get: assertion failed: (_index >= 0)
Aborted (core dumped)

当我点击它的时候它就不会启动了。你们能帮帮我吗?

EN

回答 1

Ask Ubuntu用户

发布于 2020-12-08 20:40:04

(木板:26806):Gtk-警告**:16:40:00.532:主题解析错误: gtk.css:7188:40:背景颜色值末尾的垃圾

很容易修复。打开当前主题的gtk.css文件(可以在/usr/share/themes/yourTheme/gtk-3.0.themes目录的主目录(相同的子文件夹)中找到)。可能是分号不见了..。

但这不是失败的原因,因为GTK将恢复到其默认值。这似乎是罪魁祸首:

ERROR:arraylist.c:2644:gee_array_list_iterator_real_get:断言失败:

因为我自己在Debian上使用Plank,所以它似乎是一个不一致的库。

由于您没有提到您的桌面和/或Ubuntu版本,我无法再帮助您了。

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

https://askubuntu.com/questions/1295032

复制
相关文章

相似问题

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