Coder Social home page Coder Social logo

Comments (10)

RomuloOliveira avatar RomuloOliveira commented on May 19, 2024 10

Same here. I fixed it removing the pidfile and running it again. Source: http://soledadpenades.com/2011/08/01/fix-the-fluxgui-is-already-running-exiting-error/

rm ~/.fluxgui.pid

from f.lux-indicator-applet.

yankelahiany avatar yankelahiany commented on May 19, 2024

I have the same error coming from nowhere, here is the complete return when I try to launch fluxgui from the terminal:

(fluxapp.py:7152): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(fluxapp.py:7152): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(fluxapp.py:7152): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(fluxapp.py:7152): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(fluxapp.py:7152): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Gtk-Message: Failed to load module "canberra-gtk-module"
fluxgui is already running, exiting
Exception AttributeError: AttributeError("'FluxGUI' object has no attribute 'xflux_controller'",) in method FluxGUI.del of <main.FluxGUI object at 0x7fed728d8f90>> ignored

As mentionned above, xflux is working good.

from f.lux-indicator-applet.

jontis avatar jontis commented on May 19, 2024

Same? error, flux was working fine for months, then stopped working.

starting fluxgui from console gives:
fluxgui is already running, exiting
Exception AttributeError: AttributeError("'FluxGUI' object has no attribute 'xflux_controller'",) in <bound method FluxGUI.del of <main.FluxGUI object at 0x7f8ab38ff2d0>> ignored

xflux seems to work.
flux.x86_64 1.0-2.fc22
Linux 4.1.6-201.fc22.x86_64
Fedora 22

from f.lux-indicator-applet.

arianmaykon avatar arianmaykon commented on May 19, 2024

Thanks @RomuloOliveira it helped me :)

from f.lux-indicator-applet.

jdemonasterio avatar jdemonasterio commented on May 19, 2024

Yep @RomuloOliveira that was it. Thanks

from f.lux-indicator-applet.

nrfulton avatar nrfulton commented on May 19, 2024

The correct behavior, I think, is printing out the message:

fluxgui is already running, exiting

and then exiting without modifying the PID file or showing additional (IMO distracting) information.

The AttributeError is currently shown as well because:

  • FluxGUI.init calls FluxGUI.check_pid() before defining self.xflux_controller
  • FluxGUI.check_pid() results in a call to FluxGUI.del
  • FluxGUI.del calls FluxGUI.exit, which assumes that xflux_controller is defined.

I have a hack in my fork that shows (only) the error message; see:

nrfulton@641c12d

Caveat emptor; not tested.

(Also, this is somehow related to Issue #49. I'm not sure if there's a fluxgui-specific problem here, or if this is just the usual thing that happens with pid files sometimes. I encounter this error every so often. I assume the PID file exists due to an improper system shutdown, flux is not running, and some other process now has the PID in the fluxgui PID file. I'm using /var/lock instead of ~ now to see if the problem goes away.)

(edit 1: concision & clarity.)
(edit 2: added note about /var/lock)

from f.lux-indicator-applet.

josephdviviano avatar josephdviviano commented on May 19, 2024

This is still an issue as of 8th Dec 2015.

from f.lux-indicator-applet.

quanengineering avatar quanengineering commented on May 19, 2024

thanks @RomuloOliveira, still an issue on Ubuntu Wily.

from f.lux-indicator-applet.

th0rgall avatar th0rgall commented on May 19, 2024

Thanks for the workaround @RomuloOliveira, still had this problem in an unofficial Ubuntu Xenial build.

from f.lux-indicator-applet.

ojacquemart avatar ojacquemart commented on May 19, 2024

Thanks @RomuloOliveira ! :)

from f.lux-indicator-applet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.