xflux-gui / fluxgui

Better lighting for Linux. Open source GUI for xflux
https://justgetflux.com/linux.html
Other
2.81k stars 174 forks source link

fluxgui applet closes before it's usable #93

Closed humblepi-ipelbmuh closed 5 years ago

humblepi-ipelbmuh commented 6 years ago

Hi, I'm a beginner running raspbian on a raspberry pi zero w.

Whenever I boot the pi, the flux applet starts, shows this message:

The f.lux indicator applet needs to know your latitude or zipcode to run. Please fill either of them in on the preferences screen and click 'Close'.

...when I close the message the applet shuts down. I investigated this issue by running this command in terminal:

fluxgui help

...that command brought these results:

/usr/local/lib/python2.7/dist-packages/fluxgui/fluxapp.py:71: Warning: /build/glib2.0-F5w919/glib2.0-2.50.3/./gobject/gsignal.c:2523: signal 'child-added' is invalid for instance '0x817118' of type 'GtkMenu' self.indicator.set_menu(self.create_menu()) [Errno 8] Exec format error Critical error. Exiting. Traceback (most recent call last): File "/usr/local/bin/fluxgui", line 20, in main() File "/usr/local/lib/python2.7/dist-packages/fluxgui/fluxapp.py", line 213, in main app = FluxGUI() File "/usr/local/lib/python2.7/dist-packages/fluxgui/fluxapp.py", line 28, in init self.exit(1) File "/usr/local/lib/python2.7/dist-packages/fluxgui/fluxapp.py", line 46, in exit gtk.main_quit() RuntimeError: called outside of a mainloop

Please help me resolve this issue. HP

pbojinov commented 6 years ago

Seeing the same issue as well. On Raspberry Pi 3 running Raspbian 9.1

molly78 commented 6 years ago

same on Ubuntu 16.04 on an Odroid XU4

kundaria commented 6 years ago

sudo fluxgui /usr/local/lib/python2.7/dist-packages/fluxgui/fluxapp.py:71: Warning: /build/glib2.0-OwjAJf/glib2.0-2.50.3/./gobject/gsignal.c:2523: signal 'child-added' is invalid for instance '0x80d900d8' of type 'GtkMenu' self.indicator.set_menu(self.create_menu()) [Errno 8] Exec format error Critical error. Exiting. Traceback (most recent call last): File "/usr/local/bin/fluxgui", line 20, in main() File "/usr/local/lib/python2.7/dist-packages/fluxgui/fluxapp.py", line 213, in main app = FluxGUI() File "/usr/local/lib/python2.7/dist-packages/fluxgui/fluxapp.py", line 28, in init self.exit(1) File "/usr/local/lib/python2.7/dist-packages/fluxgui/fluxapp.py", line 46, in exit gtk.main_quit() RuntimeError: called outside of a mainloop

Same issue on asus tinkerboard

rigg77 commented 6 years ago

Ditto. RasPi 3, Raspbian

dutchybeatz commented 6 years ago

same on raspberry p3

pocketsize-pi commented 6 years ago

I'm having the same issue, Raspberry Pi 3B, latest raspbian.

ntc2 commented 5 years ago

I just merged PR #112 which ports fluxgui to GTK+ 3. Please let me know if this issue persists with the new version.