Cheese 无法启动:断言‘CHEESE_IS_CAMERA_DEVICE (设备)’失败

Cheese 无法启动:断言‘CHEESE_IS_CAMERA_DEVICE (设备)’失败

Cheese (photobooth) 以前在运行 Ubuntu 12.04 的 iMac 12,2 上可以正常打开,但现在无法从启动器或终端打开。我以为这可能是由于运行 WMII 导致的,但我登录到 unity 并从启动器和终端运行它,仍然没有成功。终端输出为:

Gtk-Message: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(cheese:21704): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:21704): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:21704): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:21704): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:21704): Gtk-WARNING **: Attempting to add a widget with type GtkGrid to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:21704): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:21704): Gtk-CRITICAL **: gtk_widget_set_no_show_all: assertion `GTK_IS_WIDGET (widget)' failed

(cheese:21704): Gtk-CRITICAL **: gtk_widget_show_all: assertion `GTK_IS_WIDGET (widget)' failed
libv4l2: error getting pixformat: Invalid argument

** (cheese:21704): CRITICAL **: cheese_camera_device_get_uuid: assertion `CHEESE_IS_CAMERA_DEVICE (device)' failed
Segmentation fault

这让我认为最后一行是导致它无法启动的原因,但我毫无头绪。我尝试使用“sudo apt-get --purge remove cheese”删除它,然后重新安装,但它仍然在启动时崩溃。网络摄像头仍然有效,因为当我使用“guvcview”时,网络摄像头显示正常。

答案1

不幸的是,看起来 Launchpad 上存在一个与此相关的错误,目前尚无解决方案。 https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/930128

我在 Ubuntu 论坛上看到了另一个关于此问题的帖子,但他们的解决方案几乎不是一个“解决方案”: http://ubuntuforums.org/showthread.php?t=1969336

答案2

偶尔我也会遇到同样的问题。通常是在运行桌面几周后。这肯定是一个错误,但是我重新插入 USB 摄像头后,一切都正常。重新启动也可以。

相关内容