CentOS 7: Close after "latitude or zipcode" popup
-
Hi guys,
I'm using CentOS 7 64bit and have installed f.lux like here described. I'm able to start f.lux. At the first start I'm asked to enter latitude and zipcode. When I confirm the dialog with ok the whole applet close. That prevent it from using the applet.
The syslog has shown the following lines:
Apr 17 14:31:02 NP730U3E-WLAN fluxgui.desktop: fluxgui is already running, exiting
Apr 17 14:31:02 NP730U3E-WLAN fluxgui.desktop: Exception AttributeError: AttributeError("'FluxGUI' object has no attribute 'xflux_controller'",) in <bound method FluxGUI.del of <main.FluxGUI object at 0x22a6a90>> ignored
Apr 17 14:31:07 NP730U3E-WLAN python: detected unhandled Python exception in '/usr/lib/python2.7/site-packages/fluxgui/fluxapp.py'
Apr 17 14:31:07 NP730U3E-WLAN abrt-server: Executable '/usr/lib/python2.7/site-packages/fluxgui/fluxapp.py' doesn't belong to any package and ProcessUnpackaged is set to 'no'
Apr 17 14:31:07 NP730U3E-WLAN abrt-server: 'post-create' on '/var/spool/abrt/Python-2016-04-17-14:31:07-23308' exited with 1
Apr 17 14:31:07 NP730U3E-WLAN abrt-server: Deleting problem directory '/var/spool/abrt/Python-2016-04-17-14:31:07-23308'
Apr 17 14:31:07 NP730U3E-WLAN fluxgui.desktop: Error: Please install xflux in the PATH
Apr 17 14:31:07 NP730U3E-WLAN fluxgui.desktop: Critical error. Exiting.
Apr 17 14:31:07 NP730U3E-WLAN fluxgui.desktop: Traceback (most recent call last):
Apr 17 14:31:07 NP730U3E-WLAN fluxgui.desktop: File "/usr/lib/python2.7/site-packages/fluxgui/fluxapp.py", line 270, in <module>
Apr 17 14:31:07 NP730U3E-WLAN fluxgui.desktop: app = FluxGUI()
Apr 17 14:31:07 NP730U3E-WLAN fluxgui.desktop: File "/usr/lib/python2.7/site-packages/fluxgui/fluxapp.py", line 30, in init
Apr 17 14:31:07 NP730U3E-WLAN fluxgui.desktop: self.exit(1)
Apr 17 14:31:07 NP730U3E-WLAN fluxgui.desktop: File "/usr/lib/python2.7/site-packages/fluxgui/fluxapp.py", line 49, in exit
Apr 17 14:31:07 NP730U3E-WLAN fluxgui.desktop: gtk.main_quit()
Apr 17 14:31:07 NP730U3E-WLAN fluxgui.desktop: RuntimeError: called outside of a mainloopThen I've made the following change:
sed -i 's/ProcessUnpackaged = no/ProcessUnpackaged = yes/' /etc/abrt/abrt-action-save-package-data.confNow the error mesasge is anotherone but the behaviour is the same.
Apr 17 14:33:14 NP730U3E-WLAN fluxgui.desktop: /usr/lib/python2.7/site-packages/fluxgui/fluxapp.py:100: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type GdkColor
Apr 17 14:33:14 NP730U3E-WLAN fluxgui.desktop: gtk.gdk.screen_get_default().get_setting('gtk-icon-theme-name')
Apr 17 14:33:14 NP730U3E-WLAN fluxgui.desktop: /usr/lib/python2.7/site-packages/fluxgui/fluxapp.py:100: Warning: g_value_unset: assertion 'G_IS_VALUE (value)' failed
Apr 17 14:33:14 NP730U3E-WLAN fluxgui.desktop: gtk.gdk.screen_get_default().get_setting('gtk-icon-theme-name')
Apr 17 14:33:14 NP730U3E-WLAN fluxgui.desktop: /usr/lib/python2.7/site-packages/fluxgui/fluxapp.py:100: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type gint
Apr 17 14:33:14 NP730U3E-WLAN fluxgui.desktop: gtk.gdk.screen_get_default().get_setting('gtk-icon-theme-name')
Apr 17 14:33:14 NP730U3E-WLAN fluxgui.desktop: /usr/lib/python2.7/site-packages/fluxgui/fluxapp.py:111: Warning: gsignal.c:2461: signal 'child-added' is invalid for instance '0x26c1220' of type 'GtkMenu'
Apr 17 14:33:14 NP730U3E-WLAN fluxgui.desktop: self.indicator.set_menu(self.create_menu())
Apr 17 14:33:16 NP730U3E-WLAN python: detected unhandled Python exception in '/usr/lib/python2.7/site-packages/fluxgui/fluxapp.py'
Apr 17 14:33:16 NP730U3E-WLAN abrt-server: Not saving repeating crash in '/usr/lib/python2.7/site-packages/fluxgui/fluxapp.py'
Apr 17 14:33:16 NP730U3E-WLAN fluxgui.desktop: Error: Please install xflux in the PATH
Apr 17 14:33:16 NP730U3E-WLAN fluxgui.desktop: Critical error. Exiting.
Apr 17 14:33:16 NP730U3E-WLAN fluxgui.desktop: Traceback (most recent call last):
Apr 17 14:33:16 NP730U3E-WLAN fluxgui.desktop: File "/usr/lib/python2.7/site-packages/fluxgui/fluxapp.py", line 270, in <module>
Apr 17 14:33:16 NP730U3E-WLAN fluxgui.desktop: app = FluxGUI()
Apr 17 14:33:16 NP730U3E-WLAN fluxgui.desktop: File "/usr/lib/python2.7/site-packages/fluxgui/fluxapp.py", line 30, in init
Apr 17 14:33:16 NP730U3E-WLAN fluxgui.desktop: self.exit(1)
Apr 17 14:33:16 NP730U3E-WLAN fluxgui.desktop: File "/usr/lib/python2.7/site-packages/fluxgui/fluxapp.py", line 49, in exit
Apr 17 14:33:16 NP730U3E-WLAN fluxgui.desktop: gtk.main_quit()
Apr 17 14:33:16 NP730U3E-WLAN fluxgui.desktop: RuntimeError: called outside of a mainloopBR Chris
-
@cscholz instead of using what looks like fluxgui to me, go through xflux: https://justgetflux.com/linux.html It's down at the bottom.
-
@Tungsten_smooth Thanks. After downloading and installing xflux to /usr/sbin/xflux everything works fine!