about error for fluxgui and redshift

回复
头像
dxcqcv
帖子: 47
注册时间: 2009-05-31 17:54
送出感谢: 2 次
接收感谢: 0

about error for fluxgui and redshift

#1

帖子 dxcqcv » 2013-03-13 19:30

sorry I do not know how to install input on arch linux

the problem is

When I try to start fluxgui, It states: “fluxgui is already running, exiting”, and does not start.

if I sudo fluxgui, the error is



No protocol specified
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:155: GtkWarning: IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
appindicator.CATEGORY_APPLICATION_STATUS)
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:155: Warning: invalid (NULL) pointer instance
appindicator.CATEGORY_APPLICATION_STATUS)
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:155: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
appindicator.CATEGORY_APPLICATION_STATUS)
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:171: Warning: invalid (NULL) pointer instance
menu = gtk.Menu()
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:171: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
menu = gtk.Menu()
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:173: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.item_turn_off = gtk.MenuItem("_Pause f.lux")
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:173: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.item_turn_off = gtk.MenuItem("_Pause f.lux")
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:178: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.item_turn_on = gtk.MenuItem("_Unpause f.lux")
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:178: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.item_turn_on = gtk.MenuItem("_Unpause f.lux")
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:183: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
item = gtk.MenuItem("_Preferences")
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:183: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
item = gtk.MenuItem("_Preferences")
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:192: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
item = gtk.MenuItem("Quit")
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:192: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
item = gtk.MenuItem("Quit")
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:168: Warning: gsignal.c:2459: signal `child-added' is invalid for instance `0x29110b0'
self.indicator.set_menu(self.setup_menu())
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:168: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.indicator.set_menu(self.setup_menu())
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:168: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
self.indicator.set_menu(self.setup_menu())
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:168: Warning: invalid (NULL) pointer instance
self.indicator.set_menu(self.setup_menu())
/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py:168: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
self.indicator.set_menu(self.setup_menu())

(fluxgui.py:1867): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
/usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified
Autolaunch error: X11 initialization failed.

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py", line 381, in <module>
app = Fluxgui()
File "/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py", line 20, in __init__
self.settings = Settings(self)
File "/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py", line 292, in __init__
self.client.add_dir(self.prefs_key, gconf.CLIENT_PRELOAD_NONE)
glib.GError: No D-BUS daemon running
头像
dxcqcv
帖子: 47
注册时间: 2009-05-31 17:54
送出感谢: 2 次
接收感谢: 0

Re: about error for fluxgui and redshift

#2

帖子 dxcqcv » 2013-03-13 19:31

the redshift error is

** (process:1892): WARNING **: Unable to get connection to Geoclue bus.
/usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified
Autolaunch error: X11 initialization failed.


** (process:1892): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

(process:1892): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed
头像
mraandtux
论坛版主
帖子: 5108
注册时间: 2009-12-12 19:29
系统: Ubuntu + Windows 10
来自: 随便一个地方
送出感谢: 0
接收感谢: 161 次
联系:

Re: about error for fluxgui and redshift

#3

帖子 mraandtux » 2013-03-13 19:57

这里有云输入法。
或者:sudo pacman -Sy fcitx
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球
送出感谢: 7 次
接收感谢: 75 次

Re: about error for fluxgui and redshift

#4

帖子 adagio » 2013-03-13 20:25

sudo systemctl start dbus
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
dxcqcv
帖子: 47
注册时间: 2009-05-31 17:54
送出感谢: 2 次
接收感谢: 0

Re: about error for fluxgui and redshift

#5

帖子 dxcqcv » 2013-03-14 11:23

#sudo systemctl start dbus

#fluxgui

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py", line 381, in <module>
app = Fluxgui()
File "/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py", line 17, in __init__
self.indicator = Indicator(self)
File "/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py", line 149, in __init__
self.setup_indicator()
File "/usr/lib/python2.7/site-packages/fluxgui/fluxgui.py", line 162, in setup_indicator
'gtk-icon-theme-name')
ValueError: could not find setting
头像
dxcqcv
帖子: 47
注册时间: 2009-05-31 17:54
送出感谢: 2 次
接收感谢: 0

Re: about error for fluxgui and redshift

#6

帖子 dxcqcv » 2013-03-14 11:25

but I have already installed the python-3.3
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球
送出感谢: 7 次
接收感谢: 75 次

Re: about error for fluxgui and redshift

#7

帖子 adagio » 2013-03-14 21:24

嗯那啥,我一直怀疑你是不是连X都没启动起来啊,不然不可能连dbus都没有,你tty里运行的吧?
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
dxcqcv
帖子: 47
注册时间: 2009-05-31 17:54
送出感谢: 2 次
接收感谢: 0

Re: about error for fluxgui and redshift

#8

帖子 dxcqcv » 2013-03-15 12:58

我装了x和KDM,fluxgui需要的依赖软件也装了,如果直接从开始菜单里点击fluxgui的话,会一直跳啊跳,然后消失掉,再点击,还是跳啊跳又消失掉,从进程里看的话,是没有fluxgui的

我还特别装了下python2

我怀疑要么是kdm不好,要么是X11,我不太懂和X有区别吗?
回复

回到 “Arch发行版”