QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5415|回复: 6

nautilus的bonobo工厂错误

[复制链接]
发表于 2006-8-10 22:32:52 | 显示全部楼层 |阅读模式
在进行某些目录浏览之后, 重新启动nautilus, 经常会出现下面的错误:

由于在试图定位工厂时,遇到未预料到的 Bonobo 错误,现在无法使用 Nautilus。杀死 bonobo-activation-server 并重启动 Nautilus 可能会解决这个问题。

而且这个对话框根据目录中的文件或者目录个数多少有关系, 可以参考附带的截图来看到这个问题.
 楼主| 发表于 2006-8-11 13:49:39 | 显示全部楼层
居然没有人回复?
回复

使用道具 举报

发表于 2006-8-11 14:48:11 | 显示全部楼层
开发版估计没几个人在用

是不是因为dev要去除bonobo,转向dbus而造成的bug?
回复

使用道具 举报

 楼主| 发表于 2006-8-11 17:44:21 | 显示全部楼层
584         /* Get the shell object. */
585         if (message == NULL) {
586             shell = bonobo_activation_activate_from_id (SHELL_IID, 0, NULL, NULL);
587             if (!CORBA_Object_is_nil (shell, &ev)) {
588                 break;
589             }
590
591             /* If we couldn't find ourselves it's a bad problem so
592              * we better stop looping.
593              */
594             if (result == Bonobo_ACTIVATION_REG_SUCCESS) {
595                 break;
596                 /* FIXME bugzilla.gnome.org 42538: When can this happen? */
597                 /*message = _("A____Nautilus can't be used now, due to an unexpected error.");
598                 detailed_message = _("Nautilus can't be used now, due to an unexpected error "
599                              "from Bonobo when attempting to locate the factory."
600                              "Killing bonobo-activation-server and restarting Nautilus may help      fix the problem.");*/
601             } else {
602                 num_failures++;
603                 if (num_failures > 20) {
604                     message = _("Nautilus can't be used now, due to an unexpected error.");
605                     detailed_message = _("Nautilus can't be used now, due to an unexpected error      "
606                                  "from Bonobo when attempting to locate the shell object. "
607                                  "Killing bonobo-activation-server and restarting Nautilus may h     elp fix the problem.");
608
609                 }
610             }
就是这段代码出的问题, 我把result==Bonobo_ACTIVATION_REG_SUCCESS的那个消息注释了, 然后直接break, 现在就没有问题了.
回复

使用道具 举报

发表于 2006-8-11 17:45:40 | 显示全部楼层
我用的怎么好好的, 不过我是用cairo 一直编译上来的
回复

使用道具 举报

发表于 2006-8-12 16:33:14 | 显示全部楼层
[quote:2554cba803="younker"]居然没有人回复?[/quote]

无法判定你遇到的问题。   没啥好说的。
回复

使用道具 举报

发表于 2008-1-15 13:01:05 | 显示全部楼层
我也遇到了,事隔两年了,还没解决
ft
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-26 04:35 , Processed in 0.059879 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表