Kilian / f.lux-indicator-applet

This repository is unmaintained. Visit:
https://github.com/xflux-gui/xflux-gui
Other
549 stars 105 forks source link

AttributeError: Fluxgui instance has no attribute 'xflux' #1

Closed mbudde closed 14 years ago

mbudde commented 14 years ago

I get this exception when I try to run fluxgui version 1.1.3-0ubuntu1 on Lucid:

/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py:133: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type GdkColor

  'gtk-icon-theme-name')
/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py:133: Warning: g_value_unset: assertion `G_IS_VALUE (value)' failed
  'gtk-icon-theme-name')
/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py:133: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type gint

  'gtk-icon-theme-name')
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py", line 352, in 
    app = Fluxgui()
  File "/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py", line 21, in __init__
    self.open_preferences("activate")
  File "/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py", line 73, in open_preferences
    self.get_colortemp()
  File "/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py", line 64, in get_colortemp
    self.xflux.sendline("c")
AttributeError: Fluxgui instance has no attribute 'xflux'

Someone also reported this in the comments to your blog post.

Kilian commented 14 years ago

Thank you for mentioning this, it's been fixed in version 1.1.4, out later today :)