Public bug reported:

Guake 0.5.0-2 was working fine on ubuntu 15.04 until yesterday when I
installed several common packages such as MySQL, virtualenv . Now, it
will only work when i open in a hackish way using two regular terminal
windows .

If I type guake in a terminal instance, it does nothing at all except
showing a spinning wheel. sudo guake on a single terminal produces
several messages as follows:

libglade-WARNING **: unknown attribute 'swapped' for <signal>.

Then, it hangs indefinitely on the following message:

WARNING **: Binding '<Primary>F12' failed!

However, if I leave it running and open another terminal window, sudo
guake immediately works and opens guake, except F12 is still not mapped
to anything (it, like other function keys, defaults to ~ in a terminal
window). Doing a regular guake call here also produces nothing.

I have been trying to debug this for two days and I was stumped, so I
upgraded to Guake 0.7 using the official github.

Now, it never opens. When I call sudo guake in a normal terminal, I get
the following error from Python:

  File "/usr/lib/python2.7/dist-packages/guake/guake_app.py", line 801, in 
is_using_unity
            if os.environ.get('XDG_CURRENT_DESKTOP').lower() == "unity".lower():

AttributeError: 'NoneType' object has no attribute 'lower'

Also, when I try to install and build directly from the guake-master
directory using ./dev.py --reinstall, I get the same error.

I believe the error is because the installer is using Python 3.4 to
install guake, and os.environ.get('XDG_CURRENT_DESKTOP') returns a
'NoneType' object in 3.4 but returns 'unity', as expected, in 2.7.

I am thoroughly confused on how to fix this. I am using Unity. What else
can I try? Can I force the installer to use Python 2.7?

** Affects: guake (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1485151

Title:
  Guake does not bind to F12, will not start correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/guake/+bug/1485151/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to